Re: [osg-users] dimension oh a model

2011-08-15 Thread Tomlinson, Gordon
...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: Friday, August 12, 2011 3:50 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] dimension oh a model On 8/12/2011 11:11 AM, Sanat Talmaki wrote: Hi Paul, Sorry for my late reply to your post. That is a very good point you bring up about

Re: [osg-users] dimension oh a model

2011-08-12 Thread Sanat Talmaki
Hi Paul, Sorry for my late reply to your post. That is a very good point you bring up about the units of different objects in a scene. When one uses data from USGS in VPB to create a terrain, the rest of the objects have to be scaled up or down to represent their real world size prior to be

Re: [osg-users] dimension oh a model

2011-08-12 Thread Paul Martz
On 8/12/2011 11:11 AM, Sanat Talmaki wrote: Hi Paul, Sorry for my late reply to your post. That is a very good point you bring up about the units of different objects in a scene. When one uses data from USGS in VPB to create a terrain, the rest of the objects have to be scaled up or down to

Re: [osg-users] dimension oh a model

2011-08-12 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
of the model. -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: Friday, August 12, 2011 1:50 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] dimension oh a model On 8

Re: [osg-users] dimension oh a model

2011-08-12 Thread Sanat Talmaki
Coincidentally that was the approach I was going to take: Place some object of known size on my terrain and scale the unknown units object accordingly, sort of digitally 'eyeballing' it. This empirical approach seems to be the most appropriate way when dealing with objects of unknown units that

Re: [osg-users] dimension oh a model

2011-08-12 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
-users@lists.openscenegraph.org Subject: Re: [osg-users] dimension oh a model Coincidentally that was the approach I was going to take: Place some object of known size on my terrain and scale the unknown units object accordingly, sort of digitally 'eyeballing' it. This empirical approach seems

Re: [osg-users] dimension oh a model

2011-08-09 Thread Sanat Talmaki
Hi David, I guess I am replying to a rather old post, but I'll try my luck anyway: Adding to your post on getting the size of the terrain, I had a similar question in mind. For a given terrain model (built using osgeart/vpb etc), is there a way to ensure that models loaded on the terrain

Re: [osg-users] dimension oh a model

2011-08-09 Thread Paul Martz
In response to David's post (which I didn't see until now), it's fairly straightforward to back-transform a pixel into world coordinates. I've posted on this in the past, email me offline and I'll send you more info about it. Sanat, one thing I learned in the GIS classes years ago is that you

[osg-users] dimension oh a model

2010-04-28 Thread daniele argiolas
Hi, how can I retrieve the dimension of an OSG model loaded in the scene? I see that with getBound().radius() I can retrieve informations about the BoundingSphere. But I need also the three dimensions.. Thanks! -- Read this topic online here:

Re: [osg-users] dimension oh a model

2010-04-28 Thread Alberto Luaces
daniele argiolas writes: Hi, how can I retrieve the dimension of an OSG model loaded in the scene? I see that with getBound().radius() I can retrieve informations about the BoundingSphere. But I need also the three dimensions.. Hi Daniele, Assuming that no transformation nodes exist in

Re: [osg-users] dimension oh a model

2010-04-28 Thread Jean-Sébastien Guay
Hi Daniele, Alberto, Assuming that no transformation nodes exist in the graph describing your node, you can write a node visitor that joins all the bounding boxes of every geode. Else you'll need to modify every bounding box by its parent transforms in order to join them. Actually you don't

Re: [osg-users] dimension oh a model

2010-04-28 Thread Paul Martz
Jean-Sébastien Guay wrote: Hi Daniele, Alberto, Assuming that no transformation nodes exist in the graph describing your node, you can write a node visitor that joins all the bounding boxes of every geode. Else you'll need to modify every bounding box by its parent transforms in order to join

Re: [osg-users] dimension oh a model

2010-04-28 Thread Alberto Luaces
Paul Martz writes: Jean-Sébastien Guay wrote: Hi Daniele, Alberto, Assuming that no transformation nodes exist in the graph describing your node, you can write a node visitor that joins all the bounding boxes of every geode. Else you'll need to modify every bounding box by its parent

Re: [osg-users] dimension oh a model

2010-04-28 Thread daniele argiolas
It works!!! Thank you very much! Daniele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27371#27371 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] dimension oh a model

2010-04-28 Thread Paul Martz
Alberto Luaces wrote: how could I have missed this! Thank you for the tips :) OSG is big. :-) -- -Paul Martz Skew Matrix Software http://www.skew-matrix.com/ ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] dimension oh a model

2010-04-28 Thread David Glenn
Paul Martz wrote: Alberto Luaces wrote: how could I have missed this! Thank you for the tips :) OSG is big. :-) -- -Paul Martz Skew Matrix Software http://www.skew-matrix.com/ ___ osg-users mailing list