POV-Ray : Newsgroups : povray.general : torus arrows : Re: torus arrows Server Time
19 Apr 2024 10:21:54 EDT (-0400)
  Re: torus arrows  
From: omniverse
Date: 8 Nov 2016 23:25:00
Message: <web.5822a4c6329b68a89c5d6c810@news.povray.org>
"isuc60" <isu### [at] gmailcom> wrote:
> Dear  povray community,
>
> I am totally new to Povray, but am very interested to learn how to draw
> torus arrows, like the second figure on
>  http://www.povray.org/documentation/view/3.6.1/15/
> (Does anyone have the script for this figure?)

Don't know if that script exists anywhere but you probably need a simple
explanation using a correct scene. Read and render this:

union
{
 // axis
 cylinder {-3*y,3*y,0.1 pigment{blue 1}}

 // put pointer at cut curve end <0,0,2>
  cone {x+(2*z),0.0, z*2,0.3 } //add pointed end with length x
  // and match base (0.3 wide) position with curve end

  difference {
    torus { 2,0.1 } // curves on y plane
     // cut with box from center outward past edge
     // with cuts of curve at <0,0,2> and <2,0,0>
    box { <0,-0.11,0>,<2.11,0.11,2.11> }
  }

  pigment { green 1 }
  //finish {emission 1} // make visible glow without light
 no_shadow
 // no rotation shows left-handed y rotation
 // rotate <90,0,0> // shows left-handed z rotation
 // rotate <-90,-90,0> // shows left-handed x rotation
 // move away from origin to see with default camera
 translate <0,0,5>
}

light_source{<10,10,-10>,1}
camera{location <4,4,-2> look_at <0,0,5>}


Post a reply to this message

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