Re: [osg-users] getting eye position / direction

2012-04-15 Thread Andrey Ibe
Hi, this post is for those reading this thread wondering how i solved the issue. I solved it by creating the line segment intersectors in model coordinate space, transforming the starting/ending point using this matrix: Code: osg::Matrixd matrix;

Re: [osg-users] making a copy of camera root node or whole scene graph

2012-04-15 Thread Andrey Ibe
Hi guys, I solved the issue NOT using a osg::Camera at all. It caused a series of other fatal issues (culling away some geometry, that was then missing in reflections). anyone doing ray-tracing, do not use osg::Camera as a root of your scene for intersectionVisitor ! it will fail with

Re: [osg-users] default lighting

2012-04-15 Thread Andrey Ibe
Hi, just a guess - try global ambient intensity. i'm using this code: Code: osg::LightModel *lightModel = collisionStateSet ? dynamic_castosg::LightModel* (collisionStateSet-getAttribute(osg::StateAttribute::LIGHTMODEL)) : NULL; if (lightModel) { globalAmbientIntensity =

Re: [osg-users] Building new website, assistance appreciated!

2012-04-15 Thread Robert Osfield
Hi Torben, On 13 April 2012 06:16, Torben Dannhauer tor...@dannhauer.info wrote: I have dedicated servers in a data center. If you need storage place for all the OSG packed files like releases, dependencies, additional files and others I can provide webspace with gigabytes of size and

Re: [osg-users] Building new website, assistance appreciated!

2012-04-15 Thread Torben Dannhauer
Hi Robert, that sounds good :) btw: the registration email of openscenegraph.com ist still not delivered to my Email server. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47060#47060

Re: [osg-users] [osgOcean] Dose anybody has other learing resources about osgOcean?

2012-04-15 Thread Han Wang
Hi, Kim, Thank your for your help. I will try to read the code myself. If I meet some problems that make me confused, I'll send massage to you for help. Regards, Han kcbale wrote: Hi Han, I'm the author of the code, if you can be more specific about what you want to know maybe I

Re: [osg-users] osg_NormalMatrix calculated incorrectly

2012-04-15 Thread Paul Martz
The weekend has been a total loss work-wise, so I didn't get too far with this, sorry. But I did back-date trunk to r13018, which was the last time oversimple3.cpp was modified, and the lines of code in your proposed change haven't been modified since then either. The example ran and lit

Re: [osg-users] osg_NormalMatrix calculated incorrectly

2012-04-15 Thread Roland Hill
Hi Paul, Thanks for looking into this. At least I know that it can be replicated outside my environment! Cheers, Roland -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47064#47064 ___ osg-users

[osg-users] why display like this ?

2012-04-15 Thread tang
tjq@jq-e13b5f0ddeed /cygdrive/d/DriversBackup/examples/osgAndroidExampleGLES1/jni $ ndk-build NDK_APPLICATION_MK=Application.mk Compile++ thumb : osgNativeLib = osgNativeLib.cpp /bin/sh: -Itype: No such file or directory

Re: [osg-users] osg_NormalMatrix calculated incorrectly

2012-04-15 Thread Paul Martz
Hi Roland -- I dug in quite a bit further this evening and have narrowed down the issue only a little. The issue seems to be related to r13050, r13059, and the latest r13060, so I've copied their authors on this post to solicit their feedback on this thread and help track down what the root

Re: [osg-users] osg_NormalMatrix calculated incorrectly

2012-04-15 Thread Roland Hill
Hi Paul, Just a bit more information from me. I'm using Ubuntu 11.04 64 bit on two machines (1 Nividia 1 ATI). I also compiled for Win64 and got the same result. I'm building OSG for GL2 - the only deviation from a 'standard' build is that I disable Display Lists on both machines otherwise