Official Murl Engine Forum
Feature Request: Provide two additional attributes for the GenericGeometry node ... - Printable Version

+- Official Murl Engine Forum (http://murlengine.com/forum)
+-- Forum: Murl Engine (http://murlengine.com/forum/forumdisplay.php?fid=5)
+--- Forum: General (http://murlengine.com/forum/forumdisplay.php?fid=8)
+--- Thread: Feature Request: Provide two additional attributes for the GenericGeometry node ... (/showthread.php?tid=35)



Feature Request: Provide two additional attributes for the GenericGeometry node ... - Stefan - 13 Jul 2013

... to be able to define the vertex buffer and index buffer values in the XML scenegraph. Example:

<GenericGeometry hasCoord="yes" primitiveType="TRIANGLES"
maxNumberOfIndices="6" maxNumberOfVertices="4"
vertexBufferValues="-1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 1.0f, -1.0f, -1.0f, 0.0f, 1.0f, -1.0f, 1.0f"
indexBufferValues="0, 1, 2, 3, 2, 1"/>