0a5ed26940
osg::Geometry class, and removed the temporary IndexedGeometry. Port the rest of the OSG across to account for the change in method calls - osg::Geometry::addPrimitive(..) becomes osg::addPrimitiveSet(..) |
||
---|---|---|
.. | ||
atrfloat.h | ||
atrstring.h | ||
atrvec3list.h | ||
atrvec.h | ||
attribute.h | ||
coordinate3.h | ||
COPYING | ||
geometry.h | ||
indexedfaceset.h | ||
indexedtristripset.h | ||
ltstr.h | ||
Makefile | ||
Makefile.orig | ||
material.h | ||
matrixtransform.h | ||
mynode.h | ||
mynodevisitor.h | ||
nodecache.cpp | ||
nodecache.h | ||
normals.cpp | ||
normals.h | ||
osgvisitor.cpp | ||
osgvisitor.h | ||
parser.cpp | ||
parser.hpp | ||
parser.y | ||
readerwriter.cpp | ||
readerwriter.h | ||
README | ||
scanner.cpp | ||
scanner.l | ||
separator.h | ||
texture2.h | ||
texturecoordinate.h | ||
transform.h |
This shared library can load both VRML1.0 and Inventor (they are practically the same, only changes the header). Features: * Polygonal geometry (IndexedFaceSet) * Materials * Transformations * External Textures (no inline ones) * Doesn't crash when unknown nodes or attributes are found, only ignores them. To-Do: * Use the new Geometry node of osg 0.9.0 that has support of vertex arrays * Use the front face attribute (clockwise/counterclockwise) * Implement more nodes. Maybe the cone, sphere, etc could be implemented with a fixed number of polygons, always the same, or maybe as a LOD node, that uses more or less polys depending on the distance to the camera. Ruben lopez <ryu@gpul.org>