Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsShowcase → Flash
Flash
2007-01-01, 11:25 AM #1
I've decided to learn Actionscript over Christmas break this year, so I thought it would be fun to try some 3D stuff.

This is what I have so far:
- System to render out nodes, edges, and polygons
- Basic control system (rotate, zoom, and move camera)
- Java "converter" which takes a .mdl file and converts it to a custom formatted text file
- Actionscript importer which imports the data from the text file and constructs a model from it

I attached a picture of the model in Animation Master, here's the same model in flash:
https://mywebspace.wisc.edu/vandeweghe/web/engine.htm

Current issues:
- It runs pretty slowly. There are a few things I'm aware of that will speed it up a bit, but I'm guessing it's also the limits of what flash can handle
- I currently have all splines fully connected (first node connects to the last node). This is sometimes correct, but at other times it's not what I want



If you're interested, here are 2 more tests I did a bit earlier (that eventually led to this project):
https://mywebspace.wisc.edu/vandeweghe/web/stars.htm
https://mywebspace.wisc.edu/vandeweghe/web/particles.htm
Attachment: 14891/robot.jpg (30,475 bytes)
2007-01-01, 12:55 PM #2
Looks pretty neat

About the second link from the bottem, is it suppose to be about flying through the galaxy?
SnailIracing:n(500tpostshpereline)pants
-----------------------------@%
2007-01-01, 7:48 PM #3
Echoman: Yeah, that was the basic idea. I didn't spend much time on it, I was just seeing if the idea would work.

UPDATE: I updated the link. Now it has a new model (also exported from animation master). I also modified the code to speed up performance (it now only has to do about half the calculations it was doing before)
2007-01-01, 8:52 PM #4
I think Flash already supports 3D natively. Unless I'm thinking of Shockwave...

I mean, I understand if this is just a learning exercise for you (and it's good, if a little on the slow side), but if you wanna do 3D in a browser, you need hardware-acceleration. I'm almost positive it's Shockwave that does this.

2007-01-02, 12:00 AM #5
Yea but for coding practice, this does help a lot :P
[01:52] <~Nikumubeki> Because it's MBEGGAR BEGS LIKE A BEGONI.
2007-01-03, 12:16 PM #6
what happened to the little martian dude, and te cave monster?


also, new photos?


also, also, this is pretty neat, but i don't understand most of what you're talking about, mostly cause I'm not a coder.
My girlfriend paid a lot of money for that tv; I want to watch ALL OF IT. - JM
2007-01-08, 8:32 PM #7
And I'm finally back with an update, sorry it took so long...

Here's my newest progress:
https://mywebspace.wisc.edu/vandeweghe/web/polygons.htm

At this point, I have polygons, edges, and nodes correctly implemented. The details:
- polygons sorted using (a slightly modified) painter's algorithm
- backface culling to eliminate rendering of hidden faces
- basic lighting/falloff based on angle of polygon to the camera

Originally posted by Ford:
also, new photos?


I actually DO have some to showcase...I'll post them when I get a bit of free time.
2007-01-09, 11:59 AM #8
that's pretty cool im impressed
"Nulla tenaci invia est via"
2007-01-09, 2:27 PM #9
I'm impressed as well!
2007-01-11, 9:06 PM #10
Once again...I return with an update:

https://mywebspace.wisc.edu/vandeweghe/web/polygons.htm

Newest features:
- Bones allowing rotation and translation
- Hierarchical structure for parent and child bones
- Keyframes for animation
2007-01-12, 10:36 AM #11
Woot! Mynock!

↑ Up to the top!