Hello.
I'm messing about with my first 3d architecture (well, it's a foray into 3d in general), and I'm having a few conceptual issues.
The main one right now is that of intersecting polygons in the view. Say I'm drawing two space-ships on my screen as polygons - the rasterisation into 2d spans is fine - I get that. My problem comes when the spaceships hit each other and intersect.
I've seen a lot of documentation about rasterisation, and most of them draw a polygon at a time, an object at a time, so there is no intersection; one object will simply overlay the next... I don't want that.
So, as far as I can tell, this leaves me two choices:
z-buffering
and
"something else"...
I've looked around, and the "something elses" never seem to deal with intersections either - they assume a polygonal mesh where polygons share vertices and have no intersections.
I'd like to find a way other than z-buffering... can anybody point me at a method that allows intersection? (Or am I being naive here and missing something?)
Cheers,
Refractor.
I'm messing about with my first 3d architecture (well, it's a foray into 3d in general), and I'm having a few conceptual issues.
The main one right now is that of intersecting polygons in the view. Say I'm drawing two space-ships on my screen as polygons - the rasterisation into 2d spans is fine - I get that. My problem comes when the spaceships hit each other and intersect.
I've seen a lot of documentation about rasterisation, and most of them draw a polygon at a time, an object at a time, so there is no intersection; one object will simply overlay the next... I don't want that.
So, as far as I can tell, this leaves me two choices:
z-buffering
and
"something else"...
I've looked around, and the "something elses" never seem to deal with intersections either - they assume a polygonal mesh where polygons share vertices and have no intersections.
I'd like to find a way other than z-buffering... can anybody point me at a method that allows intersection? (Or am I being naive here and missing something?)
Cheers,
Refractor.