POV-Ray : Newsgroups : povray.advanced-users : Elliptical torus : Elliptical torus Server Time
14 May 2024 15:47:23 EDT (-0400)
  Elliptical torus  
From: bakom
Date: 20 Jul 2015 02:30:01
Message: <web.55ac94c9466943812a8ceaa30@news.povray.org>
Hi,
I have a macro for torus as

#include"transforms.inc"
#macro Torus(Center, Normal, Radius1, Radius2)
torus{ Radius1, Radius2 Reorient_Trans(y, Normal) translate Center }
#end

object {Torus (
1, 0, 0, 0, 0, 0, 2, 4)
texture{ pigment{ LightBlue} }}

How I modify it to make elliptical torus?


--
Thanks
Gurwinder Singh  Bains


Post a reply to this message

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