James Hancock
asked on
Trigonometry for game star field help
Hi
Im trying to do a star field view for my Java game that has a few dozen stars fixed in 3D space.
How should I represent my star field?
What is the best way to draw them all on to a JFrame, in a 3D view?
Im thinking that the eclipse equations
are useful from here
x = a cos Theta
and
y = b sin Theta
Would be useful. I have them with height and radius positioning now. - Stars around a central column?
Thanks
Im trying to do a star field view for my Java game that has a few dozen stars fixed in 3D space.
How should I represent my star field?
What is the best way to draw them all on to a JFrame, in a 3D view?
Im thinking that the eclipse equations
are useful from here
x = a cos Theta
and
y = b sin Theta
Would be useful. I have them with height and radius positioning now. - Stars around a central column?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.