Re: [osg-users] transparent texture and linear filtering issue

2010-09-05 Thread Frederic Bouvier
Hi, - Vivien Delage vdel...@gmail.com a écrit : Hi, I have an issue with rendering transparent textures and activating linear filtering on them. I am using TRANSPARENT_BIN with DepthSortedBin. My textures are not semi transparent, they only have parts with either alpha 1 or with

Re: [osg-users] vsync false doesn't change frame rate

2010-09-05 Thread Tomas Starka
Hi, I have the same problem. I'm using win7 x64 with GeForce 9800 GTS. I've grabed the code from osgwindow example and added traits-vsync = false; It looks like this: Well I could'n post because: You must have 2 posts before you can post URL's/Links. And there was none. Aside from that I do

Re: [osg-users] vsync false doesn't change frame rate

2010-09-05 Thread Yurii Monakov
Hi Thomas. VSync could be switched on explicitly in the driver settings overriding any application setting. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] vsync false doesn't change frame rate

2010-09-05 Thread Tomas Starka
Thanks, but as I've wrote earlier: Driver change isn't an option. I believe, that OSG have some clean way to do this. I just can't figure it out. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31336#31336

Re: [osg-users] vsync false doesn't change frame rate

2010-09-05 Thread Frederic Bouvier
Le 05/09/2010 19:06, Tomas Starka a écrit : Thanks, but as I've wrote earlier: Driver change isn't an option. I believe, that OSG have some clean way to do this. I just can't figure it out. I don't think OSG is able to override driver settings. You have to switch it off in the user settings

Re: [osg-users] vsync false doesn't change frame rate

2010-09-05 Thread Tomas Starka
Well, my mistake, I didn't make myself clear. I , of course, have vsync set as Use application settings in drivers (nVidia Control Panel). It's by the way a default value. But I can't seem to make my application to disable vsync. In OGL I did it quite simply by wglSwapInterwalEXT, but since OSG

Re: [osg-users] vsync false doesn't change frame rate

2010-09-05 Thread Ulrich Hertlein
Hi Tomas, On 6/09/10 3:27 , Tomas Starka wrote: Well, my mistake, I didn't make myself clear. I , of course, have vsync set as Use application settings in drivers (nVidia Control Panel). It's by the way a default value. But I can't seem to make my application to disable vsync. In OGL I did

Re: [osg-users] Getting the List of Triangles from an osg model

2010-09-05 Thread Sanat Talmaki
Hi Jean, Nick, Paul Thanks for all your suggestions thus far. I was able to extract the triangles and after using the nodeVisitor as suggested by Jean, it is much easier than using a for loop as the code is generic using a visitor. My problem is that I am collecting triangles from a complex

Re: [osg-users] Getting the List of Triangles from an osg model

2010-09-05 Thread Tom Pearce
Hi Sanat, When you find geometry (triangles) with your node visitor, apply the accumulated transform that you traversed to the triangles. NodeVisitors have a NodeList, which you can use with osg::ComputeLocalToWorld (I think) to get the accumulated matrix you need. Then each triangle will be