Papervision 3D -- drawing abstract shapes?

I’m looking to make some abstract shapes in PV3D – specifically an arrow. This seems silly, but I can’t seem to hunt down documentation on drawing shapes from point to point. I guess I can just make the item in a 3D program and use a DAE model, but that seems like a bit of overkill for a simple item like an arrow.

Am I totally overlooking something, or should I just go ahead and pull in a 3D model? (Is there some… drawTo(x, y, z) functionality?)

Something like this (just a dirty sketchup):

Update:

I got this working with a DAE file, but it still seems a tad silly, heh.

Update 2:

Alright, got this working well with a DAE model, but there’s some significant clipping issues on rotation, the tris are showing. I tried paring the whole thing down to quads without seeing an improvement in visual performance. Hrm. :-/

Shoot, I played around with making my own geometry in PV3D (great white) before, but it’s been awhile so I’m sketchy on the specifics. I used Triangle3D to build the individual faces (the coords grabbed from an array I’d bring in via XML), then pushed them all into a single DisplayObject3D. I can try digging up some of the source for it when I’m home again and have a chance, but hopefully that’ll put you in the right direction. :slight_smile:

That’s very helpful, thanks. The collada objects were kind of being a performance drain.

See if this provides any help:
http://www.flashandmath.com/advanced/simple3d/

I haven’t yet, but I certainly plan to. For this project I’m too far into the development with PV3D to switch, but I always like to try all the options. Keep us updated with how you like it. :slight_smile: