Sean Thompson
2010-08-31 10:00:28 UTC
I'm trying to use papervision to sort the depth for a number of items. It
can be assumed that no two items will intersect each other, that all items
are cuboid, but that some items will be massivly longer than other items.
It already does a great job of this, but in this instance I'll be using the
information to control some graphics external to papervision. For this, I
need a definite idea of 'item a is in front of item b' (if that's the case).
My two train of thought is to get papervision to render items one at a time.
that is, it will fail to make cuboids intersect correctly but the front item
will appear in front. obviously, any other way of getting this information
would be greatly received.
Ta. Sean.
can be assumed that no two items will intersect each other, that all items
are cuboid, but that some items will be massivly longer than other items.
It already does a great job of this, but in this instance I'll be using the
information to control some graphics external to papervision. For this, I
need a definite idea of 'item a is in front of item b' (if that's the case).
My two train of thought is to get papervision to render items one at a time.
that is, it will fail to make cuboids intersect correctly but the front item
will appear in front. obviously, any other way of getting this information
would be greatly received.
Ta. Sean.