|
|
You could either do it by making a union and then giving that an interior or
#declare an interior and use it in each object. For example:
union {
sphere {<1, 0, 0>, 1 pigment {color rgbt <1, 1, 1, 1>}}
sphere {<-1, 0, 0>, 1 pigment {color rgbt <1, 0, 0, .9>}}
hollow
interior {
media {
ect.
}
}
}
Or,
#declare Media_example =
interior {
media {
absorption <1, 0, 0>
}
}
sphere {<1, 0, 0>, 1
pigment {color rgbt <1, 1, 1, 1>}
interior {Media_example}
hollow
}
sphere {<-1, 0, 0>, 1
pigment {color rgbt <0, 1, 1, .8>}
interior {Media_example}
hollow
}
-Mike
Matt Crawford wrote:
> I have a quick question, can you spread a media over numerous objects in a
> union statement? That is to say, is it possible to have many objects share
> a single media that would show parts of a large media? If anyone knows what
> I mean any help would be greatly appreciated.
>
> Thanks,
> Matt
Post a reply to this message
|
|