POV-Ray : Newsgroups : povray.binaries.images : mini planet help Server Time
15 Nov 2024 06:18:05 EST (-0500)
  mini planet help (Message 1 to 3 of 3)  
From: Nickj
Subject: mini planet help
Date: 2 Aug 2003 09:35:01
Message: <web.3f2bbd58245216a2b0680a20@news.povray.org>
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

From: JC (Exether)
Subject: Re: mini planet help
Date: 4 Aug 2003 11:45:44
Message: <3f2e7fa8@news.povray.org>
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

From: Nickj
Subject: Re: mini planet help
Date: 4 Aug 2003 18:10:02
Message: <web.3f2ed9a7c209bf1e3e5d26390@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.