ff3d-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ff3d-users] Referencing issue


From: Stephane Del Pino
Subject: Re: [ff3d-users] Referencing issue
Date: Fri, 04 Jun 2004 11:21:40 +0200

Hi again.

As I told you before, the union is not necessary at this point.
If you give different references to all of yours cylinder, you just have
to define your domain that way:

domain(S,outside(<0.9,0.9,0.9>) and outside(<0,1,1>) and
outside(<0.9,1,1>), ...);
and then use each color withing the solve statement.

By the way, be carreful. At the end of this union, you specified a new
color, and I am not sure of ff3d's behaviour in that case ...

Arun Viswanathan wrote:
> union {
>         sphere {
>                 <0.05,0.05,0.5>, 0.05
>                 pigment { color rgb <0.9,0.9,0.9> }
>         }
> 
>         cylinder {
>                 <0.5,0,0.5>, <0.5,1.4,0.5>, 0.4
>                 pigment { color rgb <0,1,1> }
>         }
> 
>         cylinder {
>                 <1.5,0,0.5>, <1.5,1.4,0.5>, 0.4
>                 pigment { color rgb <0.9,1,1> }
>         }
/* snip! */
>         cylinder {
>                  <1.5,0,5.5>, <1.5,1.4,5.5>, 0.4
>                  pigment { color rgb <0,0,1> }
>         }
>         pigment { color rgb <0,1,0> } /* <- HERE */
> }

Regards,
Stephane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]