POV-Ray : Newsgroups : povray.beta-test : Bug in SuperTorus : Re: Bug in SuperTorus Server Time
30 Jul 2024 16:13:51 EDT (-0400)
  Re: Bug in SuperTorus  
From: Josh Seagoe
Date: 18 Oct 2001 00:01:06
Message: <3BCE54AC.3010808@smileyface.com>
Redbeard (MDJohnson) wrote:

> Second, if I use a major or minor control of more than 0.5 (exactly) strange
> things start happening.  If MinorControl is greater than 0.5, the ST becomes a
> solid disc-like thing.  If MajorControl is greator than 0.5, a "plate" covers
> 3/4 of the object, covering exactly 3 of the four quadrants (I'm not sure which
> one is not covered - I'll post test renders to p.b-t.b shortly)  I thought
> perhaps it was the contained_by statement, but I enlarged it and it only moves
> the plate.


This can be fixed by changing the function to:
function { ( abs((abs(x)^RP + abs(z)^RP)^(1/RP) - RMj)^CP + abs(y)^CP 
)^(1/CP) - RMn }

Note all the extra "abs()"s.  This changes the shape in some cases 
(control of 2/3 I think), but I think the new shape is probably more 
desireable anyway.


-josh


Post a reply to this message

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