[osg-users] osggeometryshaders example question

tianzjyh tianzjyh at 126.com
Tue Sep 12 18:13:22 PDT 2017


Hi, 
    Beside setting node's bound with setInitialBound(), you can call node's setCullActive() with parameter "false" to disable the culling behavior by node's size, especially for geometry with only one point.


--

Cheers, 
TianZJ



At 2017-09-12 23:12:45, "Mike Greene" <mgreene at hiwaay.net> wrote:
>Hi,
>
>In reference to the osggeometryshaders example, I have a question about a seeming problem when only passing one point to the geometry shader: 
> ...
>Nothing shows up. But if I do two, three or more points, every thing works fine. It seems a minimum of two points in the DrawArrays array is required?
>Read this topic online here:
>http://forum.openscenegraph.org/viewtopic.php?p=71697#71697
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170913/f5efe605/attachment.htm>


More information about the osg-users mailing list