Hi Zhen, hi Robert,

You are right Zhen, osgCuda::Geometry always creates vertex buffers <br> and/or 
element buffers. CUDA can only handle this kind of OpenGL geometry. <br> 
However, osgCuda does not introduce any new operation to the implementation 
<br> of osg::Geometry in case you use it in the rendering process only.

It maybe synchronizes memory in a cuda operation in case you write<br> into a 
geometry's memory from the CPU (e.g. if you have called map() <br> with 
osgCompute::MAP_HOST_TARGET).  Otherwise there is no overhead <br>introduced by 
osgCuda.

I agree with Robert. Maybe you should check your primitive count.

Best regards,
Jens

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42255#42255





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

Reply via email to