POV-Ray : Newsgroups : povray.newusers : DNA creation help? : Re: DNA creation help? Server Time
30 Jul 2024 02:27:33 EDT (-0400)
  Re: DNA creation help?  
From: Oleguer Vilella
Date: 24 Oct 2004 12:36:21
Message: <417bda05$1@news.povray.org>
Yes because you have to put your object, cylinders for exemple:

====================================
#include "colors.inc"
#include "textures.inc"
  background { color White }
  camera {location <170, 11, -110>look_at  <180, -15, -16>}
  light_source { <170, -30, -100> color White}

#declare cilindros = union     {
cylinder{ <-2,0,0>, <2,0,0>, .15
texture { pigment { White } finish { phong .5 } rotate y*90 }}
};

#declare Helice = union      {
#declare myCount = 0;
#while(myCount < 50)
object  { cilindros
translate <0,myCount/1.2,0>
rotate <0,myCount*9.5,0> }
#declare myCount = myCount + 1;
#end
};
object  { Helice }
object  { Helice rotate <0,90,0> translate <150, -60, 0> }
===================================
Tray with it, this is an exemple, here you can see the four nitrogenous
bases if you put an sphere in the two sides of the cylinders on the axis
x, -x.

I had never used the "functions.inc" I don't know why I can not see the
double helix with the functions, I'm investigating it.

Regards,
Oleguer










news:web.417bd46e89e84e748345dda10@news.povray.org...
> For some reason, all of my efforts, along with both of your ideas, result
in
> blank screens; black for me, white for 0leguer's code. I have made sure to
> include all necessary .inc files...I don't understand why it won't show
up.
>
>


Post a reply to this message

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