[osg-users] prerender camera's color mask

2008-12-24 Thread ZHMW
Hi, Every One. I have a pre render camera in my scene graph. and i have set the clear mask by GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT, set the color mask by four tures parameters. and the clear color by osg::Vec4(0.0, 0.0, 0.0, 0.0)(other clear colors I have tried also); And then I attach

[osg-users] depth partition

2008-12-18 Thread ZHMW
Hi everyone! In my application, there is many terrain object, each terrain object is a tree organized by paged lod, just like the structure generated by virtual planet builder. The problem is I cannot integrate many terrain object in one scene. It seems to be the depth problem, And I have

Re: [osg-users] Get A line on the terrain surrface at current lod level

2008-06-23 Thread ZHMW
of lod mode and the right level mode ) for user. Is that would be work? Best Wishes. zhmw ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Get A line on the terrain surrface at current lod level

2008-06-22 Thread ZHMW
is not exactly on the surface of terrain. Is there any visitor like cullvisitor can go to current valid lod level? and then I can draw the ElevationSlice's result line on the surface always. best wishes. zhmw ___ osg-users mailing list osg-users

[osg-users] compile the texture immediately?

2008-06-14 Thread ZHMW
can i do. Best wishes! zhmw ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] memory increasing util crash

2008-01-24 Thread ZHMW
I did that on windows OS, and compile that by vc2005. I have test the osg Animate example. Its release version also has this problem. But in the vc2005 environment, running the release version is ok also. So I rewrite a deleteHandler of Referenced to delete the objects immdiately , then it become

[osg-users] memory increasing util crash

2008-01-24 Thread ZHMW
Hi EveryOne! I'm using OSG-2.2 version in my application. and my application will crash after a while(the time is totally different in various machine). I found the memory size of my application is increasing all the time even I just open it and did nothing. I don't know why. May be it's

Re: [osg-users] Change the camera the near plane of perspective

2008-01-23 Thread ZHMW
. viewer-getCamera()-setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); Then you'll be able to set the projection matrix without the OSG recompute the near/far planes for you. Robert. On Jan 23, 2008 6:33 AM, ZHMW [EMAIL PROTECTED] wrote: Hi everyone! In my application, I

[osg-users] Run time error on windows platform

2008-01-23 Thread ZHMW
Hi EveryOne: My application runs on windows XP, and I compile my code under vc8.0environment. In debug environment, I can run my application for a long time without any error. But the release version of my application will be collapse in 30 minutes. Before the collapse occured, I can feel

[osg-users] Change the camera the near plane of perspective

2008-01-22 Thread ZHMW
Hi everyone! In my application, I have set the projection matrix (to set the near plane) of viewer's master as perspective (using viewer-getCamera-setProjectionMatrixAsPerspective(...)). I did this after I set the scene's data. However, I don't know why my setting didn't work. I have fetched

[osg-users] Road/Line label suggest

2008-01-13 Thread ZHMW
Hi EveryOne! I want suggests about the text label of the road or line vector. I want the label display along the line. And when I rotate the camera, the label should face to the screen and also along the line. How can i do that?Hope your suggest. Thanks.

Re: [osg-users] about GIS Vector Overlay Problem

2008-01-13 Thread ZHMW
I have changed the VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY mode, but The overlay texture map disappear at some distance, I have not find the rule. I don't why. 在08-1-13,Glenn Waldron [EMAIL PROTECTED] 写道: Hi, If you are using VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY mode, the display