Wishing for a use of the z-buffer...

Blitz3D Forums/Blitz3D Programming/Wishing for a use of the z-buffer...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Try this Cygnus, might help in your task.

http://www.tomspeed.com/clipplanes.zip

put the .decls and .dll into Userlibs

cursors & 'a' & 'z' to rotate/move the plane

Most DX7 cards have user defined 'clipping planes', usualy 6 of them. You can turn them on/off independantly, you can set their position & rotation.

Clipping planes work just like a cameras near/far range, and anything behind the planes won't get rendered.

Note: user defined means they have nothing to do with Blitz3Ds native camera/viewport clipping regions, these work seperately.

[Edit] Throw 'Wireframe True' in the example code to see it working better :)

Tom