|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I want to do a DNA chain. I found that in Pov-Ray I can do spirals and I
think the spiral can looks like a DNA chain, but when I tray to render the
code it doesn't work. The code is:
normal
{
spiral1 5 [, 0 ]
pigment { color Red }
scale
rotate
translate
}
Do you know what is the problem?
Best regards,
Oleguer
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oleguer Vilella wrote:
> I want to do a DNA chain. I found that in Pov-Ray I can do spirals and I
> think the spiral can looks like a DNA chain, but when I tray to render the
> code it doesn't work. The code is:
>
> normal
> {
> spiral1 5 [, 0 ]
> pigment { color Red }
> scale
> rotate
> translate
> }
>
> Do you know what is the problem?
The problem is that this is not a valid normal statement.
Valid (inside a texture{}) would be
normal {
spiral1 5
}
the rest is nonsense.
But of course this would not create a spiral, it would just modify the
normal of the object it is applied to.
Apart from that the shape of a DNA chain is not a spiral but a helix (a
double helix to be precise).
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 06 Jul. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Yes, is a double helix, do you know how can I do it?
news:cfs9fb$2mg$1@chho.imagico.de...
> Oleguer Vilella wrote:
> > I want to do a DNA chain. I found that in Pov-Ray I can do spirals and I
> > think the spiral can looks like a DNA chain, but when I tray to render
the
> > code it doesn't work. The code is:
> >
> > normal
> > {
> > spiral1 5 [, 0 ]
> > pigment { color Red }
> > scale
> > rotate
> > translate
> > }
> >
> > Do you know what is the problem?
>
> The problem is that this is not a valid normal statement.
>
> Valid (inside a texture{}) would be
>
> normal {
> spiral1 5
> }
>
> the rest is nonsense.
>
> But of course this would not create a spiral, it would just modify the
> normal of the object it is applied to.
>
> Apart from that the shape of a DNA chain is not a spiral but a helix (a
> double helix to be precise).
>
> Christoph
>
> --
> POV-Ray tutorials, include files, Sim-POV,
> HCR-Edit and more: http://www.tu-bs.de/~y0013390/
> Last updated 06 Jul. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oleguer Vilella <ole### [at] infonegociocom> wrote:
> Yes, is a double helix, do you know how can I do it?
You should start by reading the tutorials and documentation about the
features you will need to do so.
Basically you will need to use #declares and #while loops, as well as
float functions (could also be done with rotation transformations,
but whether or not that is easier depends) and place objects (you probably
want spheres and perhaps cylinders) located at proper places.
Try first reading the sections in the tutorial and documentation
explaining these. If you still have problems don't hesitate in asking.
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ok, thank you very much.
news:4121c2d6@news.povray.org...
> Oleguer Vilella <ole### [at] infonegociocom> wrote:
> > Yes, is a double helix, do you know how can I do it?
>
> You should start by reading the tutorials and documentation about the
> features you will need to do so.
> Basically you will need to use #declares and #while loops, as well as
> float functions (could also be done with rotation transformations,
> but whether or not that is easier depends) and place objects (you probably
> want spheres and perhaps cylinders) located at proper places.
> Try first reading the sections in the tutorial and documentation
> explaining these. If you still have problems don't hesitate in asking.
>
> --
> plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
> sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
> density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
> <1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Yes, I did it. Thank you very much for your help.
news:4121c2d6@news.povray.org...
> Oleguer Vilella <ole### [at] infonegociocom> wrote:
> > Yes, is a double helix, do you know how can I do it?
>
> You should start by reading the tutorials and documentation about the
> features you will need to do so.
> Basically you will need to use #declares and #while loops, as well as
> float functions (could also be done with rotation transformations,
> but whether or not that is easier depends) and place objects (you probably
> want spheres and perhaps cylinders) located at proper places.
> Try first reading the sections in the tutorial and documentation
> explaining these. If you still have problems don't hesitate in asking.
>
> --
> plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
> sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
> density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
> <1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|