Re: [osg-users] Render osgViewer::View main camera view solely to texture using FBO

2012-01-23 Thread Robert Osfield
Hi Adam, You need a graphics context to do any OpenGL work, whether this is provided by a pbuffer or now graphics window, or by the OS in case of phone OS's. For a desktop system you'd simply use a pbuffer, while it's use for RTT may be outdated one would still use it for an off screen context

Re: [osg-users] Play audio files

2012-01-23 Thread Héctor Martínez
Hi, thank you for your reply. I tried to use the code in the simple.cpp file before posting here and it didn't work for me. As you have said that this is the way to do it, I have given a second try to that code and, after some changes and tests, I have managed to make it work, so thank you! :)

Re: [osg-users] Play audio files

2012-01-23 Thread Mattias Helsing
Hello Héctor You need to extend osg::AudioSink with the osgAudio code that you have working. Have a look at the osgmovie exemple. It (optionally) implements the osg::AudioSink interface using SDL. You need to do it using osgAudio (or whatever sound backend you prefer). cheers Mattias 2012/1/23

Re: [osg-users] PolytopeIntersector distance and Transform

2012-01-23 Thread Aurelien Albert
Hi, Yes, I'm facing the same problem. I found a workaround by resorting intersections in a new container : for each intersection : - I compute the worldIntersectionPoint by transfoming the localIntersectionPoint in world coordinates - I compute the camera world position - worldIntersectionPoin

[osg-users] Change Texture in a given 3D model

2012-01-23 Thread Andrea Martini
Hi, is it possibile change texture image of a given 3D model? I have a 3D model coming from lightwave. I know the node* where i can find the texture (i.e Sun.tga). I'm wondering if is it possibile to change the SUN texture with another one (i.e MOON.tga) that has the same resolution. Moreover

Re: [osg-users] Page-in notification

2012-01-23 Thread Brad Colbert
Hi Robert, Thanks for the reply. When the object is loaded in, is it safe to begin performing intersection tests on the geometry? -B -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield

Re: [osg-users] osgexport for blender?

2012-01-23 Thread Alberto Luaces
Maia Randria writes: Thanks Alberto. Which version of Blender and osgExporter ar you using ? Are you satisfied with the exported file ? I'm using blender 2.59 and the latest version from Cedric's repository. Currently I'm just exporting simple meshes and their associated skeletons, so I

Re: [osg-users] 3D models used in OSG ?

2012-01-23 Thread Maia Randria
Hi John, Here I am back about Blender. When you said, don't forget Blender, I do not and have tried to do some work wit it. From Blender, there are several exporter: osg models, fbx, 3ds, collada. Which ones are the best exportes from Blender to OSG ? I installed the plugin from Cedric Pinson,