[osg-users] Node with different projection/view matrix fixed pipeline

2020-01-15 Thread Catalin
Hi, Is there a way to change the view matrix or projection matrix for a just a specific node in fixed pipeline mode? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OpenSceneGraph-3.6.5 release candidate 1 tagged, please test

2020-01-15 Thread Paul Leopard
I was using 3.14. I have switched to 3.15 today and the build system now works I will test OSG-3.6.5 on Windows and Ubuntu and report back Thanks, Paul On Wed, Jan 15, 2020 at 7:46 AM Voerman, L. wrote: > Hi Robert, > All seems fine to me, using > windows 10 Enterprise 1909 18363,592 > Visual

Re: [osg-users] OpenSceneGraph-3.6.5 release candidate 1 tagged, please test

2020-01-15 Thread Voerman, L.
Hi Robert, All seems fine to me, using windows 10 Enterprise 1909 18363,592 Visual Studio 15.9.19 CMake 3.15.5 Regards, Laurens. On Wed, Jan 15, 2020 at 2:24 PM Robert Osfield wrote: > > On Wednesday, 15 January 2020 13:15:27 UTC, Paul Leopard wrote: >> >> My comment was made with regard to 3.6

Re: [osg-users] OpenSceneGraph-3.6.5 release candidate 1 tagged, please test

2020-01-15 Thread Robert Osfield
On Wednesday, 15 January 2020 13:15:27 UTC, Paul Leopard wrote: > > My comment was made with regard to 3.6.5, I am unable to build 3.6.5. I > was just describing the procedure and noting that it was the same procedure > I've used successfully for building 3.6.4. > What is generated? Are errors

Re: [osg-users] OpenSceneGraph-3.6.5 release candidate 1 tagged, please test

2020-01-15 Thread Paul Leopard
My comment was made with regard to 3.6.5, I am unable to build 3.6.5. I was just describing the procedure and noting that it was the same procedure I've used successfully for building 3.6.4. On Wed, Jan 15, 2020 at 2:52 AM Robert Osfield wrote: > Hi Paul, > > On Tuesday, 14 January 2020 18:45:2

Re: [osg-users] Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-15 Thread 'Tom Pollok' via OpenSceneGraph Users
Hi Laurens, thank you for clarification! My problem was that im using openscenegraph in combination with osgEarth. I figured out how to fix it, so in case other osg and osgEarth users might run into the same issue. To fix the issue i had to include #include and after loading the model i had

Re: [osg-users] Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-15 Thread Voerman, L.
Hi Tom, Your model works with texture for me, in osg 3.4.0 as well as 3.6.5 with the following commands: sed -E "s#(f [0-9]+/[0-9]+)/0 ([0-9]+/[0-9]+)/0 ([0-9]+/[0-9]+)/0#\1 \2 \3#" "Data2.obj" > noNormals.obj osgviewer -O noRotation noNormals.obj Laurens. On Wed, Jan 15, 2020 at 12:24 PM 'Tom P

Re: [osg-users] Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-15 Thread 'Tom Pollok' via OpenSceneGraph Users
Hello Robert, to test it with my old osg version, i fixed the obj file such it does not contain any indices to normals anymore, as there are no normals. This indeed helped loading the model, but no textures appear at all. Should it load the textures automatically due to the first line in the obj

Re: [osg-users] Imported .obj file not showing textures.

2020-01-15 Thread Trajce Nikolov NICK
Hi, the .mtl file is text file where the materials are defined. You can change the ambient, diffuse there with text editor On Wed, Jan 15, 2020 at 10:15 AM Voerman, L. wrote: > Hi Jiljith, > I see no problem in your code, and it works when I add it to my osgviewer. > with OSG_NOTIFY_LEVEL=NOTIC

Re: [osg-users] Imported .obj file not showing textures.

2020-01-15 Thread Voerman, L.
Hi Jiljith, I see no problem in your code, and it works when I add it to my osgviewer. with OSG_NOTIFY_LEVEL=NOTICE it generates 2 messages: Obj Found map in options, [DIFFUSE]=0 Scaling image 'D:\laurens\Download\objDog/Dog_diffuse.jpg' from (450,450) to (512,512) I suggest you can convert your f

Re: [osg-users] Imported .obj file not showing textures.

2020-01-15 Thread JILJITH JOHN
Dear Tom, Thank you for the reply. I tried to load your model. It is crashing in my PC also. OSG version is 3.6.4 On Tuesday, January 14, 2020 at 3:54:05 PM UTC+5:30, Tom Pollok wrote: > > Which version of openscenegraph are you using? > > Would you mind trying my obj model with mtl and jpg text

Re: [osg-users] OpenSceneGraph-3.6.5 release candidate 1 tagged, please test

2020-01-15 Thread Robert Osfield
Hi Paul, On Tuesday, 14 January 2020 18:45:28 UTC, Paul Leopard wrote: > > Using my 3.6-4 procedure, no visual studio files are generated by the > cmake system > > >mkdir release_build > >cd release_build > >cmake ../ -DCMAKE_INSTALL_PREFIX=../ -DCMAKE_BUILD_TYPE=Release > > No .sln, no .vcxproj

[osg-users] Create BoundingBoxes dynamically, by creating global Geode and attaching children later

2020-01-15 Thread Martin Steinborn
Hello, I want to display my own BoundingBoxes (BBs) using osg. The way I am trying to do it is the following: 1) create a Geode and set it as Child of the overall scene. Create a global pointer to be able to add children to this Geode. 2) for every BoundingBox I find, create a new Geometry with