[osg-users] loading .cpp file

2008-02-01 Thread wanyama harold
Hi guys, iam quite new to openscenegraph. Iam wondering how .cpp code is loaded in openscenegraph. do u have to use osgviewer? or do u have to compile it and run it somehow? secondly could someone pse come up with code that can draw a simple network? thx guys

[osg-users] Re loading .cpp file

2008-02-01 Thread Gordon Tomlinson
Oh boy were does one begin with a post like this First read this http://www.catb.org/~esr/faqs/smart-questions.html You do not load a CPP file into OSG, you compile OSG from source files such as those in .cpp files I would recommend going to www.openscenegraph.org and reading the documentation

[osg-users] Strange Behaviour of Virtual Planet Builder (VS c++ 2007)

2008-02-01 Thread Adrian Egli OpenSceneGraph (3D)
Hi after long time no using VP Builder i try do rebuild it on my dev system. i get strange behaviour what can be wrong ? /adegli -- Build started: Project: vpb, Configuration: Release Win32 -- Compiling... Version.cpp C:\Programme\Microsoft Visual Studio .NET

Re: [osg-users] Strange Behaviour of Virtual Planet Builder (VS c++ 2007)

2008-02-01 Thread Jean-Sébastien Guay
Hello Adrian, after long time no using VP Builder i try do rebuild it on my dev system. i get strange behaviour what can be wrong ? Which version of VPB is this? I have tested the latest SVN head on VC8 and it builds and runs OK. I don't have a VC7 environment to test on, but I don't see why

[osg-users] Virtual Planet Builder using different sized textures

2008-02-01 Thread Brian
Hi I wrote a plugin that reads L3DT(www.bundysoft.com/*L3DT*/) heightfields. It works nice when the texture and the heightfield are the same size, but when I use a larger texture it tries to stretch the heightfield to that size. Any ideas what I need to do? Works Heightfield 512x512 TerrainMap

[osg-users] Difference in osg::Matrixd.getTrans() and osg::Matrixd.getLookAt(..)

2008-02-01 Thread Tobias Münch
Hello I have a osg::Matrixd view matrix and want to get origin of the camera. I know two different methods: getTrans() and getLookAt(eye,center,up,dist). But both return different results. For example: getTrans() -- (-0.6, -5, -2322) eye (from getLookAt(..)) -- ( 0.6, -2322, 5) The values are

Re: [osg-users] Strange Behaviour of Virtual Planet Builder (VS c++ 2007)

2008-02-01 Thread Adrian Egli OpenSceneGraph (3D)
:-( 2008/2/1, Jean-Sébastien Guay [EMAIL PROTECTED]: Hello Adrian, after long time no using VP Builder i try do rebuild it on my dev system. i get strange behaviour what can be wrong ? Which version of VPB is this? I have tested the latest SVN head on VC8 and it builds and runs OK. I

[osg-users] Please Ignore

2008-02-01 Thread Gordon Tomlinson
Test to see if our new sever can find the OSG list ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] w3d file converting tool

2008-02-01 Thread Gordon Tomlinson
Multigen's Creator 3.x can read KML and export 3ds files ( not a free program though ) hi is there a converting tool for w3d (macromedia flash 3d file) to 3ds or osg or .. and also a KML to 3ds .. regards adrian -- Adrian Egli

[osg-users] w3d file converting tool

2008-02-01 Thread Adrian Egli OpenSceneGraph (3D)
hi is there a converting tool for w3d (macromedia flash 3d file) to 3ds or osg or .. and also a KML to 3ds .. regards adrian -- Adrian Egli ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Strange Behaviour of Virtual Planet Builder (VS c++ 2007)

2008-02-01 Thread Gordon Tomlinson
Firstly make sure you set /EHsc as the waring are telling to do in your project settings this should help you a lot Also note the the STL in VC6.0 and VC7.0 is very poor and most folks I work with use to use Stlport. The version of STL MS uses in VC8 is much improved and follows the spec much

[osg-users] PagedLOD: Notification or callback when an LOD is changed.

2008-02-01 Thread Brad Colbert
Hi folks, I guess this question is applicable for an LOD database as well. Here is the background of my question, and please forgive me if this has already been asked and answered. I have a terrain database for which I load buildings and lights separately. I clamp the buildings and lights to

[osg-users] Selective lighting in OSG

2008-02-01 Thread Terry Welsh
I made some pretty good progress with selective lighting. How about you, Pavlos? Right now I have a class that stores all my light world-space positions, colors, and attenuation ranges (I'm only doing simple point lights for now). On any node where I want to apply lighting I set a CullCallback

Re: [osg-users] PagedLOD: Notification or callback when an LOD is changed.

2008-02-01 Thread Brian
Hi Brad, I would recommend you read through the PagedLOD.cpp file especially the traverse() function. There isn't a callback for when the LOD changes happen. You could create an UpdateCallback() that would calculate the current LOD, but it sounds awful complex and error prone. osgdem

Re: [osg-users] PagedLOD: Notification or callback when an LOD is changed.

2008-02-01 Thread Brian R Hill
- Add a user data variable to the LOD that identifies the last LOD child that the attach was done for. - Add a cullcallback to all LOD children that checks if the parent LOD's user data variable is different than the current child. If it's different then you need to reattach, then reset the parent

Re: [osg-users] old wiki (was: Arggh! Frustrating compiler error! OS X XCode3.0.)

2008-02-01 Thread Brede Johansen
Hi, Does anyone else know of a page that was on the old wiki but isn't on the new one? (or at least equivalent information...) Sorry for the late reply. I wasn't able to find this information on the new wiki. http://www.openscenegraph.org/osgwiki/pmwiki.php/KnowledgeBase/OpenFlight Brede