LAIG
Daniel Silva
Fábio Gaspar
LAIG
Daniel Silva
Fábio Gaspar
diffuse white
The parser expects a single child node for each type scale
, rotate
and translate
, however the specification only says there must be at least one transformation instruction and doesn't set any limit or order.
Also, consider making the transformation parser flexible to parse inline transformations from components/component/transformation
.
scene
@Dannypsviews
@fabiodrg666
perspective
(leave this one for latter)ortho
ambient
@fabiodrg666lights
@fabiodrg666
omni
spot
(later)textures
materials
transformations
primitives
@fabiodrg666components
Several warnings saying elements are out of order. The scene still renders, which I think is not supposed
When the texture id is:
none
, the attributes length*
are not required, thus don't show any warninginherit
, the attributes are also optional. If omitted, used the same texture lengths as the parentsFor some reason the rectangle is grey (default colors) and doesn't reflect any light coming from the light source. The rectangle is on plane Oxy, therefore I set the normals for each vertice as (0,0,1), but this is probably wrong.
I never worked with this kind of files, so @Dannyps this one is for you!
I have used some online XML validation tools. The syntax is OK now (related with #2), but the validators report several errors related with inner elements (and probably others, around 60 erros). For example our ambient tag is as below:
<ambient>
<ambient r="0.5" g="0.5" b="0.5" a="1" />
<background r="0.5" g="0" b="0" a="1" />
</ambient>
The validator says The content of element type "ambient" must match "(ambient|background)?".
. Perhaps the way to tell that valid child elements must be ambient
and background
tags is not correct?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.