Hi Geoff,
osgViewer::Viewer has a default constructor and will work just fine
without the command line arguments. In fact most of the OSG examples
don't use ArgumentParser at all. So just remove the ArgumentParser
bits and you'll get on just fine.
If all your need to do is geometry queries
Ok, how would I do the geometry queries without it? The only reason I
am using the Viewer is because I was given this project that does what
I need, just on the commandline for a single X,Y, whereas I need to do
it for a bunch of X,Y's in the same database.
Basically, for my project, I need to
Hi Geoff,
Have a look at the osgintersection example for the range of utils for
doing intersections.
Robert.
On Fri, Oct 10, 2008 at 2:55 PM, Geoff [EMAIL PROTECTED] wrote:
Ok, how would I do the geometry queries without it? The only reason I
am using the Viewer is because I was given this
Ok, forgive me if this is a basic question, as I am just starting out with OSG.
I have a project that I was given that runs via the commandline,
creates a osgViewer::Viewer based on the arguments passed via the
command line and then retrieves all Z values at a given x,y location.
Right now I have
Ok, I am looking at the example, but since this is new to me, some of
it isn't exactly clear. It looks like it is running things a couple
times. When I run the project with my .FLT file, it doesn't give me
any intersections either. Is there something special I should be
doing?
Also, since there
Hi Goeff,
The special thing you need to do is be patient with learning new
stuff. The osgintersection example does lots of different tests, you
needn't do them all. All you probably need is an IntersectionVisitor
and LineSegmentIntersector.
Robert.
On Fri, Oct 10, 2008 at 4:48 PM, Geoff
6 matches
Mail list logo