Re: [osg-users] OSG 2.1.10 windows refresh / performance

2007-09-16 Thread Gert van Maren
Hi Robert, updating itself. Under windows do you have to give the window manager a kick (i.e. send it an event) each time you close a window? This is something Windows developers will need to answer code a solution. We tried to refresh via SendMessage() but no joy. Will keep investigating.

Re: [osg-users] Need a non-const NodeVisitor -- again

2007-09-16 Thread Robert Osfield
Hi Paul, All I can say is welcome to C++ :-) Occasionally one has to cast away constness for the sake of convinience and to avoid duplicating many code blocks that otherwise would have to have both const and non const versions. When you cast away constness you are effectively taking the law in

[osg-users] FBO question

2007-09-16 Thread Igor Naigovzin
Hello to all! I have a simple question. I want to render a two cameras (two different render surfaces) by exactly the same scene. But the two cameras are with different sizes. I.e. the two cameras has to show me the same picture, but not the same size. 1. I'm using CameraNode and frame buffer

[osg-users] Addition and Subtraction

2007-09-16 Thread Renan Mendes
Hello, there. I have searched tutorials and the reference guide, but I couldn't find anything on addition and subtraction of shapes, if there is such a thing. My problem is to render a shape missing its intersection with another one. In another words: a box with a hole. How do I do this? Thanks,

Re: [osg-users] Addition and Subtraction

2007-09-16 Thread Renan Mendes
Oh, that's a shame. Thanks anyway... But how would you do that? Is there any OpenGL primitive appropriate for this kind of rendering? Anywhere I can read about it? Thanks again, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Addition and Subtraction

2007-09-16 Thread Robert Osfield
On 9/16/07, Renan Mendes [EMAIL PROTECTED] wrote: Oh, that's a shame. Thanks anyway... But how would you do that? Is there any OpenGL primitive appropriate for this kind of rendering? Anywhere I can read about it? There is no OpenGL primitive to support what you are after. The closest you

Re: [osg-users] Addition and Subtraction

2007-09-16 Thread Renan Mendes
I'll check into that. Thanks, both of you. Renan M Z Mendes ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Sharing statesets across files

2007-09-16 Thread Paul Martz
OSG's OpenFlight loader supports this. A parent flt file contains texture and material palettes, which, when loaded into OSG, become arrays of StateSets with texture and material values. If the parent model then uses external reference records, and specifies that the parent palettes override child

Re: [osg-users] Sharing statesets across files

2007-09-16 Thread Zach Deedler
Hi Matt, SharedStateManager is what you want. I didn't have luck improving performance with it, but you can check it out. I believe the DatabasePager shares the states when data is paged in if the SharedStateManager exists. (I don't think it is initialized by default). You have to call:

Re: [osg-users] Sharing statesets across files

2007-09-16 Thread Zach Deedler
Looks like you may also want to call this: osgDB::Registry::instance()-getOrCreateSharedStateManager()-setShareMode(S HARE_TEXTURES | SHARE_STATESETS); since SHARE_TEXTURES is the default. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Franklin Sent: Sunday,

[osg-users] depth buffer - real pixel z - depth

2007-09-16 Thread zarrandreas
Hi, I render depth buffer to the image, but values I have there are between [0.0, 1.0]. How can I get real z-depth? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] probs running OSG on non-dev system?

2007-09-16 Thread Hartmut Seichter
The redistributable package should reside: %ProgramFiles%\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86 for x86 ... more details here:

[osg-users] Object Array

2007-09-16 Thread Carlos Nava
Hi, I need to declare arrays of various types of objects, like transformations and groups, can you help me? Carlos - ¡Sé un mejor ambientalista! Encuentra consejos para cuidar el lugar donde vivimos en:

[osg-users] Convertion to osg::Image from IplImage (OpenCV) for use as texture

2007-09-16 Thread John Steinbis
Hi, I'm trying to convert an IplImage (OpenCV) type to osg::Image type for use as a texture within OSG. My conversion routine attempts to utilize setImage(...) of image class. It crashes and I havent been able to track down the problem. Does anyone have experience with a conversion like this or

Re: [osg-users] probs running OSG on non-dev system?

2007-09-16 Thread Mike Weiblen
Hi, ok that was a good idea. I double-checked, and yes my runtime libs were from the VS8 SP1. The weird thing is, now I can not get it to fail again?! It was late, maybe I dreamed it? :-S thanks for the suggestion -- mew On 9/14/07, Serge Lages [EMAIL PROTECTED] wrote: On 9/14/07, Mike