how to make a ‘bound of invisibility’ –

Gidday,

say I had an area – a simple box of dimensions $sideX, $sideY and $sideZ

Its nearest corner point to the origin was actually located at the origin so it took up only positive space in all axes

Making sense ?

Ok so what I want to know is how to animate objects through it so that they only show the part of the object that is inside that area. The box sides pretty much make up cutting planes – or maybe boolean boundaries – however it is easiest to code it really…

If an object was half in and half out you’d only see the half that was inside, I’m not too concerned with how the edges look with low vertex count shapes, so the cut on the object doesn’t actually need to follow the boundary – pretty much the shape I’d see is the sum result on the vertices within the bounding area, uncapped is fine – the boundary just defines which vertices end up being involved in the viewed shape and which are ignored/made invisible for the time being…

Basically a room of walls where things disappear when they go through or outside of them

This is just for UI viewing – it actually doesn’t need to render – maybe there is an easy way to do this in the UI settings ?

Any help much appreciated

No Responses to “how to make a ‘bound of invisibility’ –”

Post a Comment