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

2007-09-16 Thread Olaf Flebbe
Hi, > > Thanks for the suggestion, but now my problem wont repro, so I guess > that isn't the problem. > > But a further question, are manifests relevant to native win32 binaries, > or windows managed assemblies? If the former, then that including of a > manifest better be captured the cmake

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

2007-09-16 Thread Mike Weiblen
Hi, Thanks for the suggestion, but now my problem wont repro, so I guess that isn't the problem. But a further question, are manifests relevant to native win32 binaries, or windows managed assemblies? If the former, then that including of a manifest better be captured the cmake build process som

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

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

[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: http://mx.yahoo.com/promos/mejorambientalista.ht

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: http://blogs.msdn.com/astebner/archive/2007/01/24/updated-vc-8-0-runtime-redistributable-packages-are-included-in-visual-studio-2005-sp

[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] 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,

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

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 chil

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

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 http:/

Re: [osg-users] Addition and Subtraction

2007-09-16 Thread Robert Osfield
HI Ranan, The OSG doesn't have an support for doing what you after. The OSG is a primarily real-time graphics library, not a geometric shape library. Robert. On 9/16/07, Renan Mendes <[EMAIL PROTECTED]> wrote: > Hello, there. > > I have searched tutorials and the reference guide, but I couldn'

[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] Sharing statesets across files

2007-09-16 Thread Robert Osfield
Hi Matt, I'm afraid there isn't a mechanism for sharing objects between separate .osg or .ive files, only between one file. I can certainly imagine ways of implementing such a scheme - something like a shared resource file that all the files refer to. This will require mods to .osg and .ive plug

Re: [osg-users] Dos, Don'ts and DOH's of Drawables with threading?

2007-09-16 Thread Adam Coates
Cool - I'll give the update a shot. Thanks for your help, AC On 9/16/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > HI Adam, > > I would recommend updating to the SVN version of the OSG. I have > removed the use of the DeleteHandler replacing it with use of > ref_ptr<> in the osgUtil rendering

[osg-users] Sharing statesets across files

2007-09-16 Thread Matt Franklin
Is there a way of including a proxy stateset node or referencing a stateset stored in another file? I am trying to split up a single model into smaller pagable chunks. However, my original model makes significant use of shared statesets to maximise reuse of textures. When I break up my model each l

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

[osg-users] Multipass problems

2007-09-16 Thread [EMAIL PROTECTED]
Hello, in the osg examples there are several examples of how to use RTT. I would like to concatenate several renderings. I mean, render the scene to texture1, then use texture1 to create texture2, then use texture1 & texture2 to create texture3 and so on. I don't understand how to control the o

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 y

Re: [osg-users] Dos, Don'ts and DOH's of Drawables with threading?

2007-09-16 Thread Robert Osfield
HI Adam, I would recommend updating to the SVN version of the OSG. I have removed the use of the DeleteHandler replacing it with use of ref_ptr<> in the osgUtil rendering backend. Performance wise this results in a small hit on cull performance, but does make the clean up my cleaner. If you are

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 investigati