|
![](/i/fill.gif) |
Hi there
I'm trying to generate a picture with two proteins (two seperate *.pov and
*.inc files) obtained from swiss pdb-viewer.
The proteinstructures are defined by thousands of smooth_triangles in the
form
smooth_triangle
{<19.880,-14.362,-31.678><-0.568,0.536,-0.625>,<19.909,-14.498,-31.821><-0.568,0.536,-0.625>,<19.999,-14.413,-31.830><-
0.568,0.536,-0.625>texture{pigment{
colour red 1.00 green 1.00 blue 1.00} finish{ RIBBON_FINISH }}}
smooth_triangle
{<19.880,-14.362,-31.678><-0.568,0.536,-0.625>,<19.999,-14.413,-31.830><-0.568,0.536,-0.625>,<20.043,-14.309,-31.780><-
0.568,0.536,-0.625>texture{pigment{
colour red 1.00 green 1.00 blue 1.00} finish{ RIBBON_FINISH }}}
smooth_triangle
{<19.880,-14.362,-31.678><-0.568,0.536,-0.625>,<20.043,-14.309,-31.780><-0.568,0.536,-0.625>,<20.025,-14.225,-31.691><-
0.568,0.536,-0.625>texture{pigment{
colour red 1.00 green 1.00 blue 1.00} finish{ RIBBON_FINISH }}}
smooth_triangle
{<19.880,-14.362,-31.678><-0.568,0.536,-0.625>,<20.025,-14.225,-31.691><-0.568,0.536,-0.625>,<19.951,-14.193,-31.597><-
0.568,0.536,-0.625>texture{pigment{
colour red 1.00 green 1.00 blue 1.00} finish{ RIBBON_FINISH }}}
..... but they are not defined as an object, so I can't use a
transform/translate command to position them. If I include both proteins in
the same pov-file they will be positioned on top of each other, which is not
pretty ;-)
I've tried enclosing each protein in a mesh with:
#declare A0_shape=mesh{
all the smooth_triangles...
}
but it doesn't work :-( How do I enclose each protein in it own object so I
can position them relative to each other?
Best regards,
Nigo
Post a reply to this message
|
![](/i/fill.gif) |