|
![](/i/fill.gif) |
Some code to help you. Parsing time can be long if use a large number of
stars !!
>Hi - I'm trying to create a "space" scene containing (obviously) stars.
What I am trying to do is to set up all the individual stars using calls to
rand() Eg: sphere { <rand(r1),80,rand(r2)>, 0.1 } where r1 and r2 are two
different seeded values. Unfortunately, Pov-ray isn't being very
cooperative, and I don't know any formulas offhand which can give me a nice
random starfield between x:(-8;26) and z(-18;2), y probably constant at 80.
If anyone could mail me any hints or fragments of code to try out, I wwould
be much obliged. If this is the wrong place to post this, please tell me
and I'll post it somewhere else :-) Jeremy
>
Post a reply to this message
Attachments:
Download 'stars.pov.txt' (2 KB)
|
![](/i/fill.gif) |