POV-Ray : Newsgroups : povray.general : Lost color : Re: Lost color Server Time
31 Jul 2024 12:17:10 EDT (-0400)
  Re: Lost color  
From: Tim Attwood
Date: 20 Mar 2007 03:50:55
Message: <45ffa06f$1@news.povray.org>
> 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

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