POV-Ray : Newsgroups : povray.newusers : povray and 3D graphs : Re: povray and 3D graphs Server Time
28 Jul 2024 22:19:50 EDT (-0400)
  Re: povray and 3D graphs  
From: Alain
Date: 22 Apr 2008 13:52:10
Message: <480e25ca@news.povray.org>
Larry Hudson nous illumina en ce 2008/04/20 19:07 -->
> Alain wrote:
>> ...    <snip>
>>
>> When I want to show axis, I create an axis object made of 3 long and 
>> thin cylinders, completely separated from the rest of the objects of 
>> the scene.
>>
> 
> And the obvious added comment:  writing this as a #declare'd union makes 
> it very easy to display them or not.  eg.
> 
> #declare Axes = union {...}
> 
>      then use either
> 
> object { Axes }       //  To display them
>      or
> // object { Axes }    //  To hide them
> 
>      -=- Larry -=-
I prefer this:
#declare ShowAxis = 1;
.
.
.
#if(ShowAxis) Axes  #end

-- 
Alain
-------------------------------------------------
WARNING: The consumption of alcohol may leave you wondering what the hell 
happened to your bra and panties.


Post a reply to this message

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