[osg-users] Build V8 for osgEarth

2012-06-28 Thread caijun
I am using osgEarth2.2 now.I get to know osgEarth can use V8 library which support for embed javascript into osgEarth program. I've downloaded V8 and it's third-party package which includes python. When I use python26 to generate sln project by the command python26 build/gyp_V8,I got the errors

[osg-users] osgearth terrain problem

2012-12-10 Thread caijun
Hello,everyone! I am studying the osgearth code now.I want to know how the osgearth judges the terrain's tilekey info,which terrainNode it is going to load! Can you tell me how it works? thanks very much!___ osg-users mailing list osg-users@list

Re: [osg-users] osgearth terrain problem

2012-12-11 Thread caijun
Thanks for glennwaldron's answer! And I want to know in which file the osgearth calculate the current lod and which tiles to load and show? I've read all the files in osgearth and osgearth_engine_osgterrain,but I've not found the right file.Can you or anyone else tell me which file contains the

[osg-users] projection matrix problem

2012-12-22 Thread caijun
Hello,everyone, I am using osg to build a 3D software.I don't know how to change the znear,zfar and projection matrix values when I change the camera position. When I read the osg's cullstack class,the refmatrix of projection differs every time.how does it calculates?Can anyone tell me?

[osg-users] projection matrix calculating problem

2012-12-22 Thread caijun
Hello,everyone, I am using osg to build a 3D software.I don't know how to change the znear,zfar and projection matrix values when I change the camera position. When I read the osg's cullstack class,the refmatrix of projection differs every time.how does it calculates?Can anyone tell me?