|
![](/i/fill.gif) |
> Warp<war### [at] tag povray org> wrote:
>> bluestar<nomail@nomail> wrote:
>>> Hey Warp,
>>> I tried this and got the same effect.
>>
>>> difference { object {blackbox} } object{sliceplane}
>>
>> Now you are creating two separate objects with no connection to each
>> other.
>>
>> --
>> - Warp
>
> OK,ok I got it.
> This chopped off the box. Wrong side, but I'll fix that.
>
> difference { object {blackbox} object{sliceplane} }
Simple, just negate the plane's normal.
plane{y,0} becomes plane{-y,0}
If the plane ton't pass through the origin, like this:
plane{y, 10}, then you need to also negate the distance like this:
plane{-y, -10}
You can also use inverse.
>
> Also noticed the sphere void was not present, so I'll check syntax on that
> object as well.
>
> Also, I will seperate out all obects and will try the following to see if it
> works.
>
> difference { object {blackbox} object{spherevoid} object{sliceplane} }
This construction is OK
You start with the base object, then you remove the sphere and the plane.
>
> or the second half may need to be in brackets
>
> difference { object {blackbox} {object{spherevoid} object{sliceplane}} }
This one is not, at least, it's not recomended...
>
> Hey Warp, thanks for the nudges, much appreciated!!!
>
>
Post a reply to this message
|
![](/i/fill.gif) |