Re: [osg-users] [build] Xcode: Cannot find install manifest

2015-02-04 Thread Robert Osfield
HI Robert, On 3 February 2015 at 22:40, Robert Graf wrote: > Easiest solution: > Simply activate the ALL_BUILD scheme from the drop-down menu at the top of > the window. It defaults to uninstall, which probably is not desirable. > I have just checked OpenSceneGraph/CMakeLists.txt and it refers

Re: [osg-users] Node/Object Serialization

2015-02-04 Thread Robert Osfield
Hi Jeremy, You don't really provide enough info about how you are doing things to know what be going amiss so I'll provide general information. Since OSG-3.2 I have done quite a bit of work on making the serialization scheme support introspection sufficient for the purposes of integrating the OSG

Re: [osg-users] radius2

2015-02-04 Thread Robert Osfield
Hi Jethro, I'm a bit perplexed by your suggestion, as: 0.25 == 0.5 squared. Having the 0.5 multiplication within the brackets would force the operation to work on a temporary vec3 rather than a singe float so would take three times as much computation. Robert. On 4 February 2015 at 00:15, Jeth

Re: [osg-users] Node/Object Serialization

2015-02-04 Thread Jeremy
Excellent. Sounds perfect for my needs. I will check that out. I'm on 3.2 at the moment. On Feb 4, 2015 2:30 AM, "Robert Osfield" wrote: > Hi Jeremy, > > You don't really provide enough info about how you are doing things to > know what be going amiss so I'll provide general information. > > Sinc

Re: [osg-users] radius2

2015-02-04 Thread Jethro Leevers
Hi Robert, The maths works out the same in the end I guess, just a little confusing to read. On the topic of the BoundingBox, I have been having linking issues with BoundingBoxd symbols being defined multiple times in different libs (osg, osgEarth and my application). Specifically when using t

Re: [osg-users] [osgPlugins] Loading dae-File results in the object without textures

2015-02-04 Thread Andreas Schreiber
Hi, sorry for dumb question. Found the problem. It was the letter "ß" in the path to the objects. The diffuse texture is loading fine now =). Lets see how to activate the specular. ... Thank you! Cheers, Andreas -- Read this topic online here: http://forum.openscenegraph.o

[osg-users] Offscreen rendering (e.g. pbuffer) and event processing

2015-02-04 Thread Émeric MASCHINO
Hi, I should have said that I was drawing the viewer in a pixel buffer in my other question [1], that now leads to this one... I'm streaming the pixel buffer data and displaying/manipulating the scene in/from a webpage. The offscreen viewer obviously hasn't any window, nor associated event queue.

[osg-users] How to save camera position between manipulators switching?

2015-02-04 Thread Dan Shebounin
Hello! I'm using KeySwitchMatrixManipulator with two added manipulators: TrackballManipulator and NodeTrackerManipulator. autoComputeHome is true for KeySwitch manipulator. TrackballManipulator centered by default in a center of a scene NodeTracker is looking at one of scene's model. When I s

Re: [osg-users] How to save camera position between manipulators switching?

2015-02-04 Thread Christian Buchner
You have to transfer the view matrix from the old camera manipulator to the new one during switching. I think there is a setByMatrix member function in the camera manipilator base class. Try to use this, after getting the previous manipulator's matrix with getMatrix

Re: [osg-users] How to save camera position between manipulators switching?

2015-02-04 Thread Dan Shebounin
KeySwitcherMatrixManipulator doing exactly, as you're described: getMatrix from current, and set it to manipulator, that becomes current. But this default behavior does not work. Cheers, Dan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62595#62

[osg-users] Question about osgShadow::ShadowedScene

2015-02-04 Thread Alexandre Vaillancourt
Hello, I've been told that objects that were casting shadow were automatically set to receive shadows as well, and that it was an implementation constraint that was not avoidable. Has this constraint been resolved, making it so that if we want an object to cast and receive shadows we have to set

Re: [osg-users] Question about osgShadow::ShadowedScene

2015-02-04 Thread Robert Osfield
HI Alexandre, On 4 February 2015 at 13:23, Alexandre Vaillancourt < alexandre.vaillancourt.l...@gmail.com> wrote: > I've been told that objects that were casting shadow were automatically > set to receive shadows as well, and that it was an implementation > constraint that was not avoidable. > >

Re: [osg-users] Offscreen rendering (e.g. pbuffer) and event processing

2015-02-04 Thread Robert Osfield
Hi Émeric, Thanks for spotting to typo. I hadn't noticed this before, and it hadn't been reported either. I am fixing this and will get it checked in once my clean build has completed. As for implementing an off screen viewer functionality using a pbuffer. I haven't ever tried this on contempl

Re: [osg-users] [build] Xcode: Cannot find install manifest

2015-02-04 Thread Robert Graf
Thanks a bunch Robert for checking on this and getting back. The suggestion about avoiding Xcode on OS X is good too. It also is simple enough to make sure the ALL_BUILD scheme is active before running the build. Thanks again for the help! -Robert -- Read this topic online here:

Re: [osg-users] Question about osgShadow::ShadowedScene

2015-02-04 Thread Alexandre Vaillancourt
Thanks Robert, The shadow technique being used is ViewDependentShadowMap. I understand that trying to find where the issue comes from is like searching for a needle in a stack of hay. I'm trying to figure out myself how the system is being programmed as I'm not at all familiar with that aspect of

[osg-users] Question about bump mapping

2015-02-04 Thread Alexandre Vaillancourt
Hi All, I'm not too knowledgeable in the field of shaders and bump map, but lately I've had the task of fixing something related to it in our software. The issue is that some faces in our software are bumpmapped (I see the 3 different texture units used in the .osg file, as well as in the origina

Re: [osg-users] (no subject)

2015-02-04 Thread Jeremy
I am having this problem with OSG 3.3.3 and Qt5 and MSVC2013 Commenting out the #define GL_ARB_vertex_buffer_object in osg/BufferObject does indeed allow it to compile. On Sun, Feb 1, 2015 at 10:56 AM, Robert Osfield wrote: > Hi Phileppe, > > I presume Qt5.4 is define the various GL values in i

Re: [osg-users] Node/Object Serialization

2015-02-04 Thread Jeremy
Robert. Are there plans to expose more information through this interface? Currently It appears that it is largely exposing the properties that are serialized, and I was also hoping to expose read only access to informational data about the various object types as well. On Wed, Feb 4, 2015 at 5:08