Re: [osg-users] osg Node kits

2008-06-13 Thread Peter Wraae Marino
Hi Paul, That's basically what it states in that link I supplied. words like derives new Nodes would make me think I would have to derive from something else than osg:Node?? and you mentioned link the NodeKit library? which library? is in the osg project or another repositorary¨? When I look at

Re: [osg-users] Crash in osgViewerWX

2008-06-13 Thread Paul Melis
Hi, Assuming I understand you correctly you added something like this to class GraphicsWindowWX: void setViewer(osgViewer::Viewer *v) { _viewer = v; } void setView() { _viewer-getCamera()-setViewMatrixAsLookAt(

Re: [osg-users] New Improved DatabasePager, now with even more threading! Please take a taste today :-)

2008-06-13 Thread Serge Lages
Hi James, I tried to look to this problem but can't find anything, moreover it seems to work without problems in release (I'll try to make some stress tests soon to be sure). On Fri, Jun 13, 2008 at 1:02 AM, Lynch, James [EMAIL PROTECTED] wrote: I'm having a similar issue with

Re: [osg-users] Crash in osgViewerWX

2008-06-13 Thread Paul Melis
Paul Melis wrote: I don't think there's an easy way out for this one, as wxWidgets uses a different memory management strategy than OSG. Even removing the GraphicsWindowWX as child of the main frame just before exit forces destruction. IMHO GraphicsWindowWX shouldn't inherit from both a

Re: [osg-users] osg Node kits

2008-06-13 Thread Gordon Tomlinson
HI Peter Its really is as simple as Paul says, a Node Kit simply extends a basic OSG node to do a specialised task not support directly by the core node types, just as an osg::Group derives from osg::node and to provide a method to group one or more nodes , while a osg::Transform provides a

[osg-users] Implementing OcclusionQueryNode?

2008-06-13 Thread Todd J. Furlong
I was excited to try the OcclusionQueryNode feature in OSG 2.4, but I can't seem to get it to work how I was expecting it to. I have tried using such a node as the root node of my scenegraph and as a parent to models that I load (IVE files mostly, of varying complexity). If I enable

[osg-users] Bug in regarding uniform values?

2008-06-13 Thread Christian Heine
Hello, in the last few day's i posted in the Issue on sharing shaders between objects thread, that i've trouble in sharing shaders and unfiorms. If i create two shaders (dot3) and two objects i got the same shader result on each object. Now i figured out, that the failure occurs if i use

Re: [osg-users] CMake and OSX

2008-06-13 Thread Jean-Sébastien Guay
Hi Eric, I'm using this change (I'm using the latest svn) but it doesn't fix the problem on OSX. I added a conditional around line 349 that checks the version of cmake in use and that seems to solve the problem for me. I'm attaching my CMakeLists.txt to this message if anyone wants to try it

Re: [osg-users] New versions of OSG and configuring CMake

2008-06-13 Thread Jean-Sébastien Guay
Hi Sherman and Luigi, cmake -DWIN32_USE_MP=ON -DGDAL_INCLUDE_DIR:PATH=%rootdir%\3rdparty\gdal\include -DGDAL_LIBRARY:PATH=%rootdir%\3rdparty\gdal\lib\gdal_i.lib -DCURL_LIBRARY_DEBUG:PATH=%rootdir%\3rdparty\curl\lib\debug\curllib.lib

[osg-users] BUG of osgviewerFOX example, How to fix it?

2008-06-13 Thread SodaWater
Hi everyone hi Robert, At first, I am sorry for my poor english. I find that there is a BUG of the osgviewerFOX example in the 2.4.0 version, and I don't know how to fix it. When I run the example, everything goes well except I press the Minimize button. After the application is minimized, I

[osg-users] osgviewerWX example: problem closing application

2008-06-13 Thread Cysneros, Nelson SPAWAR
I'm trying to integrate my application with wxWidgets. I have the osgviewerWX example working. When I create a wxLogWindow to provide a console equivalent, the log window works, but the application doesn't close properly (get a wxWidgets assert when closing the main frame). Existing code:

Re: [osg-users] [Depth Buffer rendering]

2008-06-13 Thread Mathieu Schoutteten
Hi Wojtek, it works ! thanks a lot for your precious answear. For those who will be interrested, i'll post later the complete source code with corrections. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] osgviewerWX example: problem closing application

2008-06-13 Thread Paul Melis
Cysneros, Nelson SPAWAR wrote: I'm trying to integrate my application with wxWidgets. I have the osgviewerWX example working. When I create a wxLogWindow to provide a console equivalent, the log window works, but the application doesn't close properly (get a wxWidgets assert when closing the

[osg-users] Reference Pointers

2008-06-13 Thread Tuan Do
I see references to Reference Pointers all through the OSG source, but what are Reference pointers? What are the differences between Reference Pointer of OSG and normal Pointer of C++ ? I'm newbie and don't know many reference books about OSG. Thank you! -- ЯicKy

Re: [osg-users] Reference Pointers

2008-06-13 Thread Paul Melis
Tuan Do wrote: I see references to Reference Pointers all through the OSG source, but what are Reference pointers? What are the differences between Reference Pointer of OSG and normal Pointer of C++ ? I'm newbie and don't know many reference books about OSG. Thank you!

[osg-users] SVN Trunk compile error on databasepager

2008-06-13 Thread Serge Lages
Hi Robert, it seems you missed to commit the new DatabasePager include file, the current DatabasePager.cpp file use types not declared into the include file (ReadQueue). Here is the compile error : 1DatabasePager.cpp 1.\DatabasePager.cpp(243) : error C3083: 'ReadQueue': the symbol to the left of

Re: [osg-users] osgviewerWX example: problem closing application

2008-06-13 Thread Paul Melis
Paul Melis wrote: Cysneros, Nelson SPAWAR wrote: I'm trying to integrate my application with wxWidgets. I have the osgviewerWX example working. When I create a wxLogWindow to provide a console equivalent, the log window works, but the application doesn't close properly (get a wxWidgets

[osg-users] osgfadetext crashes

2008-06-13 Thread Mario Valle
On Linux Suse 10.3 (32 bits) the latest SVN checkout compiled with RelWithDbgSymbols. osgfadetext crashes shortly after the window appears. The crash happens also when run single threaded. Next week I'll try to understand what happens. Ciao! mario $ gdb osgfadetext GNU gdb

Re: [osg-users] [Depth Buffer rendering]

2008-06-13 Thread Mathieu Schoutteten
In fact i've got a new problem (perhaps it's normal), the transformations applied with texgen are not take into account when i use my shader. Do you have any idea of how to proceed ? I attach a screen capture of my problem. Thanks On Fri, Jun 13, 2008 at 4:53 PM, Mathieu Schoutteten [EMAIL

Re: [osg-users] Reference Pointers

2008-06-13 Thread Paul Martz
Download the free Quick Start Guide PDF and read the section on ref ptrs. I don't know your nationality, but the book is available in a Chinese translation, if that helps. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tuan Do Sent: Friday, June 13, 2008

[osg-users] OcclusionQueryNode Multiple Contexts

2008-06-13 Thread Todd J. Furlong
My OSG App renders to two screens (:0.0 :0.1) of Linux system. If I use an OcclusionQueryNode as my root, it crashes in this configuration. First I get these messages: Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid

[osg-users] dynamic data and VBOs

2008-06-13 Thread Paul Martz
Hi -- a question came up in the Denver class regarding dynamic data in VBOs, and I had to admit I encountered this as well, and needed a solution. Here's the issue... If I enable VBOs in a Geometry, and dynamically modify the data each frame, the buffer object doesn't update unless I explicitly

Re: [osg-users] [Depth Buffer rendering]

2008-06-13 Thread Wojciech Lewandowski
Hi Mathieu, Good ;-). Regarding your question, I am no sure what can be an issue now. Maybe if I saw your shader it could be simpler ;-) I will try to guess then. If you use vertex shader then you need to replicate texgen computations. Once again I recommend Emulating OpenGL functionality

Re: [osg-users] Implementing OcclusionQueryNode?

2008-06-13 Thread Eduard Trulls
El 13/06/2008, a las 15:15, Todd J. Furlong escribió: So, where have I gone wrong? Do I need to inset OcclusionQueryNodes manually lower in my scenegraph? That is correct. See the osgocclusionquery example. Regards, E. ___ osg-users mailing list

[osg-users] Problem loading plugins

2008-06-13 Thread gael
Hello, Here is what the DEBUG log says when I try to load a 3DS file: DynamicLibrary::failed loading osgPlugins-2.4.0/osgdb_3ds.dll Warning: Could not find plugin to read objects from file .\minotaur.3ds. It is the same message with the other plugins... Thanks in advance for your any help!

Re: [osg-users] Problem loading plugins

2008-06-13 Thread Paul Martz
It could be that you have multiple versions of OSG installed on your system, and your runtime is different from what you linked with. Many people experience problems loading plugins, and this is discussed fairly often. Have you checked the archives for the past few weeks? -Paul