|
|
I am a new raytracer, and as part of teaching myself to use Povray I have
been trying to copy other peoples work. My latest project was to try the
mini planet posted by JC (Exether)
http://news.povray.org/povray.binaries.images/32436
I have modelled a planet using the union of an isosurface for the land and a
sphere for the sea but I am having problems with the grass. I can't seem to
get any 'beach' around my land. My land/sea boundary is at the surface of
the sphere, radius 9 units, if I try to put green cones everywhere above
9.05 using an if statement it just parses forever, but works if I do it
above 9.0, so I tried reducing the radius of my sea sphere to 8.95 and
using 9 in the if statement and had the same problem, can anyone offer a
helping hand to a confused beginner?
Thanks,
Nick
Post a reply to this message
|
|
|
|
I'm very honnored to have someone inspired by my work. :-)
If you want I can post my planet's code, but maybe you prefer to train
and do your own. Reading your problem's description, I suspect a bug in
the code, the approach seems ok to me. I suggest you post your code in
p.t.scene-files so that we can have a look at it.
JC
Nickj wrote:
> I am a new raytracer, and as part of teaching myself to use Povray I have
> been trying to copy other peoples work. My latest project was to try the
> mini planet posted by JC (Exether)
> http://news.povray.org/povray.binaries.images/32436
>
> I have modelled a planet using the union of an isosurface for the land and a
> sphere for the sea but I am having problems with the grass. I can't seem to
> get any 'beach' around my land. My land/sea boundary is at the surface of
> the sphere, radius 9 units, if I try to put green cones everywhere above
> 9.05 using an if statement it just parses forever, but works if I do it
> above 9.0, so I tried reducing the radius of my sea sphere to 8.95 and
> using 9 in the if statement and had the same problem, can anyone offer a
> helping hand to a confused beginner?
>
> Thanks,
> Nick
>
Post a reply to this message
|
|
|
|
You certainly are inspirational, I just read your message, went back to look
at the code again and fixed the problem 5 minutes later! All I had to do
was to take the sphere outside of the planet object so it wasn't involved
in the trace then put it in as a seperate object.
Post a reply to this message
|
|