Hi "I presume your name is something other than IceSkark"

On Mon, Mar 24, 2008 at 9:19 AM, IceSharK <[EMAIL PROTECTED]> wrote:
> Hi~ All
>
> when using osg::Vec3 , smoothingVisitor.smooth( *geometry ); goes well.
>
> when using osg::Vec3d , smoothingVisitor.smooth( *geometry ); can not work.

The OSG is primarily geared around osg::Vec3 for vertex data, as is
OpenGL.  Support for Vec3d is only a recent addition to osg::Geometry,
so utilities that operate on geometries haven't all be added.  I don't
expect all features to be extended either, as Vec3d usage in
osg::Geometry is something that I'd only recommend for data
conversion, and not for general scene graph work as its just so
inefficient for doing any rendering work.

Now if you want to go ahead and add Vec3d support SmoothingVisitor feel free.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to