POV-Ray : Newsgroups : povray.beta-test : shapes.inc Server Time
4 Nov 2024 12:59:51 EST (-0500)
  shapes.inc (Message 1 to 3 of 3)  
From: Thorsten
Subject: shapes.inc
Date: 1 Oct 2001 13:44:17
Message: <3BB8AB0A.B51836AC@ewetel.net>
Hello :-))

Typo in the Docs
Supertorus should be written SuperTorus to match the include file.

Question:
#macro SuperTorus(RMj, RMn, MajorControl, MinorControl, Accuracy,
MaxGradient)
Why is there a parameter called Accuracy ?
The accuracy in the SuperTorus macro is 0.01 and not variable.

Greetings :-))

Thorsten
(3.5beta4, various systems, windows)


Post a reply to this message

From: ingo
Subject: Re: shapes.inc
Date: 1 Oct 2001 15:44:36
Message: <Xns912DDD2F373D5seed7@povray.org>
in news:3BB8AB0A.B51836AC@ewetel.net Thorsten wrote:

> Supertorus should be written SuperTorus

Will be changed

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Josh Seagoe
Subject: Re: shapes.inc
Date: 1 Oct 2001 20:27:55
Message: <3BB90A8A.4020506@smileyface.com>
SuperTorii with strange powers don't work as expected either.  (Control 
values that result in an integer multiple of 2 power seem to work ok)

Most will give you one quarter of the shape, and the rest is a solid box:
/#
##

With a power of 3 (ie, Control param=2/3) you get half of the shape and 
a solid triangle.  MegaPov works here too.

My guess would be that POV 3.5 doesn't like raising negative numbers to 
strange powers.

(imo, the SuperTorus looks better on odd powers with an abs() around 
each of x, y, and z andyway...)

-josh


Thorsten wrote:

> Hello :-))
> 
> Typo in the Docs
> Supertorus should be written SuperTorus to match the include file.
> 
> Question:
> #macro SuperTorus(RMj, RMn, MajorControl, MinorControl, Accuracy,
> MaxGradient)
> Why is there a parameter called Accuracy ?
> The accuracy in the SuperTorus macro is 0.01 and not variable.
> 
> Greetings :-))
> 
> Thorsten
> (3.5beta4, various systems, windows)
> 
>


Post a reply to this message

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