POV-Ray : Newsgroups : povray.newusers : <no subject> : Re: <no subject> Server Time
29 Jul 2024 22:20:06 EDT (-0400)
  Re: <no subject>  
From: Mike Williams
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

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