POV-Ray : Newsgroups : povray.general : selecting several thousand lines in pov file : Re: selecting several thousand lines in pov file Server Time
4 Aug 2024 04:14:52 EDT (-0400)
  Re: selecting several thousand lines in pov file  
From: Tom Melly
Date: 16 Sep 2003 14:58:47
Message: <3f675d67@news.povray.org>
"Steve Shelby" <ssh### [at] rexnetnet> wrote in message
news:3f670e1a$1@news.povray.org...
> Hi,
> Is there an easier way to do this? I have about 9,000 lines, one of
several

<snip>

It's been suggested once as a solution by Tim Cook, but it deserves
re-emphasising - right proper include files.

It's then very easy to either add or comment out, or modify a boolean to
change the scene option, and, in your case, which files are included.

This is the portable and native method in pov for doing what you want - why
re-invent the wheel?

Just have stuff like:

#declare do_man = false;
#declare do_woman = true;

#if(do_man)
    #include "man_msh.inc"
    object(man)
#end

#if(do_man)
    #include "woman_msh.inc"
    object(man)
#end


Post a reply to this message

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