|
![](/i/fill.gif) |
This entire exchange reveals my gross inexperience with POV Ray. It's the
only command line software I use, and I'm not very good at it!
Here's what I figured out with all the help above: Select all the "objects"
in the file. Do a Replace All 1.000000 with 0 within the selection. The
only catch is to make sure none of the RGB coordinates in the modeling
program I use are set to 255. These become 1.000000 in POV Ray and get
reset to 0, too.
Many thanks to the folks who helped with this problem. It was a simple
solution, really. (I hate looking dumb!)
Greg
"Tim Attwood" <tim### [at] comcast net> wrote:
> > I don't think so. I have,literally, several thousand spheres and cylinders
> > in the file.
>
> You could record a macro(cntrl-shift-r) that searches (cntrl f) for "rgbt"
> and replaces it
> with "fix_trans(" then searches for the next ">" and replaces it with
> ">)".... end macro, assign a hot-key... then you can hit that
> hot-key a few thousand times (at least in the windows version)
>
> And then add a macro near the beginning something like...
> #macro fix_trans(A) rgbt <A.red,A.green,A.blue,1-A.t> #end
Post a reply to this message
|
![](/i/fill.gif) |