POV-Ray : Newsgroups : povray.general : Kenneth requested some math help Server Time
15 Nov 2024 07:14:10 EST (-0500)
  Kenneth requested some math help (Message 1 to 2 of 2)  
From: Stephen Lavedas
Subject: Kenneth requested some math help
Date: 17 Feb 1999 22:22:15
Message: <36CB8770.F25820C3@virginia.edu>
Well, it isn't perfect (I don't have the scaling down for spheres,
though they should looks okay without it) but it does most of what you
want.  By defining the dimensions of the box (YZDim is the one that
really matters) and the number of segments you want per degree of arc
the radius is defined.  The scaling should be more accurate, and if you
choose type 4 (quarter sphere) or type 2 (hemisphere) should scale
correctly.  Type 1 (sphere) doesn't scale as mentioned above but does
render and doesn't look bad (at least from a small distance.  As long as
your segments per degree is greater than say 0.25 it shouldn't matter
too much.  The biggest way to slow parse time is to increase SPD
(segments per degree) to a value greater than 0.5 at 1 it took me 5
minutes to parse a sphere whereas 0.5 took around 30 seconds... Of
course that is POVRay hitting my 64meg physical RAM limit.  Hope this
helps Ken.

Steve


Post a reply to this message


Attachments:
Download 'halfdome.pov.txt' (3 KB)

From: Ken
Subject: Re: Kenneth requested some math help
Date: 18 Feb 1999 02:12:17
Message: <36CBBCE9.DA017E24@pacbell.net>
Stephen Lavedas wrote:
> 
> Well, it isn't perfect (I don't have the scaling down for spheres,
> though they should looks okay without it) but it does most of what you
> want.  By defining the dimensions of the box (YZDim is the one that
> really matters) and the number of segments you want per degree of arc
> the radius is defined.  The scaling should be more accurate, and if you
> choose type 4 (quarter sphere) or type 2 (hemisphere) should scale
> correctly.  Type 1 (sphere) doesn't scale as mentioned above but does
> render and doesn't look bad (at least from a small distance.  As long as
> your segments per degree is greater than say 0.25 it shouldn't matter
> too much.  The biggest way to slow parse time is to increase SPD
> (segments per degree) to a value greater than 0.5 at 1 it took me 5
> minutes to parse a sphere whereas 0.5 took around 30 seconds... Of
> course that is POVRay hitting my 64meg physical RAM limit.  Hope this
> helps Ken.
> 
> Steve

I am greatful for your efforts on my behalf and speak for those who I may
choose to share it with. Your contribution was in the true spirit of the
brotherhood of Pov people everywhere and just another example of why this
type of system can work.

Thank you.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

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