Re: [osg-users] VRML plug-in

2009-10-21 Thread J.P. Delport
Hi Jan, Jan Ciger wrote: J.P. Delport jpdelp...@csir.co.za wrote: You could also install VirtualBox + Ubuntu + OSG + VRML plugin and then do the conversion straight to .osg. Or just keep a Linux box around for conversion. I think that is quite an overkill. Compiling the VRML plugin even on

Re: [osg-users] Convert osg::Image to a PNG in memory

2009-10-21 Thread J.P. Delport
Hi Adam, see attached. jp Adam Weiss wrote: Hi, I'm trying to convert an osg::Image to a PNG file in memory (byte array). I know I could write it to a file, then read it back in, but I was hoping for a more direct route. The goal is to then have another library read in the byte array

Re: [osg-users] instanced geometry - per instance data

2009-10-21 Thread Sergey Polischuk
Hi, Thx for reply, i'll probably stick with uniform arrays for now. Thank you! Cheers, Sergey -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18466#18466 ___ osg-users mailing list

[osg-users] OsgViewer terminates while running o n an integrated video “via/s36 UniCrome Pro IGP ”

2009-10-21 Thread Maxim Gammer
Hello! I wonder if anyone has an idea about what’s wrong with the following… OsgViewer terminates while running on an integrated video “via/s36 UniCrome Pro IGP” OSG 2.8.2 Windows XP SP3. Driver update didn’t help. If I uninstall the videodriver at all, then it runs in software mode, but very

[osg-users] Hardware acceleration for videos

2009-10-21 Thread Serge Lages
Hi all, Anyone knows if one of the OSG plugins for reading videos takes advantage of the GPU to read it ? I've seen some documentation that Quicktime support hardware decompression of H.264 videos, do you know if it's enabled by default ? Thanks ! -- Serge Lages http://www.tharsis-software.com

Re: [osg-users] OsgViewer terminates while running o n an integrated video “via/s36 UniCrome Pro IGP ”

2009-10-21 Thread Robert Osfield
Hi Maxim, This sounds very much like a buggy OpenGL driver. The fact that counter strike works is only an indication that the exact parts of OpenGL that it exercises aren't buggy, and may even be that the drivers developers only tested against particular games. As to isolating what parts of the

Re: [osg-users] OsgViewer terminates while running o n an integrated video “via/s36 UniCrome Pro IGP ”

2009-10-21 Thread Maxim Gammer
Thanx for reply, it also works on every our PC exept that particular one. So, it's driver. Maxim Gammer 2009/10/21 Robert Osfield robert.osfi...@gmail.com Hi Maxim, This sounds very much like a buggy OpenGL driver. The fact that counter strike works is only an indication that the

Re: [osg-users] Hardware acceleration for videos

2009-10-21 Thread J.P. Delport
Hi, AFAIK ffmpeg has started to integrate VDPAU on Linux at least. Google on vdpau should give some answers, there is some notes in man mplayer on vdpau. Not sure if it's enabled by default, how to enable it... jp Serge Lages wrote: Hi all, Anyone knows if one of the OSG plugins for

Re: [osg-users] VRML plug-in

2009-10-21 Thread Jan Ciger
J.P. Delport jpdelp...@csir.co.za wrote: sorry, I wasn't dissing the plugin. I was hoping that by seeing the ease of installation on Linux it would convert someone from the dark side :-) No harm done, I didn't take it that way :) I am a Linux developer myself, but I found the advice to

[osg-users] Viewer threading differences Linux vs Mac vs Win

2009-10-21 Thread J.P. Delport
Hi all, a colleague of mine made the following test app to show what differences we are currently getting when calling viewer functions from multiple threads. If you can run the test app and report your success on various OSs, especially Win and Mac it would be helpful. The test app has 3

[osg-users] Distributed Rendering

2009-10-21 Thread raul.garces
Dear all, I'm thinking in using OSG (via Delta3D) for a flight simulator but I have one little problem. How to set up OSG to perform Distributed Rendering? Usually we use a commercial tool that provides Distributed Rendering functionality, but we would like to move to OSG (because it's

[osg-users] osgAnimation: Hardware Skinnig

2009-10-21 Thread Andrey Krekhov
Hi, Currently I'm working on my Bachelor thesis within a project using osg (and osgAnimation). One of my tasks will probably be to accelerate osgAnimation by using the GPU. Thus, probably i will have to implement Hardware Skinnig. Now my question: You mentioned that hardware skinnig is one of

Re: [osg-users] osgAnimation: Hardware Skinnig

2009-10-21 Thread Jan Ciger
Andrey Krekhov and...@graphics.cs.uni-sb.de wrote: Hi, Currently I'm working on my Bachelor thesis within a project using osg (and osgAnimation). One of my tasks will probably be to accelerate osgAnimation by using the GPU. Thus, probably i will have to implement Hardware Skinnig. Now my

Re: [osg-users] osgAnimation: Hardware Skinnig

2009-10-21 Thread Cedric Pinson
Hi Andrey, I did a proof of concept to put needed elements to osg. The main problem is that currently there is no way to automatically get the location to put the vertex attrib data. The things i tried is to run the program once and dump the attrib location and then edit the program to assign it.

Re: [osg-users] osgAnimation: Hardware Skinnig

2009-10-21 Thread Robert Osfield
HI Cedric, I can't add to the discussion on skinning specifically but general notes about bounding box and vertex attribute location as something I can chip in with. First up, the bounding box issue is something I'd be lazy and conservative with - basically estimate the bounding box for the

Re: [osg-users] Distributed Rendering

2009-10-21 Thread jago jagoc
Hi Raul, have you tried osgcluster's example,for example: for the master: osgcluster.exe -m cow.osg for the slaves: osgclusterd.exe -s -o 15 cow.osg osgclusterd.exe -s -o 0 cow.osg osgclusterd.exe -s -o -15 cow.osg Best regards, Jagovic Dear all, I'm thinking in using OSG (via

Re: [osg-users] Write osgAnimation callbacks into osg files - no Information available ?

2009-10-21 Thread pp
Cedric Pinson wrote: Hi pp, Did you try to modify an osgAnimation example and add a osgDB::writeNodeFile of the root node to see if it writes the animation correctly in a osg file ? Cheers, Cedric Hi Cedric, yes I did, and this is exactly what is not working, and my original question.

Re: [osg-users] Breadth-first-search

2009-10-21 Thread Art Tevs
Hi Paul, yes, thanks, it seems this is the way to go. cheers, art Paul Martz wrote: Hi Art -- Art Tevs wrote: However, currently any node visitor is going in depth-first-search (DFS) manner. Does anybody has already tried to implement breadth-first-search (BFS) in osg?

Re: [osg-users] osgAnimation: Hardware Skinnig

2009-10-21 Thread Cedric Pinson
Hi Robert, I used the addBindAttribLocation to the program but it generated an error. Because the compiling of the program gave another location to put my data. Anyway i will a another try to test it. Cheers, Cedric -- +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net

Re: [osg-users] osgAnimation: Hardware Skinnig

2009-10-21 Thread Jean-Sébastien Guay
Hi Cedric, I used the addBindAttribLocation to the program but it generated an error. Because the compiling of the program gave another location to put my data. Anyway i will a another try to test it. I've been using addBindAttribLocation in my software for a while, so I know it works. It

Re: [osg-users] Write osgAnimation callbacks into osg files - no Information available ?

2009-10-21 Thread Thrall, Bryan
p...@graphics.cs.uni-sb.de wrote on Wednesday, October 21, 2009 8:05 AM: Cedric Pinson wrote: Hi pp, Did you try to modify an osgAnimation example and add a osgDB::writeNodeFile of the root node to see if it writes the animation correctly in a osg file ? Cheers, Cedric Hi

Re: [osg-users] osgAnimation: Hardware Skinnig

2009-10-21 Thread Robert Osfield
Hi Cedric, On Wed, Oct 21, 2009 at 2:16 PM, Cedric Pinson cedric.pin...@plopbyte.net wrote: I used the addBindAttribLocation to the program but it generated an error. Because the compiling of the program gave another location to put my data. Anyway i will a another try to test it. With

Re: [osg-users] Breadth-first-search

2009-10-21 Thread Art Tevs
Hi Paul, ok, I think I have to reject my previous post and will have to say that BFS with osg is not that easy as it sounds first. The problem is, that whenever I do iterate over the child list and let accept() a child the node visitor, I will end up in DFS. Because accept() means to call

Re: [osg-users] Breadth-first-search

2009-10-21 Thread Paul Martz
I guess my point was that traversal control is up to you. Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_ http://www.skew-matrix.com/ +1 303 859 9466 Art Tevs wrote: Hi Paul, ok, I think I have to reject my previous post and will have to say that BFS with osg is not that

Re: [osg-users] nvidia sync to vblanc and multiple viewer

2009-10-21 Thread David Fries
On Tue, Oct 20, 2009 at 04:09:44PM +0100, Robert Osfield wrote: Hi Linares, I believe the issue you are up against is pretty common for single threaded multi-context applications, each swap buffers being issued in a different frame. This behavior will vary across drivers so you may will

Re: [osg-users] osgAnimation: Hardware Skinnig

2009-10-21 Thread Cedric Pinson
Hi, Thank you, I think i will be able to add the code into the trunk soon :) Cool Cheers, Cedric -- +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Wed, 2009-10-21 at 09:21 -0400, Jean-Sébastien Guay wrote: Hi Cedric, I used the

Re: [osg-users] Repeatable rendering of subgraphs, ideas?

2009-10-21 Thread Paul Martz
Hi Art -- I'm wondering if there's a slick way to tap into RenderStage to do what we want here. Assuming you have a Camera with a scene graph attached, and want to render it multiple times, then ideally the draw iteration could just happen atomically in some kind of custom RenderStage

[osg-users] MSFBO / Activity on 2.8 branch

2009-10-21 Thread Paul Martz
Hi Robert and all -- I'm about to start work on the multisampled FBO enhancement mentioned in the thread Improving multisampled FBO. http://groups.google.com/group/osg-users/browse_thread/thread/7fd8acaf422d90d1/4b4478521ef35174?hl=enlnk=gstq=Improving+multisampled+FBO#4b4478521ef35174

Re: [osg-users] Distributed Rendering

2009-10-21 Thread Raul Garces
Hi Jagoviv, Many thanks for your reply. Indeed osgCluster is a good starting point to implement the visual system. It also provides synchronization mechanism through software. Next steep is to load a large database (aprox. 50 Gb). I will look through the examples and forum to find out how

Re: [osg-users] MSFBO / Activity on 2.8 branch

2009-10-21 Thread Robert Osfield
Hi Paul, On Wed, Oct 21, 2009 at 5:24 PM, Paul Martz pma...@skew-matrix.com wrote: Hi Robert and all -- I'm about to start work on the multisampled FBO enhancement mentioned in the thread Improving multisampled FBO.

Re: [osg-users] MSFBO / Activity on 2.8 branch

2009-10-21 Thread Paul Martz
Hi Robert -- Just to clarify, as I stated in the Improving multisampled FBO thread, this is more than a new feature. It's a necessary workaround for an OSX / NVIDIA-specific driver defect. We'll want this capability in svn trunk, but waiting for a new stable release, and all the associated

[osg-users] z-fighting issue with coplanar polygons

2009-10-21 Thread James Adkison ARA/CFD
I'm using an Heightfield to represent my terrain and parts of the terrain could have a surface feature (e.g. a lake). The lake is being drawn as a polygon directly on the surface of the terrain. This, of course, is causing z-fighting to occur between the terrain and the surface feature. I

[osg-users] About checkNeedToDoFrame, rendering on demand and _requestRedraw

2009-10-21 Thread Himar Carmona
Hello, recently (developer version 2.9.5) i noticed that the implementation of checkNeedToDoFrame in both Viewer and CompositeViewer have different conditions. Viewer checks if the camera has an UpdateCallback or if any node has an UpdateCallback, while CompositeViewer doesn't. Is there a

Re: [osg-users] About checkNeedToDoFrame, rendering on demand and _requestRedraw

2009-10-21 Thread Robert Osfield
HI Himar, I don't recall the details, but CompositeViewer and Viewer should behave the same w.r.t lazy frame rendering, so perhaps something is missing from the CompositeViewer side. I'm not at a dev computer right now so can't check the code. As for adding public hooks to requestRedraw flag,

Re: [osg-users] Major implementation changes to osg::Geometry and elsewhere checked into svn/trunk

2009-10-21 Thread Jean-Sébastien Guay
Hi Robert, Interesting work, and it all seems to work well in the little testing I've done... Fingers crossed :-) Over the last few days I've been checking in significant implementation changes to osg::State and osg::Geometry to facilitate the OpenGL ES 2.0 port, these have all gone

[osg-users] Annoying version verification of models

2009-10-21 Thread Alejandro Aguilar Sierra
Hello, I generated a terrain model in my laptop at home, then I did bring the model to my workstation at work. I can not see the model, I get this message: $ osgviewer isolineas/ene_cont.ive DataInputStream::DataInputStream(): The version found in the file is newer than this library can handle.

Re: [osg-users] z-fighting issue with coplanar polygons

2009-10-21 Thread Jason Jerald
I don't see much for performance implications as long as you are not dynamically changing the texture every frame. Jason From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of James Adkison ARA/CFD Sent: Wednesday, October 21,