"guarnio" <gua### [at] gmailcom> wrote:
> I'm gonna share the code with "position_SUN" vector declared at the beginning,
> you can just change that and see that just dividing the cut off distance is
> dividing the sun's distance ("position_SUN" vector) by /30 (in this case the sun
> still appears), while dividing only by /28 makes the sun completely disappear.
> I hope someone will be able to help me with what the problem is,
Welcome to the large family of people who have coded the solar system. :D
and several other threads like it. see the old discussions about rendering
Ringworld, and the custom version of POV-Ray that was needed.
There's only so large or so small you can get, numerically, before you run into
the problem of "how is that number represented by the computer in a physical way
using 0's and 1's" You either run off the end one way or the other.
Try to keep everything within 1x10(+/-)6 and you should be fine.
Post a reply to this message