Re: [osg-users] Segfault in VTP, but looks like OSG: SOLVED

2008-11-10 Thread Ben Discoe
Thanks Robert, for include/osg/Config. Starting with OSG 2.6, the VTP can now check OSG_USE_FLOAT_MATRIX to detect whether OSG was built with float matrices or not. That makes it easy to handle both cases, so the user doesn't need it built one way or the other. It is not so surprising that

Re: [osg-users] NodeKit integration in OpenSceneGraph-2.x series

2008-11-10 Thread Robert Osfield
Hi Jan, On Sun, Nov 9, 2008 at 7:03 PM, Jan Ciger [EMAIL PROTECTED] wrote: Just a parenthesis - I gave quite a bit of feedback to Cedric about this. I think that there are some design issues that need to be addressed first, before it even reaches basic feature parity with existing code in

[osg-users] Getting a Camera to Render Only Once.

2008-11-10 Thread Kim C Bale
I've created a custom switch inherited from osg::Group that is designed to control a series of RTT cameras which only need to render to texture once at varying times. So I achieve this by modifying the traverse method. I check for a CullVisitor, then if a child state is set to render a single

Re: [osg-users] camera postion problem

2008-11-10 Thread Wiebe Hoekstra
I have used the follow node tutorial to get the track the node. http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/CameraControlNodeFollowing This seems to be working fine. But a look at the wrong site off the ship. Therefore i have changed the getInverseMatrix() to the

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-10 Thread J.P. Delport
Hi, Robert Osfield wrote: Hi J.P, On Mon, Nov 10, 2008 at 6:56 AM, J.P. Delport [EMAIL PROTECTED] wrote: if anyone has some spare time, please execute the attached test app under Linux. I am still unsure if our problems are related to NVidia driver, Linux distribution, ... I haven't had a

Re: [osg-users] camera postion problem

2008-11-10 Thread Robert Osfield
Hi Wiebe, I'm afraid your email lacks enough information to be able to comment. You have to start by explaining how you are trying to track the node in the scene, and how this relates to how you are managing mouse movements. Robert. On Mon, Nov 10, 2008 at 12:53 PM, Wiebe Hoekstra [EMAIL

Re: [osg-users] GL Books

2008-11-10 Thread Robert Osfield
Hi Can, OpenGL Distilled, OpenGL Shading Language and OpenGL Reference Manual (blue book) are all on my shelf. Paul Martz gave me the OpenGL Distilled as gift, and while it's a bit too introductory for me it is a great intro for those coming to OpenGL for the first time. Robert.

Re: [osg-users] controlling swap

2008-11-10 Thread Robert Osfield
Hi Ed, I wrote about this exact topic a couple of weeks back, so go have look through the archives on this discussion. The short story is that I moving between the two is not difficult, and I'd start with the easier of the two viewers's - osgViewer::Viewer but learn a bit about CompisteViewer

[osg-users] GL Books

2008-11-10 Thread Can T. Oguz
Hi, As an intermediate openGL and OSG user I'm just about to order an openGL book. Is there any favorite one in your bookshelf to advice me? Thanks for reading, P.S. Please let me state that there's no intention of advertising any author's book before the discussion cheers up :) Can

Re: [osg-users] Need explanation about a strange behaviour with RenderBin

2008-11-10 Thread Robert Osfield
HI Sekender, The colour array is required when you have the glColorMaterial enabled, this is driven by osg::Material::setColorMode(), or when lighting is disabled. Have a read of OpenGL docs of the affect of materials, color material and colour arrays on geometries and OpenGL lighting. As this

Re: [osg-users] camera postion problem

2008-11-10 Thread Robert Osfield
Hi Wiebe, Only you know what the right position is for your app. This is once you have the model matrix that the codes provide is all boils down basic a vector maths question, it's not my role to teach you this, there are plenty of books that do this. Robert. On Mon, Nov 10, 2008 at 1:43 PM,

Re: [osg-users] Need explanation about a strange behaviour with RenderBin

2008-11-10 Thread Sukender
Hi Robert, Thanks for the openGL explanation. Well, I already checked for the normals (I didn't know for the Material/ColorArray, but I knew for this!)... And they're ok (Lighting is on). Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Mon, 10 Nov 2008

Re: [osg-users] GL Books

2008-11-10 Thread Peter Wraae Marino
Hi, I would recommend the red-book and opengl super-bible. the blue book is a reference book and most of the information in it is available on the net. Peter On Mon, Nov 10, 2008 at 1:13 PM, Can T. Oguz [EMAIL PROTECTED] wrote: Hi, As an intermediate openGL and OSG user I'm just about to

[osg-users] Using slave cameras for composite rendering (part II)

2008-11-10 Thread Peter Wraae Marino
Hi users, I have create a little test code here: http://www.osghelp.com/downloads/SlaveCameras.txt basically I add two slave games the application runs and the view is doing what I expect but I get the following messags: The interface is unknown. A null context handle was passed from the client

[osg-users] GraphicsContext

2008-11-10 Thread Peter Wraae Marino
Hi users, In our attempt to make a composite view using slave camera.. we have had some succes but also failure. Biggest problem is getting the render order of the cameras to work. We tried adding them in the correct order, but we needed to use the removeSlave (which seems to be broken) Now we

Re: [osg-users] need to port an application from OSG v1.2 (OSG::Producer based) to OSG 2.0 (OsgViewer based)

2008-11-10 Thread Eric Sokolowsky
Jean-Sébastien Guay wrote: Hi Eric, hiding the mouse pointer is not supported osgViewer::GraphicsWindow::useCursor(false) should do that... Though you're on Mac so perhaps GraphicsWindowCarbon doesn't work properly? J-S Hey, thanks! I guess I should have looked more carefully. -Eric

Re: [osg-users] osgCairo and osgPango on Windows : some progress

2008-11-10 Thread Jeremy Moles
On Mon, 2008-11-10 at 00:23 -0500, Jean-Sébastien Guay wrote: Hi Jeremy, I'm working on packing up my changes for osgCairo and osgPango now. Will send soon. I've finished my first pass of changes to make osgCairo and osgPango build and run on Windows. The result is attached to this

Re: [osg-users] controlling swap

2008-11-10 Thread Ed
I think the discussion you refer to was initiated by my question then too. I am not sure how this question ended up in this email... I was copying and pasting and something went wrong, but the subject line indicates what the topic was meant to be. I have resubmitted the correct question.

Re: [osg-users] osgCairo and osgPango on Windows : some progress

2008-11-10 Thread Jean-Sébastien Guay
Hi Jeremy, So, are you able to notice any difference in font quality under Windows? Versus what, normal osgText? Or the osgfont example? I'll check that out when I get home tonight (unless you've already merged my changes? :-) ) Each glyph should be sharp and crisp, with absolutely not

[osg-users] Controlling swap (Not the question about View vs. Composite View)

2008-11-10 Thread Ed
In the Viewer examples I have seen, it appears that the rendering is initiated by calling viewer.run(). In my code I am implementing hardware based synchronization amonst multiple renderers and I need to control the render or draw, as well as the swap. How do I get this control? Do I use

Re: [osg-users] Need explanation about a strange behaviour with RenderBin

2008-11-10 Thread Robert Osfield
On Mon, Nov 10, 2008 at 10:06 AM, Sukender [EMAIL PROTECTED] wrote: Thanks for the openGL explanation. Well, I already checked for the normals (I didn't know for the Material/ColorArray, but I knew for this!)... And they're ok (Lighting is on). Are you able to export an .osg or .ive file that

Re: [osg-users] NodeKit integration in OpenSceneGraph-2.x series

2008-11-10 Thread Wang Rui
Hi Robert, I agree that a new library should be added carefully, or it will become a burden for developers and users. I plan to devide the modeling library into several parts: basic modelers (extrusions, revolutions), parametric curves and surfaces (Bezier and NURBS), polygon technologies

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-10 Thread Alberto Luaces
Hi JP, I always get the same errors (92 80) during execution (see below). My system is Linux 2.6.26-1-amd64 GeForce 7600 GS, driver 173.14.12 256 MB Got an X11ErrorHandling call display=0x114f600 event=0x7fff4f229750 BadWindow (invalid Window parameter) Major opcode: 92 Minor opcode: 4 Error

Re: [osg-users] NodeKit integration in OpenSceneGraph-2.x series

2008-11-10 Thread Sukender
Hi Sukender, On Mon, Nov 10, 2008 at 11:06 AM, Sukender [EMAIL PROTECTED] wrote: I agree that dependencies are generally a burden when compiling OSG (thanks to those who maintain 3rd party libs!). And I won't suggest intagration of huge libs anymore! But do you think some users could be

Re: [osg-users] X3D content

2008-11-10 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ami guru wrote: Does OSG has any support node to load X3D content? Try to look in the archives, this was discussed before. I believe the OpenVRML loader will load some of it, but I didn't try it. OpenVRML library provides the parsing, so you need to

Re: [osg-users] NodeKit integration in OpenSceneGraph-2.x series

2008-11-10 Thread Robert Osfield
Hi Sukender, On Mon, Nov 10, 2008 at 11:06 AM, Sukender [EMAIL PROTECTED] wrote: I agree that dependencies are generally a burden when compiling OSG (thanks to those who maintain 3rd party libs!). And I won't suggest intagration of huge libs anymore! But do you think some users could be

[osg-users] Which data to test osgvolume?

2008-11-10 Thread Mario Valle
Which kind of data file do I need to test osgvolume? Is it possible to distribute a small example with OSG-Data? Thanks a lot! mario -- Ing. Mario Valle Data Analysis Group | http://www.cscs.ch/~mvalle Swiss National Supercomputing Centre (CSCS)

[osg-users] Animation (was: Re: NodeKit integration in OpenSceneGraph-2.x series)

2008-11-10 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Eric, Erik den Dekker wrote: Jan, I followed your comments to Cedric and above with interest. You made several important remarks to ensure that osgAnimation will properly support character animation / skeletal animation. However, I wonder

Re: [osg-users] Controlling swap (Not the question about View vs. Composite View)

2008-11-10 Thread Robert Osfield
Hi Ed, The examples are written to be focus primarily on the feature they demonstrate so a rather minimal in terms of viewer code, viewer.run() being a helper function that wraps up the whole rendering. Have a look at the implementation of run() and you'll find essentially: if

Re: [osg-users] NodeKit integration in OpenSceneGraph-2.x series

2008-11-10 Thread Sukender
Hi Robert, Hi Sukender, On Mon, Nov 10, 2008 at 9:56 AM, Sukender [EMAIL PROTECTED] wrote: ** About utilities: I coded some little features that could be integreated into OSG, but I have one problem: these are often specific and very small (not enough to create a nodekit). So what? May I

Re: [osg-users] Segfault in VTP, but looks like OSG: SOLVED

2008-11-10 Thread Paul Speed
Ben Discoe wrote: Thanks Robert, for include/osg/Config. Starting with OSG 2.6, the VTP can now check OSG_USE_FLOAT_MATRIX to detect whether OSG was built with float matrices or not. That makes it easy to handle both cases, so the user doesn't need it built one way or the other. It is

Re: [osg-users] Animation

2008-11-10 Thread Paul Speed
From the peanut gallery (since I'm watching this with great interest)... If this new node kit is only going to handle skeleton-based animation then maybe osgAnimation is not the best name. -Paul Jan Ciger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Eric, Erik den Dekker wrote:

Re: [osg-users] NodeKit integration in OpenSceneGraph-2.x series

2008-11-10 Thread Sukender
Hi Robert, hi everyone, I agree with your vision and think that this will push OSG to more power and popularity. Grouping, refactoring and factorizing are always great ideas - even if that would require a lot of work from the whole community. About physics: I want to say something, but I

[osg-users] X3D content

2008-11-10 Thread ami guru
Does OSG has any support node to load X3D content? Sajjad ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Segfault in VTP, but looks like OSG: SOLVED

2008-11-10 Thread Robert Osfield
Hi Ben, On Mon, Nov 10, 2008 at 8:11 AM, Ben Discoe [EMAIL PROTECTED] wrote: Thanks Robert, for include/osg/Config. Starting with OSG 2.6, the VTP can now check OSG_USE_FLOAT_MATRIX to detect whether OSG was built with float matrices or not. That makes it easy to handle both cases, so the

Re: [osg-users] GL Books

2008-11-10 Thread Can T. Oguz
Thank you Peter, I think it will be super-bible and plus something more. Can 2008/11/10 Peter Wraae Marino [EMAIL PROTECTED] Hi, I would recommend the red-book and opengl super-bible. the blue book is a reference book and most of the information in it is available on the net. Peter

[osg-users] camera postion problem

2008-11-10 Thread Wiebe Hoekstra
Hi users, I try to track a node in a scene. This scene is a area with a ship. The node i try to follow is the ship. All seems oke but the complete scene seems to be mirrored. Even the mousse movents in x direction are inverse. Wiebe ing. Wiebe Hoekstra Software Engineer Maritime Simulation

Re: [osg-users] NodeKit integration in OpenSceneGraph-2.x series

2008-11-10 Thread Robert Osfield
Hi Wang Rui, I was wondering about mentioning modelling functionality in my email, but held back as it's potentially a huge and complex topic in itself. I certainly open to nurbs support in the core OSG, hard stuff are items like computing accurate intersections between nurbs. The same goes for

Re: [osg-users] A patch to enable making hardware extensions disabled in Texture.cpp

2008-11-10 Thread Robert Osfield
HI Tat, Could you post the whole modified file to osg-submissions I can then review it their alongside the rest of the code submissions. Thanks, Robert. On Sun, Nov 9, 2008 at 5:38 PM, Tatsuhiro Nishioka [EMAIL PROTECTED] wrote: Hi there, I received some crash reports on FlightGear/OSG from

Re: [osg-users] GL Books

2008-11-10 Thread Can T. Oguz
Never been to SGI's manuals before. Thanks, Can 2008/11/10 Tomlinson, Gordon [EMAIL PROTECTED] Pauk Martz's OpenGl Distilled Red Book Orange Book Opengl Bible As to OSG there are minimal books arounds but see www.osgbooks.com As a general guide to scene graphs I still recommend SGI's

[osg-users] Using slave cameras for composite rendering

2008-11-10 Thread Peter Wraae Marino
Hi users, I have create a little test code here: http://www.osghelp.com/downloads/SlaveCameras.txt basically I add two slave games the application runs and the view is doing what I expect but I get the following messags: The interface is unknown. A null context handle was passed from the

[osg-users] osgPPU vs RTT

2008-11-10 Thread Patrick Castonguay
Art, From what I can understand, it uses cameras, views and viewports. I believe mostly from the osgSDLView, but it also uses xlsignal? to pass the pointers around (this should be transparent and I am hoping that a simple casting will do the trick). The way MPV works at the hi level is that a

[osg-users] osgPPU vs RTT-more

2008-11-10 Thread Patrick Castonguay
Art, As well looking into how the camera is handled, I could not find anywhere that uses osg::Camera, all of the camera references are using osg::Matrix which I am not sure how this behaves... Cheers ___ osg-users mailing list

Re: [osg-users] NodeKit integration in OpenSceneGraph-2.x series

2008-11-10 Thread Robert Osfield
Hi Sukender, On Mon, Nov 10, 2008 at 9:56 AM, Sukender [EMAIL PROTECTED] wrote: ** About utilities: I coded some little features that could be integreated into OSG, but I have one problem: these are often specific and very small (not enough to create a nodekit). So what? May I suggest them

Re: [osg-users] camera postion problem

2008-11-10 Thread Robert Osfield
Hi Wiebe, I'm afraid I'm not familiar with this particular tutorial code so answer a question on it would have learn it first, which puts me one step behind where you are already. The osgGA library has a similar class call NodeTrackerManipulator which might not server your purpose exactly might

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-10 Thread Robert Osfield
Hi J.P, On Mon, Nov 10, 2008 at 6:56 AM, J.P. Delport [EMAIL PROTECTED] wrote: if anyone has some spare time, please execute the attached test app under Linux. I am still unsure if our problems are related to NVidia driver, Linux distribution, ... I haven't had a chance to test but I will

Re: [osg-users] Which data to test osgvolume? (+one question)

2008-11-10 Thread Mario Valle
Answering my own question: It is sufficient a stack of images. But how do you set the interslice distance? --zScale and --zMultiplier do nothing and my pollen seems an hamburger... Thanks! mario Mario Valle wrote: Which kind of data file do I need to test osgvolume? Is it possible

[osg-users] osgPPU vs RTT

2008-11-10 Thread Patrick Castonguay
Art, From what I can understand, it uses cameras, views and viewports. I believe mostly from the osgSDLView, but it also uses xlsignal? to pass the pointers around. The way MPV works at the hi level is that a single window is defined (per process). This window makes use a a viewer which

Re: [osg-users] GL Books

2008-11-10 Thread Tomlinson, Gordon
Pauk Martz's OpenGl Distilled Red Book Orange Book Opengl Bible As to OSG there are minimal books arounds but see www.osgbooks.com As a general guide to scene graphs I still recommend SGI's Performer Programmers Guide http://www.sgi.com/products/software/performer/manuals.html 99% concepts

Re: [osg-users] Animation

2008-11-10 Thread Robert Osfield
H Paul, On Mon, Nov 10, 2008 at 5:54 PM, Paul Speed [EMAIL PROTECTED] wrote: From the peanut gallery (since I'm watching this with great interest)... If this new node kit is only going to handle skeleton-based animation then maybe osgAnimation is not the best name. That is nothing better

Re: [osg-users] GL Books

2008-11-10 Thread Paul Martz
I appreciate the OSG community plugging my OpenGL Distilled whenever this subject comes up. Thanks! Bob Kuehne, also in the OSG community, co-authored the recently-released OpenGL on Mac OSX. I was a technical reviewer for that book, and as a recent Mac convert, I can state that it contains

Re: [osg-users] Animation

2008-11-10 Thread Paul Speed
Robert Osfield wrote: H Paul, On Mon, Nov 10, 2008 at 5:54 PM, Paul Speed [EMAIL PROTECTED] wrote: From the peanut gallery (since I'm watching this with great interest)... If this new node kit is only going to handle skeleton-based animation then maybe osgAnimation is not the best name.

Re: [osg-users] osgPPU vs RTT

2008-11-10 Thread Art Tevs
Hi Patrick, osgPPU does use the camera only in to get its texture (so the texture to which the scene is rendered). You do not require a camera at all, you can use UnitTexture to provide osgPPU pipeline with any texture (or with the texture you get from MPV). To provide a texture you need some

Re: [osg-users] GL Books (UNCLASSIFIED)

2008-11-10 Thread Buckley, Bob CTR MDA/IC
Classification: UNCLASSIFIED Caveats: NONE Also at the Scene Graph level I'd recommend 'Realtime Rendering' by Haines and Moeller. I highly recommend it's companion webpage for reference material: http://www.realtimerendering.com/ -Original Message- From: [EMAIL PROTECTED]

[osg-users] Exception invalid lock sequence thrown from OSG App

2008-11-10 Thread Brian Stewart
I have an application that is built against OpenSceneGraph (2.6.1). The application initializes and begins to run, but then I get the following exception attempt was made to execute an invalid lock sequence in OpenGL32.dll. When I re-run it, I sometimes get this exception, and sometimes an

[osg-users] osgVR - anyone using this NodeKit?

2008-11-10 Thread Paul Pocock
Is anyone using Michael Gronager's old nodekit? IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and

Re: [osg-users] osgCairo and osgPango on Windows : some progress

2008-11-10 Thread Jean-Sébastien Guay
Hi Jeremy, So, are you able to notice any difference in font quality under Windows? Each glyph should be sharp and crisp, with absolutely not visual anomalies of any sort. This is harder to do than you might think, so it was always the most important (and the reason for writing the kit in the

[osg-users] OSG and OpenGL ES?

2008-11-10 Thread Hartmut Seichter
Hi there, last time I asked nobody answered, so I try my luck again: is there anybody working on an OpenGL ES port? Robert, you hinted in an email earlier somebody works on a port - has there been anything substantial been created? I am just not interested reinventing the wheel ... Cheers,

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-10 Thread J.P. Delport
Hi Alberto, thanks for the testing, it does seem that the problem is more general than my specific Linux setup. jp Alberto Luaces wrote: Hi JP, I always get the same errors (92 80) during execution (see below). My system is Linux 2.6.26-1-amd64 GeForce 7600 GS, driver 173.14.12 256 MB

[osg-users] Runtime error in ODE tutorial

2008-11-10 Thread Filip R. Andersson
Hi all, I downloaded the ODE tutorial from the following page: http://www.openscenegraph.org/projects/osg/attachment/wiki/Support/Tutorials/LMBs_ODE_Demo.zip The code uses OSGProducer and since I don't have Producer or OSGProducer installed on my machine I made some minor changes in the code to