clipped objects appear 'solid'?

Blitz3D Forums/Blitz3D Programming/clipped objects appear 'solid'?

shawnus(Posted 2004) [#1]
Dear all,
When using camera range to move 'into' a 3d model, is there a way of making the interior appear 'solid', (eg. similar to using procedural textures in 3dsmax). I am not talking about backface cull, I want the clipped edge to go across the whole model to give that solid appearance, like cutting a block of cheese in half & looking at it as opposed to cutting in half a hollow cardboard box and looking at it. In medical terms this is called volumetric rendering, I think.
Cheers, Shawnus


Skitchy(Posted 2004) [#2]
Lots of meshes, each slightly smaller than the next - like a Russian doll?

Or update verts manually so that they always stay ahead of the camera?

Don't know if those things will work, but they're just my initial ideas :)


Rob Farley(Posted 2004) [#3]
The quick answer is no.

Basically you'd have to split the mesh up real time and rebuild it with additional faces based on where the camera is.

I guess it's going to be boolean operations with regards to the maths as you'll need to slice off the edge of a mesh where the camera is.

Well... good luck!


shawnus(Posted 2004) [#4]
Yes, I thought as much. The models I am using are very curvy, so by using a very narrow camera range linked to a narrow fog, this gives the illusion of slight width. However it does not work on sections of the model which are dead straight. Thanks anyway.
Cheers Shawnus