[Papervision3D] DAE interactivity basics
Jesse Morrison
jm at digitalmorrison.com
Sat Dec 6 14:43:29 PST 2008
Hi
Just trying to get my head around loading Collada models and making them
respond to the mouse.
Can I add an event listener for CLICK to the model itself, or do you
always need to add the listener to a material? I see that you can't set
"interactive = true" for a DisplayObject3D.
What if I'm bringing in flat-shaded polys from Max (with some faces
having different colors)? I'm not interested in adding materials, as I'm
exploring the effects I can get with a more "cel-shaded" look. A problem
is that beveled text objects in Max export with plenty of trangles, and
I have no idea how I would apply flat-shaded materials selectively in
PV3D to, say, just the front of the model.
I have also been unable to export materials from Max 2008 using the
ColladaMax plugin. The geometry exports fine, but I don't see any
options for the materials.
Ideally, I could model in Max, export the DAE and load into PV3D, then
assign a mouse listener to the entire model as-is, with no need to
fiddle with materials. It seems like this must be possible.
Thanks
Jesse
More information about the Papervision3D
mailing list