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 07:02:11 EDT (-0400)
  Re: An artifact when rendering torus(negative major_r)  
From: Stephen
Date: 8 Apr 2015 13:15:51
Message: <55256247$1@news.povray.org>
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
		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


Post a reply to this message

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