Re: [osg-users] How can I use glHint() in OSG 1.2?

2007-12-20 Thread Robert Osfield
On Dec 20, 2007 3:02 AM, litingbaotou [EMAIL PROTECTED] wrote:



  Hi Litingbaotou,

  On Dec 19, 2007 9:25 AM, litingbaotou [EMAIL PROTECTED] wrote:
   I would like to use glHint() to smooth lines and polygons in my scene.
 Not
   like in OSG 2.0, ghHint is not a StateAttribute in OSG1.2, and I have no
   idea how to use it. I also tried MultiSample, but it doesn't help. May I
   have your answers? Thanks.

  There is no glHint support in 1.2, so you'll either have to add the
  osg::Hint StateAttribute from 2.x back into 1.2, or just upgrade...
 Thanks a lot. That means if I want to enable antialiasing I have to add the
 osg::Hint StateAttribute from 2.x back into 1.2, right?

Is that not what I suggested?

Personally I'd port to 2.x, there are lots of other things fixed
besides the addition of Hit support.  Is there a reason why you can't
upgrade?

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] How can I use glHint() in OSG 1.2?

2007-12-19 Thread Robert Osfield
Hi Litingbaotou,

On Dec 19, 2007 9:25 AM, litingbaotou [EMAIL PROTECTED] wrote:
 I would like to use glHint() to smooth lines and polygons in my scene. Not
 like in OSG 2.0, ghHint is not a StateAttribute in OSG1.2, and I have no
 idea how to use it. I also tried MultiSample, but it doesn't help. May I
 have your answers? Thanks.

There is no glHint support in 1.2, so you'll either have to add the
osg::Hint StateAttribute from 2.x back into 1.2, or just upgrade...

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] How can I use glHint() in OSG 1.2?

2007-12-19 Thread litingbaotou
 Hi Litingbaotou,

 On Dec 19, 2007 9:25 AM, litingbaotou [EMAIL PROTECTED] wrote:
  I would like to use glHint() to smooth lines and polygons in my scene. Not
  like in OSG 2.0, ghHint is not a StateAttribute in OSG1.2, and I have no
  idea how to use it. I also tried MultiSample, but it doesn't help. May I
  have your answers? Thanks.

 There is no glHint support in 1.2, so you'll either have to add the
 osg::Hint StateAttribute from 2.x back into 1.2, or just upgrade...

 Robert.


Hi, Robert

Thanks a lot. That means if I want to enable antialiasing I have to add the 
osg::Hint StateAttribute from 2.x back into 1.2, right?



litingbaotou
2007-12-20
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org