[x3d-public] FloatVertexAttribute ordering

Andreas Plesch andreasplesch at gmail.com
Tue Jan 12 13:06:22 PST 2016


FloatVertexAttribute ordering is expected to follow coordinate ordering:

http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shaders.html#Pervertexattributes

http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shaders.html#FloatVertexAttribute

But there was some confusion if indices when provided are used instead:

https://github.com/x3dom/x3dom/issues/596

This would not make much sense but I had to read the spec. a couple of
times.
Should the relevant sentence in the spec.:

"Per vertex attributes are mapped 1:1 to each vertex value."

be more explicit ?
Perhaps:

"Per vertex attributes are mapped 1:1 to vertex coordinates."

-Andreas

-- 
Andreas Plesch
39 Barbara Rd.
Waltham, MA 02453
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160112/93cc757d/attachment.html>


More information about the x3d-public mailing list