[Papervision3D] Cube primitive with different materials on each side
shotty
shotty at technic9.com
Mon Apr 2 15:06:46 EDT 2007
Hi Kelvin,
I'm also new with papervision, and I was excited to see your post. I have
been working on something similar myself. I tried to look at your code, but
it seem's that there are some odd chars inserted into the plain text file
that comes up in mozilla. It also appears that the cube.as file is no longer
at the provided link. Could you please check that out, as I would love to
see how you solved it.
Thanks !
Aaron Wilson
www.technic9.com
www.factorylabs.com
On Mon, 02 Apr 2007 13:57:37 +0100, Kelvin Luck wrote
> Hi,
>
> I've just started playing around with Papervision (and AS3) this
> morning and I'm loving it :) After a long time lurking on the list
> I'm still surprised at how easy it is to use...
>
> Anyway, the first thing I did was create a spinning cube. I needed a
> different material on each side of the cube and noticed that this
> hadn't yet been implemented (although there was a message on the
> list [1] a while back where Carlos suggested that he thought being
> able to pass a materials list into the Cube constructor made sense).
> So I went ahead and hacked support for this into the Cube class.
> It's almost certainly not done the best way (like I said, I only
> started AS3 today) but could maybe be useful to someone so I've put
> it up here:
>
> http://www.kelvinluck.com/assets/papervision3d/cube_tweaks/
>
> Hope it helps someone,
>
> Kelvin :)
>
> [1]
> http://osflash.org/pipermail/papervision3d_osflash.org/2007-
March/002929.html
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
More information about the Papervision3D
mailing list