Is there a way to show only a portion of a spatial? Lets say that I make a sphere in the center of my screen – is there a way to show only the top or bottom half of the sphere without altering the sphere itself?
Hrmm, sounds like you want to setup plane clipping.
Checkout jmetest.renderer.state.TestClipState.
Ah, thanks!
Using ClipState, I can't achieve what I would like – I'd like to clip the area outside (in the x and y planes) of a cube. So if I had a 2x2 cube rendered in the center of my scene, I would like to strip say, 1 unit around the cube, and leave 2 quads which are 1x1 and perpendicular to the camera direction. Is there a way to do this?
Oh, I see, you have to use the w portion of the clip plane equation. Was wondering what that was for.