POV-Ray : Newsgroups : povray.newusers : <no subject> Server Time
29 Jul 2024 20:14:52 EDT (-0400)
  <no subject> (Message 1 to 5 of 5)  
From: jasius
Subject: <no subject>
Date: 12 Feb 2005 21:05:01
Message: <web.420eb508c23a6d9b02b99bc0@news.povray.org>
It drives me nuts! How to render both molecules and bonds from Diamond 3.0?
i can see only molecules, now.
I replied to my previous post with this question, unfortunately I can't see
my reply and answer though i see number of answers, so I will post it one
more time

thanks


Post a reply to this message

From: Mike Williams
Subject: Re: <no subject>
Date: 14 Feb 2005 05:00:45
Message: <2pTVWBAeaHECFwmW@econym.demon.co.uk>
Wasn't it jasius who wrote:
>It drives me nuts! How to render both molecules and bonds from Diamond 3.0?
>i can see only molecules, now.
>I replied to my previous post with this question, unfortunately I can't see
>my reply and answer though i see number of answers, so I will post it one
>more time

Diamond 3.0 makes a number of assumptions about the POV-Ray environment
that may not necessarily be true, but I can't see anything obvious that
might cause the bonds to fail to render.

Once I changed my master povray.ini file back to what Diamond 3.0
assumes, the bonds render correctly on my system.


In Diamond: Check that the bonds are not hidden, by using 
Picture->Hide and ensuring that "Hide All Bonds" is not selected.

Also: check that the materials designed for your bonds are sensible by
using Picture->Bond_Designs->Material. Check all the bond types (listed
on the left side of the Bond Designs pane.

Also: check that you have a sensible value for the bond radius 
(Picture->Model And Radii)

If you're using "fragmentated" bonds, ensure that you've got at least
the version 3.0a upgrade of Diamond. Version 3.0 had some issues with
fragmentated bond export to POV-Ray.



If they all look OK, try exporting a pov file rather than getting
diamond to invoke POV_Ray directly. Then look for the materials that are
declared for the bonds. It looks a bit like this:-

#declare M_BD0 = material { texture { pigment { color rgb<0.25098,
        0.25098, 0.25098> filter 0 transmit 0 } finish { F_Global } 
        normal { N_Global } } interior { I_Global } }

#declare M_BD1 = material { texture { pigment { color rgb<1, 1, 1> 
        filter 0 transmit 0 } finish { F_Global } normal { N_Global } } 
        interior { I_Global } }

And look for the cylinders that use these materials, which look a bit
like this:

// -- Coming now: 52 bonds --
union {
  cylinder { <0.000000,0.000000,0.000000>, 
        <0.890625,0.890625,-0.890625>, 0.050000  material { M_BD0 } } 
        // #4: "C1" -- "C1"
  cylinder { <0.000000,0.000000,0.000000>, 
        <0.890625,-0.890625,0.890625>, 0.050000  material { M_BD0 } } 
        // #5: "C1" -- "C1"


If you can't see anything obviously wrong with those bits of the .pov
file, you could try posting those bits here (try to avoid posting the
whole file if it's huge). We should be able to tell you what Diamond is
doing wrong, and that might give you a clue about how to configure
Diamond to do it right.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: jasius
Subject: Re: <no subject>
Date: 14 Feb 2005 15:30:01
Message: <web.421109576f92e856610e9ad80@news.povray.org>
No good. Below is the part of output:

// -- Coming now: 860 bonds --


union {
  cylinder { <-1.436494,-2.677406,2.422070>, <-0.506810,-4.051990,1.579784>,
0.000000  material { M_BD0 } } // #16: "Al1" -- "O1"
  cylinder { <-1.436494,-2.677406,2.422070>, <-0.714979,-1.184693,1.579784>,
0.000000  material { M_BD0 } } // #17: "Al1" -- "O1"
  cylinder { <-1.436494,-2.677406,2.422070>, <-3.087694,-2.795534,1.579784>,
0.000000  material { M_BD0 } } // #18: "Al1" -- "O1"
  cylinder { <3.313506,-2.677406,2.422070>, <4.243190,-4.051990,1.579784>,
0.000000  material { M_BD0 } } // #19: "Al1" -- "O1"
  cylinder { <3.313506,-2.677406,2.422070>, <4.035021,-1.184693,1.579784>,
0.000000  material { M_BD0 } } // #20: "Al1" -- "O1"
  cylinder { <3.313506,-2.677406,2.422070>, <1.662306,-2.795534,1.579784>,
0.000000  material { M_BD0 } } // #21: "Al1" -- "O1"

thanks

Mike Williams <nos### [at] econymdemoncouk> wrote:
> Wasn't it jasius who wrote:
> >It drives me nuts! How to render both molecules and bonds from Diamond 3.0?
> >i can see only molecules, now.
> >I replied to my previous post with this question, unfortunately I can't see
> >my reply and answer though i see number of answers, so I will post it one
> >more time
>
> Diamond 3.0 makes a number of assumptions about the POV-Ray environment
> that may not necessarily be true, but I can't see anything obvious that
> might cause the bonds to fail to render.
>
> Once I changed my master povray.ini file back to what Diamond 3.0
> assumes, the bonds render correctly on my system.
>
>
> In Diamond: Check that the bonds are not hidden, by using
> Picture->Hide and ensuring that "Hide All Bonds" is not selected.
>
> Also: check that the materials designed for your bonds are sensible by
> using Picture->Bond_Designs->Material. Check all the bond types (listed
> on the left side of the Bond Designs pane.
>
> Also: check that you have a sensible value for the bond radius
> (Picture->Model And Radii)
>
> If you're using "fragmentated" bonds, ensure that you've got at least
> the version 3.0a upgrade of Diamond. Version 3.0 had some issues with
> fragmentated bond export to POV-Ray.
>
>
>
> If they all look OK, try exporting a pov file rather than getting
> diamond to invoke POV_Ray directly. Then look for the materials that are
> declared for the bonds. It looks a bit like this:-
>
> #declare M_BD0 = material { texture { pigment { color rgb<0.25098,
>         0.25098, 0.25098> filter 0 transmit 0 } finish { F_Global }
>         normal { N_Global } } interior { I_Global } }
>
> #declare M_BD1 = material { texture { pigment { color rgb<1, 1, 1>
>         filter 0 transmit 0 } finish { F_Global } normal { N_Global } }
>         interior { I_Global } }
>
> And look for the cylinders that use these materials, which look a bit
> like this:
>
> // -- Coming now: 52 bonds --
> union {
>   cylinder { <0.000000,0.000000,0.000000>,
>         <0.890625,0.890625,-0.890625>, 0.050000  material { M_BD0 } }
>         // #4: "C1" -- "C1"
>   cylinder { <0.000000,0.000000,0.000000>,
>         <0.890625,-0.890625,0.890625>, 0.050000  material { M_BD0 } }
>         // #5: "C1" -- "C1"
>
>
> If you can't see anything obviously wrong with those bits of the .pov
> file, you could try posting those bits here (try to avoid posting the
> whole file if it's huge). We should be able to tell you what Diamond is
> doing wrong, and that might give you a clue about how to configure
> Diamond to do it right.
>
> --
> Mike Williams
> Gentleman of Leisure


Post a reply to this message

From: Slime
Subject: Re: <no subject>
Date: 14 Feb 2005 15:59:31
Message: <42111133$1@news.povray.org>
Those cylinders have a radius of zero, which is why they're not appearing.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Mike Williams
Subject: Re: <no subject>
Date: 15 Feb 2005 00:47:41
Message: <YT9VLCAYZUECFwxx@econym.demon.co.uk>
Wasn't it jasius who wrote:
>No good. Below is the part of output:
>
>// -- Coming now: 860 bonds --
>
>
>union {
>  cylinder { <-1.436494,-2.677406,2.422070>, <-0.506810,-4.051990,1.579784>,
>0.000000  material { M_BD0 } } // #16: "Al1" -- "O1"
>  cylinder { <-1.436494,-2.677406,2.422070>, <-0.714979,-1.184693,1.579784>,
>0.000000  material { M_BD0 } } // #17: "Al1" -- "O1"
>  cylinder { <-1.436494,-2.677406,2.422070>, <-3.087694,-2.795534,1.579784>,
>0.000000  material { M_BD0 } } // #18: "Al1" -- "O1"
>  cylinder { <3.313506,-2.677406,2.422070>, <4.243190,-4.051990,1.579784>,
>0.000000  material { M_BD0 } } // #19: "Al1" -- "O1"
>  cylinder { <3.313506,-2.677406,2.422070>, <4.035021,-1.184693,1.579784>,
>0.000000  material { M_BD0 } } // #20: "Al1" -- "O1"
>  cylinder { <3.313506,-2.677406,2.422070>, <1.662306,-2.795534,1.579784>,
>0.000000  material { M_BD0 } } // #21: "Al1" -- "O1"


I did say to check that the bond radius setting was sensible. 

>> Also: check that you have a sensible value for the bond radius
>> (Picture->Model And Radii)

Change it from "0" to something like "0.05" Angstroem.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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