POV-Ray : Newsgroups : povray.newusers : DNA creation help? : Re: DNA creation help? Server Time
30 Jul 2024 02:18:14 EDT (-0400)
  Re: DNA creation help?  
From: Mike Williams
Date: 25 Oct 2004 22:47:32
Message: <qMfpsGA9qbfBFwzl@econym.demon.co.uk>
Wasn't it Oleguer Vilella who wrote:
>How can I rotate it? and how can I translate it? Of I do this it gives me an
>error:
>
>====================================
>isosurface {
>function {  f_helix1 (x, y, z, 2, 3, 4, 5, 0.1, 1, 25) rotate x*25 }
>        max_gradient 6
>        contained_by {sphere {0, 1.2} }
>        pigment {rgb .9}
>}
>=====================================

Rotate the isosurface, not the function

isosurface {
function {  f_helix1 (x, y, z, 2, 3, 4, 5, 0.1, 1, 25)  }
        max_gradient 6
        contained_by {sphere {0, 1.2} }
        rotate x*25
        pigment {rgb .9}
}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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