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
|