PDA

View Full Version : Flash 3D Viewer


Pjanssen
06-01-2007, 08:24 AM
Hi,

in the past months I've been working on a tool to show 3d graphics in flash. I wanted to create an easy way to make the presentation of 3d renders more exciting by adding interaction. Another goal was the usability as online content. There are some solutions for 3d viewers already available, but they all need additional plugins. With the current flash player penetration, you can safely say that almost everyone will be able to use this.
The result of this is the flash 3d viewer. This tool allows you to create and interactively view objects made in a 3d package like 3dsmax in flash. It supports animation as well. The viewer data is prerendered, meaning that it's not real 3d.
The tool consists of three parts, a maxscript (3dsmax) rendering tool, a standalone compiler to create a swf, and a flash viewer. It is released under GPL and it's available for free, to use as it is, or to modify it if you want.

Since this is a flash forum, I'll tell a bit more about the flash part.
I tried to make the flash viewer as flexible as possible. The viewer consists of a 'core' class, which provides the basic functionality and extensions. The core class can do little more than loading a f3dv file and provide the basic rotation interaction. The extensions provide extended functionality like animation, auto-rotation, but also things like a loadbar, 'supporting' graphics, controls etcetera. Each extension has it's own class (extending the 'extension' class), so you'll never have to dig into the core code, or into the code of other extensions.
In flash, you can create a component from these extension classes and just drag them into the viewer movieclip. That's basically all you'll have to do to include an extension.

http://img514.imageshack.us/my.php?image=f3dvflashviewercomponenul9.jpg
edit: image tags aren't working here?

For examples, go to : Threesixty.nl, my portfolio (http://www.threesixty.nl/?section=portfolioItem&categoryId=1&itemId=67)
For download- and more detailed information, go to : The Flash 3d Viewer thread on CGTalk (http://forums.cgsociety.org/showthread.php?f=98&t=488927&page=1&pp=20)

Let me know if you like it :)

evride
06-02-2007, 04:20 AM
wow, pretty amazing looking. too bad i dont have 3ds max

NikoNora
06-02-2007, 04:32 AM
Can I use Maya to make 3d files for this or is it only usable with 3d-max?
Sorry for my retarded laguage, have been working for 13 hores straight:cool:

Pjanssen
06-02-2007, 11:11 AM
Thanks guys.
At the moment it's 3dsmax only. However, a friend of mine, Simon Barsky, is writing a script for Maya. He's progressing well and will be finished before long.