POV-Ray : Newsgroups : povray.general : limit to Supercone use? Server Time
15 Nov 2024 01:16:00 EST (-0500)
  limit to Supercone use? (Message 1 to 3 of 3)  
From: Barehunter
Subject: limit to Supercone use?
Date: 9 Jan 2005 19:15:01
Message: <web.41e1c851e08880d4a28ef6d80@news.povray.org>
Is there a limit to how many times Supercone macro can be used. I just added
one more to a pic I'm making and it's acting as a regular cone.

  Supercone(<0,0,0>,.034375,.06875,<0,.1375,0>,.06875,.06875)

Or in this case it is acting as a cylinder of .06875 radius. I even tried
making the small radious .0001 and it still came out as a cylinder.


Post a reply to this message

From: Warp
Subject: Re: limit to Supercone use?
Date: 9 Jan 2005 20:12:06
Message: <41e1d666@news.povray.org>
Barehunter <nomail@nomail> wrote:
>   Supercone(<0,0,0>,.034375,.06875,<0,.1375,0>,.06875,.06875)

  It seems to be a problem of scale. If you multiply everything by 100,
the shape renders just ok. However, with such small values as those
there's a quite odd think happening there.
  What makes this odd is that the problem does not happen with the
quartic. If you render the quartic alone with no intersection nor
bounded_by, it renders just fine even at that scale. However, both
the intersection with the cylinder and the bounding by the cone
gives odd results at those scales. I have no idea why.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Barehunter
Subject: Re: limit to Supercone use?
Date: 9 Jan 2005 22:20:01
Message: <web.41e1f3f785990518a28ef6d80@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
>   It seems to be a problem of scale. If you multiply everything by 100,
> the shape renders just ok. However, with such small values as those
> there's a quite odd think happening there.

>>>SNIP<<<

odd indeed. I tried this. I made it a declared object with the radii
multiplyed by ten. then I called the object and hit it with .1 scale in X
and Z axis and it worked. thanks for pointing it out.


Post a reply to this message

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