Re: [osg-users] VPB bug or faulty data?

2008-10-26 Thread Ralf Stokholm
Hi Alejandro It seams you are missing projection information in the createt geotiff file. VPB needs some sort of projection system information in the input or you should specify the projection in the commandline for VPB It will be faster if you project your source data using ie gdalwarp, adal

[osg-users] Problem with computeIntersections for nodes below post render camera.

2008-10-26 Thread Chris Denham
I have a problem with Viewer:computeIntersections for nodes below a subgraph rendering camera that doesn't have the ABSOLUTE_RF reference frame. In fact, computeIntersections results are exactly as though an ABSOLUTE_RF has been set on the camera, even though it has not. The code below creates

[osg-users] newcomer: suitabilty of osg for physics modeling program?

2008-10-26 Thread Václav Šmilauer
Hi everybody, I am considering switch to openscenegraph for the modeling program I work on (http://yade.wikia.com), which has only home-grown openGL visualization now, which is getting unsatisfactory. I read tutorial on osg but due to only shallow knowledge of osg architecture and possibilities,

Re: [osg-users] newcomer: suitabilty of osg for physics modeling program?

2008-10-26 Thread Robert Osfield
Hi Václav, 2008/10/26 Václav Šmilauer [EMAIL PROTECTED]: First question is whether such flat graph (one linear sequence of bodies, one linear sequence of interactions) is ok for osg -- if it will not pretty much kill all the advatages that graph-oriented approach has. A flat graph is

Re: [osg-users] Problem with computeIntersections for nodes below post render camera.

2008-10-26 Thread Robert Osfield
Hi Chris, There isn't enough info about how you are calling computeIntersections to really know what is going on - there are several computeIntersections methods, so I can't say whether it's a bug, or code misuse. As a general note, the computeIntersections methods are just convenience methods

[osg-users] Load animated model?

2008-10-26 Thread Thanh Trung Trinh
I've just join the OSG Community, and I have a newbie question. I have a simple animated 3ds model, and how can I load the animation in OpenSceneGraph? I have load the model but it has no animation. Thanks in advance. Địa chỉ email mới sẵn có trên Yahoo! Chọn ngay một tên truy nhập bạn

Re: [osg-users] VPB bug or faulty data?

2008-10-26 Thread Alejandro Aguilar Sierra
Hi, Actually the data has no projections, it is in plain longitude/latitude coordinates. Which is the recomended projection for data about 1 or two degrees long so I can have it in kilometers? Regards, -- A. On Sun, Oct 26, 2008 at 2:04 AM, Ralf Stokholm [EMAIL PROTECTED] wrote: Hi Alejandro

[osg-users] blink question!

2008-10-26 Thread YangXiao
Hi everyone: When i update my scene in PaintThreadProc() function, I found my windows to blink ( to twinkle). Why ? while(!viewer.done()) { if (PeekMessage(msg,NULL,0,0, PM_REMOVE)) { TranslateMessage(msg); DispatchMessage(msg); } if

Re: [osg-users] blink question!

2008-10-26 Thread Wang Rui
Hi YangXiao, What have been done in your PaintThreadProc()? Have you created a new widget on top of the OSG viewer window and tried to update it? If you want to do so, you'd better get the handle of viewer window first, otherwise your widget will surely blink. Wang Rui 2008/10/27 YangXiao [EMAIL

[osg-users] 回复: Re: blink question!

2008-10-26 Thread YangXiao
Thanks Wang Rui in PaintThreadProc I do { root-addchild(); or root-removeChild(); . } YangXiao. Wang Rui [EMAIL PROTECTED] 写道: Hi YangXiao, What have been done in your PaintThreadProc()? Have you created a new widget on top of the OSG viewer window and tried to

Re: [osg-users] 回复: Re: blink question!

2008-10-26 Thread Wang Rui
Hi, I suggest do these in a update callback, or set the threading model to SingleThreaded (but not efficiently), because it very dangerous add/remove children in the main loop when multi-thread rendering. You are so lucy not to crash here. :) Wang Rui Thanks *Wang Rui* in PaintThreadProc I