On Fri, 2006-07-14 at 10:51 +0100, Tiago Coelho wrote:
> 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




-------------------------------------------------------------------------
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

Reply via email to