THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/06/2006 at 15:57, xxxxxxxx wrote:
Cinema 4D Version: 9.102
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
What are these 'passes' exactly?
DRAWPASS_OBJECT Object pass
DRAWPASS_BOX Box pass
DRAWPASS_HANDLES Handle pass
DRAWPASS_HIGHLIGHTS Highlights pass
I understand DRAWPASS_OBJECT and DRAWPASS_HANDLES. The other two?
On 20/06/2006 at 23:28, xxxxxxxx wrote:
just for completeness:
when the object is drawn
when the bounding box is drawn
when object handles (such as those of a cube) are drawn
when the (i.e. axis) highlighting is drawn
On 20/06/2006 at 23:59, xxxxxxxx wrote:
See, I don't go for the DRAWPASS_BOX as when the bounding box is drawn. When I tried that, nothing was drawn even though the bounding box showed (with GetDimension() implemented). If that really is what it is, then it doesn't work or is superceded by GetDimension().
Interestingly enough, if I use DRAWPASS_HANDLES, my cross-hairs get drawn even though this plugin object has nothing to do with handles. Maybe there is an either or situation created by implemented GetDimension() or DrawHandles()?
On 27/06/2006 at 01:06, xxxxxxxx wrote:
Did you ever get a call to ObjectData::Draw() with type==DRAWPASS_BOX? My experience is that this pass is not even called for objects. Anyway, the supported passes for ObjectData::Draw() are OBJECT and HANDLES afaict. The rest are internal.
On 27/06/2006 at 01:43, xxxxxxxx wrote:
Never. I decided to stick with HANDLES as the crosshairs shouldn't be visible all of the time as with OBJECT. Just wish there was a way that they could be shown with multiple objects of the same type selected.