tags:

views:

176

answers:

2

I want to show a box in 3d on my website, and I was thinking to do it in Flash. How I can show a 3d model? I need something very simple, it's a textured cube, no interaction required, just let the user pan and zoom. There is a 3ds viewer in flash or something like that?

Java is also ok (but flash is preferred)

+2  A: 

To speed up the process, the Papervision lib is useful. however - it can get heavy. Yet the examples for papervision will have this - thus allows you to just copy paste code.

Really cool example - with code. http://www.cs54.com/blog/examples/papervision/rotate-block/rotate-block.html

Theres a vid tutorial on interactive cube on gotoandlearn() http://www.gotoandlearn.com/ - Lee Brimlow

http://etc.joshspoon.com/2007/10/20/how-to-make-a-rotating-cube-in-papervision-3d/

Simple googling papervision3d cube example will bring you infinite results.

Glycerine
+2  A: 

Flash is signifficantly easier. Java can outperform Flash when using JOGL, but unless you're planing to have more than 200 polygons, Flash is just fine. You can use one of the big Flash 3D engine. Probably Sandy will be easier, since a sandy SkyBox is just what you need. Alternatively, you can just modify this little thing: http://www.advance-media.com/flash_10_as3_rotating_cube_3D.html

back2dos