A sphere hole inside a cube object (procedurally)

Hello guys,

I have create (procedurally) two objects: a Cube and a Sphere.
I want the Sphere to be the intersection of the Cube (intersection between two objects). Transparency doesn’t help me much, as you can see, because it ‘paints’ the sphere black and i can’t see the inner of the intersection of the Cube. The Sphere doesn’t need to show up. A picture follows:

1180-photo000001.jpg

Any help?
Thanks in advance.

Are you saying you literally want to build a new mesh object, which is the intersection you describe?

The very best 3D modelling programs, like Maya etc, will allow you to do that.

So do it in Maya, and import.

if you’re saying you want to actually program, from scratch, the mathematics of creating meshes from intersecting abstract shapes, so that you can do that on the fly, you’re talking about something that takes man-years of work.

Hope it helps in some way !