POV-Ray : Newsgroups : povray.binaries.images : An artifact when rendering torus(negative major_r) : Re: An artifact when rendering torus(negative major_r) Server Time
3 May 2024 03:14:50 EDT (-0400)
  Re: An artifact when rendering torus(negative major_r)  
From: And
Date: 9 Apr 2015 02:35:08
Message: <web.55261d3f88bb499a5335aca40@news.povray.org>
Stephen <mca### [at] aolcom> wrote:
> On 07/04/2015 17:28, And wrote:
> > intersection{
> >      sphere{
> >      <0,0,0>,0.02
> >      }
> >      object{
> >      Poly_Torus(0.01247, 0.02357)
> >      inverse
> >      }
> > pigment{rgb<0.34,0.38,0.12>}
> > }
>
> I liked the shape and decided to animate it rotating.
> http://youtu.be/frVgXyupZX8
>
> I am not too sure about the shading. It is as if the normals flipped
> from one half to the other.
> The material is a spiral1 pigment with a colour map.
>
> To straighten the spiral I changed your code to:
>
> intersection {
>  torus {
>   0.012470,0.023570
>   sturm
              here lack of inverse
>   texture{ Spiral_Texture }
>   rotate    <-90.0,0.0,0.0>
>   }
>
>  sphere {
>   0.0, 0.020000
>   }
>
>  scale     <200.0,200.0,200.0>
>
>   }
>
>
> I'm not sure why putting the texture on the torus straightens it out.
>
> --
>
> Regards
>      Stephen


.. this is what I rendered.


Post a reply to this message


Attachments:
Download 'torus test2 1.png' (168 KB)

Preview of image 'torus test2 1.png'
torus test2 1.png


 

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