Archive for the ‘3D’ Category

A Little Something…

Sunday, March 25th, 2007

UPDATE: This is a newer version. Mostly visual changes. I plan on making the controls simpler as well.

This is something I’ve been working on for a few days now. Pretty much it’s a bunch of randomly generated balls, floating in 3D space. As of yet it has no purpose, but I want to make it represent something, like coordinates.
Rotate with arrow keys or shift.
Click on a ball to make it the center of rotation.
Zoom in and out with e and c respectively.
Pan with a, w, s, d.
Mousing over a ball will show it’s details.
Removed because I felt like it. A newer version can be found under the post “Feeling Better.”

More 3D

Sunday, January 21st, 2007

Yeah so I’ve been playing with 3D stuff. Haven’t gotten much else done *cough*Homework*cough*.

flash/3d Engine.swf” width=”600″ height=”600″ >

Sweet

Wednesday, January 17th, 2007

The other day while working on my Flash game, I decided to try again at programming dynamic 3D shit in Flash. I’d tried on multiple times before but ultimately failed (the rotation is the hard part, so I assumed that it required math beyond my comprehension. This time I just wanted simple parallel 3D, not in perspective. So I went about it like I was rotating a 2D image. I think what happened was I got two of the rotations working and while playing with those, I realized that I had in fact solved my problem. It’s hard to explain how it works, but pretty much, all I had to do was use Sine and Cosine to rotate the points in 3 dimensions, treating the other dimensions as if the were flat. This probably makes no sense, so I’ll show you the end result. Spin this cylinder around with your arrow keys.


flash/Parallel 3D.swf” width=”600″ height=”450″ >