Hi Corysia!
Thanks to your suggestions I set up the stars background and it is really
nice. As I do not have any needs of realistic star-ccordinates (it is all
for a science-fiction thing), I used a random object (java.utils.*) where I
get the coordinates by
Random rand = new Random();
rand.nextfloat();
I get values between 0 and 1, but no negatives... this results in a square
area filled with stars in the first quadrant... Is that the expected
behaviour? I thought the values should be both positiv and negativ...
I now did a
((rand.nextfloat()-0.5f)*1000)
to calculate the x,y and z values for each star. I multiplied it with 1000
to bring the stars to a bigger distance (it looked rather stupid if there
are stars infront of a planet after all :-)... I set up an array of 16000
stars (in the point-array you suggested). How can I make those stars be far
away and still visible? Under Direct3D it seems that stars just dissappear
when a given distance is reached. Therefor I do only see a few of my 16000
stars...
Does that make sense for you?
Thank you,
Christian Bartel
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".