POV-Ray : Newsgroups : povray.general : Object on or off ??? : Re: Object on or off ??? Server Time
4 Aug 2024 02:21:25 EDT (-0400)
  Re: Object on or off ???  
From: ABX
Date: 13 Aug 2003 01:42:09
Message: <4mjjjvkpemumpq96i6jvi367pjrupce7o7@4ax.com>
On Tue, 12 Aug 2003 19:15:02 -0600, "Kevin Loney" <kev### [at] ekoikcom> wrote:
> #declare ShowObject = true/false/yes/no/on/off;
>
> #if(ShowObject)
>    object {
>        obj_Whatever
>     }
> #end

additionally ShowObject can be controlled from command line/ini option box

Ini Option:

  Declare=ShowObject=1

POV Script:

  #ifndef(ShowObject)
    #declare ShowObject = true/false/yes/no/on/off/0/1;
  #endif

  // [...] some POV code

  #if(ShowObject)
     object {
         obj_Whatever
      }
  #end
    

ABX


Post a reply to this message

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