i think the error is in the routine which creates the volume, and not in the routine which cuts the unuseful polys, beacause if you return the volume after step1, you'll get the same error...
create a shadow volume
Blitz3D Forums/Blitz3D Programming/create a shadow volumeThe 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.