|
|
Hay is this a helix?
The parametric v controls the width of ribbon while u controls the number of
turn. I am checking as for some camera location, it looks like a helix, but
location <-10, 10, -30> it looked really weird.
I am using this for my alpha protein structure.
Any clues for rendering beta sheets?
thx
======================
#include "colors.inc"
background{White}
camera {
angle 20
location <10, 10, -30>
look_at <0, 1, 0>
}
light_source { <20, 20, -20> color White }
parametric {
function {sin(u)+v}
function {cos(u)+v}
function {u}
<pi,0>, <8*pi,0.6>
//contained_by { sphere{0, 10} }
contained_by{box{-20,20}}
max_gradient 0.1
accuracy 0.0001
precompute 10 x,y,z
pigment {rgb <1,0,0>}
}
Post a reply to this message
|
|