Re: [osg-users] [vpb] Quesions about LOD in VPB

2012-09-05 Thread Torben Dannhauer
Hi David, I assume you do not want to max out the LOD at runtime but at harddisk, right? In this case, it is easy: I've extended osgFileCache some month ago. It supports now also files from local sources. With its ability to limit the caching to certain extend and certain level, you can run it

Re: [osg-users] [vpb] Quesions about LOD in VPB

2012-09-05 Thread Torben Dannhauer
Hi David, I assume you do not wand to max out at runtime but at harddsik, right? In this case, it is easy: I've extended osgFileCache some month ago. It supports now also files from local sources. With its ability to limit the caching to certain extend and certain level, you can run it multiple

[osg-users] [vpb] Quesions about LOD in VPB

2012-09-05 Thread David Glenn
Greetings All! I'm just getting the time to do some real study on VPB and I had some questions about LOD and controlling it! First of all, I'm going to reverence a tool that I know “Terra Vista” for an example. If you don't know about this tool, I understand and try to explain in more detail.

Re: [osg-users] [ANN] osgAndroid: Library for develop OSG applications in Android

2012-09-05 Thread Rafa Gaitan
Hi Jan, 2012/9/5 Jan Ciger > On 09/05/2012 06:41 PM, Rafa Gaitan wrote: > >> Hi Jan, >> >> I had found one fatal bug, that probably was the problem. It was >> the typical copy - paste problem! :S. When doing postMult or preMult, I >> was using the same origin matrix to do the computation, so wei

Re: [osg-users] Custom Drawable & GLSL

2012-09-05 Thread Jeremy Moles
On Tue, 2012-09-04 at 19:21 +0100, Robert Osfield wrote: > Hi Jeremy, > > It should be possible to do a > > drawImplementation(..) > { > > state.apply(stateSetOne); > // do stuff > state.apply(stateSetTwo); > // do more stuff > > } I've settled on: drawImplementation() { state.

Re: [osg-users] [ANN] osgAndroid: Library for develop OSG applications in Android

2012-09-05 Thread Jan Ciger
On 09/05/2012 06:41 PM, Rafa Gaitan wrote: Hi Jan, I had found one fatal bug, that probably was the problem. It was the typical copy - paste problem! :S. When doing postMult or preMult, I was using the same origin matrix to do the computation, so weird things were happening. Fixes and some impr

Re: [osg-users] [ANN] osgAndroid: Library for develop OSG applications in Android

2012-09-05 Thread Jan Ciger
On 09/05/2012 05:15 PM, Rafa Gaitan wrote: Hi Jan, I'm glad you are using it, I'm answering you below. 2012/9/5 Jan Ciger mailto:jan.ci...@gmail.com>> Hello Rafael, I have tried your osgAndroid library, it does indeed work for me after fixing few details, such as incorrect project

Re: [osg-users] [ANN] osgAndroid: Library for develop OSG applications in Android

2012-09-05 Thread Rafa Gaitan
Hi Jan, I had found one fatal bug, that probably was the problem. It was the typical copy - paste problem! :S. When doing postMult or preMult, I was using the same origin matrix to do the computation, so weird things were happening. Fixes and some improvements to the osgcamera example (now is lan

Re: [osg-users] NodeTrackerManipulator

2012-09-05 Thread Robert Osfield
HI Gianni, On 5 September 2012 14:12, Gianni Ambrosio wrote: > is it possible to preserve the "distance" of a manipulator switching from a > TrackballManipulator to a NodeTrackerManipulator? I mean, I would just like > the camera to be rotated so that the tracking node is centered but I would

Re: [osg-users] NodeTrackerManipulator

2012-09-05 Thread Gianni Ambrosio
Hi, anyway from my point of view there is a bug in osgGA::NodeTrackerManipulator setByMatrix() or getInverseMatrix() methods. In fact I modified the osgviewer.exe code just to enable a NodeTrackerManipulator with '8' key and it seems strange that if I push '8' key twice I get two different camer

Re: [osg-users] [ANN] osgAndroid: Library for develop OSG applications in Android

2012-09-05 Thread Rafa Gaitan
Hi Jan, I'm glad you are using it, I'm answering you below. 2012/9/5 Jan Ciger > Hello Rafael, > > I have tried your osgAndroid library, it does indeed work for me after > fixing few details, such as incorrect project references in Eclipse. > Nice to hear that worked for you, Could you post me

Re: [osg-users] [ANN] osgAndroid: Library for develop OSG applications in Android

2012-09-05 Thread Jan Ciger
Hello Rafael, I have tried your osgAndroid library, it does indeed work for me after fixing few details, such as incorrect project references in Eclipse. However, I see a weird bug. I have modified the OSGOverlayCamera example to load three .ive files - a cube, floor plane and a monkey mesh (Suza

Re: [osg-users] NodeTrackerManipulator

2012-09-05 Thread Gianni Ambrosio
Hi, is it possible to preserve the "distance" of a manipulator switching from a TrackballManipulator to a NodeTrackerManipulator? I mean, I would just like the camera to be rotated so that the tracking node is centered but I would also like to use in the NodeTrackerManipulator the same distance

Re: [osg-users] Program attribute cannot me removed

2012-09-05 Thread Glenn Waldron
On Wed, Sep 5, 2012 at 8:38 AM, Robert Osfield wrote: > Hi Peterakos, > > On 5 September 2012 11:36, Peterakos wrote: > > I disabled it in run time and checked the state set before and after this > > line: > > stateset->removeAttribute(osg::StateAttribute::PROGRAM) > > > > Before that line the pr

Re: [osg-users] Program attribute cannot me removed

2012-09-05 Thread Robert Osfield
Hi Peterakos, On 5 September 2012 11:36, Peterakos wrote: > I disabled it in run time and checked the state set before and after this > line: > stateset->removeAttribute(osg::StateAttribute::PROGRAM) > > Before that line the program was in attribute list along with lighting. > After that line, on

Re: [osg-users] Error while loading OSG model on Android

2012-09-05 Thread Koduri Lakshmi
Hi, Thank you verymuch for the quick help. I forgot to mention in the previous post that I made video as background by making "GL_DEPTH_BUFFER_BIT". That is I used " _viewer->getCamera()->setClearMask(GL_DEPTH_BUFFER_BIT )". I have a look at the code of osgAnroidExample. But I am not able to

Re: [osg-users] QT and OSG on separate X screens

2012-09-05 Thread Roman Grigoriev
I upgraded to Qt 5.0.0beta1 and my app works only if I use singlethreaded overwise I got Cannot make QOpenGLContext current in a different thread -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49774#49774 __

Re: [osg-users] Program attribute cannot me removed

2012-09-05 Thread Peterakos
Hello. This is what i did. I disabled it in run time and checked the state set before and after this line: stateset->removeAttribute(osg::StateAttribute::PROGRAM) Before that line the program was in attribute list along with lighting. After that line, only lighting was there. But still the shader

Re: [osg-users] osg(terrain) krasches on a double delete

2012-09-05 Thread Ola Nilsson
Hi Robert, Good. This also works for me in the osgterrain-crash-program. I've updated our patches to match this fix, and our internal tests also pass. Thanks for taking the time and sharing this great software! Ola On Fri, 31 Aug 2012 18:03:33 +0200, Robert Osfield wrote: Hi Ola,

Re: [osg-users] bug in Imagef::readImageFromCurrentTexture

2012-09-05 Thread Robert Osfield
Hi Alex, On 15 February 2012 17:24, Robert Osfield wrote: > I guess this will be something that is rather driver dependant - and > why I had spotted this issue with my own usage. Could you modified > Image.cpp to get things working for and post the full modified file to > osg-submissions. Alas

Re: [osg-users] osgOcean and delta3d collision detection

2012-09-05 Thread 杨洋
Thanks for your relying! I have visited the www.delta3d.org,somebody asked the same question and received some advice,but it didn't help. I'll try some other methods.Anyway,many thanks! 2012/9/1 Kim Bale > Hi, > > I've not had any experience with Delta3D and osgOcean. However, I know > that is h

[osg-users] Integrating GUI toolkit with OSG 2.8.3

2012-09-05 Thread Praveena Sarathchandra
Hi, Is it possible to include OSGQT Widgets with OSG 2.8.3? Else what are the other alternatives? Thanks. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Program attribute cannot me removed

2012-09-05 Thread Robert Osfield
HI Peterakos, Using removeAttribute(osg::StateAttribute::PROGRAM) should work. To test whether it's working try writing the scene graph out to a .osg or .osgt file by doing a osgDB::writeNodeFile(*mySceneGraph,"before.osgt"); prior to doing the remove then once again with "after.osgt" once the re

Re: [osg-users] Extend a Line

2012-09-05 Thread Sebastian Messerschmidt
Hello Dan, I don't really see what your question has to do with OSG or I simply don't understand the question. Here's some interpretation: You have two coordinate frames in 3d space. Now you want a the second frame to be aligned to the first one. Position only is easy. Construct a vector betwee