|
|
On 8/16/2015 12:58 PM, Alain wrote:
> Le 15-08-12 23:39, Mike Horvath a écrit :
>> I have a model of a town I made in LDraw. How do I make it so the floor
>> (a checkered plane) only exists where the town doesn't exist along the
>> x+z plane? The reason I can't just use a plane is that parts of the town
>> (such as the road surface) are slightly beneath the plane, and a plane
>> would hide these areas. What should I do?
>>
>> Thanks!
>>
>>
>> Mike
>
> If your town is square, use a plane diferienced with a box used as a
> standin for the town:
>
> difference{
> plane{y,0}
> box{<-100,0.1,-100><100,-1,100>} //adjust to the dimentions of the town.
> pigment{checkers}
> }
>
> If the town is not square, you can substitute a prism for the box.
>
>
> Alain
I made some modifications, and the town is now rectangular which makes
things a lot easier. A rectangular box should be sufficient now.
Mike
Post a reply to this message
|
|