|
![](/i/fill.gif) |
Wasn't it Amir_ni who wrote:
>Hi Mike, Thanks! I am new to this site, so it seems I have posted my
>question in
>two different places. Is it possible to make the shape of that cavity as an
>independent object like a sphere so that I can use illumination features? I
>mean, when I use """ finish{ambient 0.3 specular 0.5 reflection 0.4} """
>inside the difference command block, I think it doesn't illuminates the new
>shape, but it first illuminates the sphere and then make a geometrical
>subtraction (though I may be wrong). I want to do some illumination effect on
>the object so that when I turn the camera, the gloss and other effect can be
>observed.
You can apply a finish to a difference in exactly the same way as you
would to a primitive object. The only thing that's different is that if
one of your spheres also has its own texture or part of a texture (i.e.
pigment, finish or normal), the texture applied to the sphere is used,
rather than any part of the texture attached to the difference that
contains it.
The logic is that that allows you to create CSG shapes that have
different textures on different parts. [It's most logical if you think
of a union of differently textured objects].
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |