> Hi,
> I have a shader that i use to render splats. I'm using a geometry node
> with GL_POINTS primitives and normals, i added a SHLChunk and aplyed
> the material.
> It all goes fine when i run my app in a glutWindow, but i need it to
> run in a MultiDiplayWindow, so the
> glEnable( GL_VERTEX_PROGRAM_POINT_SIZE_ARB ); won't work.
> I need to be able to change the point size in the vertex shader, so
> can anyone show me how to enable GL_VERTEX_PROGRAM_POINT_SIZE_ARB
> through OPENSG state handling?
shlchunk->setPointSize(true);
Hope it helps
Dirk
Thanks Dirk, i tried that, but it won't even compile ( error C2039: 'setPointSize' : is not a member of 'osg::SHLChunk' )
It should be something similar to that but i can't find the way to do it right :S
--
_________________________________
Pedro Tiago Cruz Coelho
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
