Hi Christian

> 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...
Yes read the Javadoc for Math.random and you will see that's the correct
behaviour.

> 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?
Yes again, you should set the back clipping plane to a higher value.
You can do this by getting the viewer from your SimpleUniverse (I suppose
you're using that)

EOF,
 J.D.

--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)

===========================================================================
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".

Reply via email to