simple 3d in flash

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  02 February 2005
simple 3d in flash

i was wondering if it is possible to write a simple 3d engine in actionscript using macromedia flash. i know actionscript is weak against C and others but im just curious. id like to view and rotate a simple model. probably only in wire. if you think its possible please say how would you approach it.

btw. im only graphic programming beginer in the real meaning of this word . i mostly do web programming stuff.

thanks, mathew
  02 February 2005
there are 3d engines available as open source to do what you want.

the major concern really is why and how much. actionscript is just an interpreted language, very few parts are native c++ so as you alluded to, is very slow (plus is not capable of multi-threading).
  02 February 2005
poe, i know what you are saying. actionscript is not ment to be used this way but i just tought it could be a challange for me to do such thing.
  02 February 2005
the trouble you will find is simply speed. i wrote a basic 3d engine using flash 5, and it was sooo slow. now the flash player has improved in speed, and actionscript is vastly better with flash mx however you will still find it very slow, it's basically an interpreted language rather than compiled, and that brings a heap of problems with it.

if you want to do 3d online then i'd suggest using director instead. or just 3d in general then pick any compiled language because you'll need the speed.
The Third Party | Homepage | My Reel
"You need to know what you're doing before you start, and to start because you need what you're doing."
  02 February 2005
thanks for the info mdme. you know, it isnt for any usefull purpose. just for fun and exp
  02 February 2005
I wrote an object oriented rendering engine with BSP trees in Flash 7 about three month ago and it was dead slow even though I did a fair amount of optimization. Got around 1fps for 2000 polygons on a 1.2GHz machine.
Maya2Lw - Animate in Maya, render in Lightwave
  02 February 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:53 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.