Does anyone have an example GU_PolyExtrude snippet of code, showing how to use the extrusion? I can't find anything apart from the HDK doc page in the forum, via Google, or on OdForce.
I'm a pretty poor programmer, but it's fun to learn and experiment
Ah, thanks for that nudge, Edward! I've got my code in an inlinecpp module, and it extrudes to no where, but it works!
When setting up a GU_PolyExtrudeXformCallback, I see *user_data is required, but I don't understand what that's supposed to be. Could you provide another bit of help for that?
When your callback is invoked, user_data is set to the value of parms.myCBUserData, which is NULL by default. This is to provide a means for the caller of polyExtrude() to pass data back into their callback function (if desired).