POV-Ray : Newsgroups : povray.newusers : Helixes : Helixes Server Time
29 Jul 2024 22:31:47 EDT (-0400)
  Helixes  
From: Oleguer Vilella
Date: 6 Feb 2005 11:53:14
Message: <42064b7a@news.povray.org>
Hi all,

I will post an object on povray.binaries.images
I'm traying to make this object using POV-Ray. I was traying doing it like 
an helix with some different functions, the problem is that I don't know how 
can I do the extensions.
A code to do this kind of helix can be this:
======================================


#declare R3=2.;  //Mayor radio del toro.





#declare DNA=function { f_helix1 (x-R3, y, z, Strands, Turns, R1, R2, 1, 1, 
0) }

isosurface {
function { DNA (f_r(x, z, y), f_th (x, z, y), z) }
max_gradient 1.3
contained_by { sphere { 0, 3 } }
scale 1.5
translate x*5
rotate x*25
pigment { rgb 1 }
}
======================================
Am I wrong?

I was also thinking about splines, but I think that easiest way to do it is 
using a function.

Thanks in advance,
Oleguer


Post a reply to this message

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