Hello!

Le mercredi 6 janvier 2010, Juzar Thingna a écrit :
> Hi Stephane,
> Here is my pov file
> 
> box {
> <0,120,0>,<250,130,250>
> pigment{
> color rgb <0,0,0>}
> }
> box {
> <3,130,3>,<123,250,123>
> pigment{
> color rgb <1,0,0>}
> }
> box {
> <126,0,126>,<246,120,246>
> pigment{
> color rgb <0,1,0>}
> }
> 
> And the computational domain is the foll
> 
> vector n=(100,100,100);
> vector a=(0,0,0);
> vector b=(250,250,250);
> scene S=pov("graphene.pov");
> mesh M=structured(n,a,b);
> 
> And the problem occurs when I specify
> 
> domain O =domain(S,inside(<1,0,0>) && inside(<0,0,0>)&& inside(<0,1,0>));
I think you meant union of your boxes in previous mails.
So, it is not a 'and' (&&) but a 'or' (||) that you need for your domain 
definition :

domain O =domain(S,inside(<1,0,0>) || inside(<0,0,0>) || inside(<0,1,0>));

Best regards,
Stéphane.


_______________________________________________
ff3d-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/ff3d-users

Reply via email to