Hi Keyan,

On 11/14/2011 01:19 AM, Keyan wrote:
> Hi Carsten,
>
> this works like a charm, but is there a way to set the line width for the 
> trace?

sure. That is part of the Material system, which handles all the non-geometry 
OpenGL state. You need to create a LineChunk, set the width on it and add it to 
the material of your lines. Check out Examples/Simple/materialsort.cpp for some 
examples that add chunks to Materials.

Hope it helps

        Dirk

-- 
Dirk Reiners                                            m...@dirkreiners.com

"God must really love stupid people. Why else would he make so many of them?"
                                                          Walter Rothschild

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to