John D. Jamulla (jjamulla++at++concentric.net)
Sat, 18 Dec 1999 10:59:20 -0500
I am new to both graphics and performer, though not new to UNIX,
linux, and SGI. I have a particular idea for an application I'd
like to see if I can learn to write in performer, knowing full
well this will be a "training excercise" for me.
I just got started with the C++ example hello.C and have made a
few GeoSets and Geodes with lines representing coordinate axes,
messed with color alittle, etc. I am actively reading the
programmers, c/C++ reference guides, looking at source supplied
with performer on linux, and the getting started guide. As you can
see I am very very basic at this point, just trying to work with
simple geometry and adding things to a scene.
What I am trying to do (well as a start) is basically create X,Y,Z
axis "lines" (which I have done), then add arrows and 3-d text at
the "ends" of the lines, (away from the origin).
I have made the lines already, and arrows using fdNewArrow. Text
looks easy enough with the examples I have.
What I am trying to figure out is how to "transform" the arrows
from their original position to the ends of each of
the lines. I think I need some matrix manipulations, but not sure
if there's easier ways to do this than what it looks like I need
to do.
If anyone can point me to a "tutorial" (probably doesn't exist) or
a set of good examples I'd appreciate it. Or, better yet a really
good set of books I should purchase to get started.
I appologize in advance for a "newbie" question.
FYI - (This probably has already been done, but I don't know of
one or have access to it)
The end result of what I want to do is create a "flight path
viewer", allowing me to input ECEF X,Y,Z Phi, Theta, Psi values
(and their velocities, accels, and jerk) from a file (with time at
each "point) and to see some kind of plane representation "fly"
through the points. This would not be a "proper" dynamics model,
just a visual clue of what's going on with the plane.
Later, adding more features to examine data related to each point.
Possible different colors depending on speed, Earth Model, ...,
etc.
Thanks in Advance
-- John D. Jamulla, Comptek Amherst Systems Inc., Buffalo, N.Y. jdj++at++amherst.com, jjamulla++at++concentric.net, or j.jamulla++at++ieee.org, Williamsville, N.Y. 14221
Hi,
I am new to both graphics and performer, though not new to UNIX, linux, and SGI. I have a particular idea for an application I'd like to see if I can learn to write in performer, knowing full well this will be a "training excercise" for me.
I just got started with the C++ example hello.C and have made a few GeoSets and Geodes with lines representing coordinate axes, messed with color alittle, etc. I am actively reading the programmers, c/C++ reference guides, looking at source supplied with performer on linux, and the getting started guide. As you can see I am very very basic at this point, just trying to work with simple geometry and adding things to a scene.
What I am trying to do (well as a start) is basically create X,Y,Z axis "lines" (which I have done), then add arrows and 3-d text at the "ends" of the lines, (away from the origin).
I have made the lines already, and arrows using fdNewArrow. Text looks easy enough with the examples I have.
What I am trying to figure out is how to "transform" the arrows from their original position to the ends of each of
the lines. I think I need some matrix manipulations, but not sure if there's easier ways to do this than what it looks like I need to do.If anyone can point me to a "tutorial" (probably doesn't exist) or a set of good examples I'd appreciate it. Or, better yet a really good set of books I should purchase to get started.
I appologize in advance for a "newbie" question.
FYI - (This probably has already been done, but I don't know of one or have access to it)
The end result of what I want to do is create a "flight path viewer", allowing me to input ECEF X,Y,Z Phi, Theta, Psi values (and their velocities, accels, and jerk) from a file (with time at each "point) and to see some kind of plane representation "fly" through the points. This would not be a "proper" dynamics model, just a visual clue of what's going on with the plane.
Later, adding more features to examine data related to each point. Possible different colors depending on speed, Earth Model, ..., etc.Thanks in Advance
-- John D. Jamulla, Comptek Amherst Systems Inc., Buffalo, N.Y. jdj++at++amherst.com, jjamulla++at++concentric.net, or j.jamulla++at++ieee.org, Williamsville, N.Y. 14221
This archive was generated by hypermail 2.0b2 on Sat Dec 18 1999 - 07:59:31 PST