PDA

View Full Version : Rpixel3d release -another way to 3D!



Bruce Jawn
August 1st, 2008, 11:42 PM
This is something I wanted to do since 2005, but started and finished half an year ago.
This is an final vision because I won't have time to do with it any more.

I am sorry that this work is not effective at all, be careful of your CPU if your use a larger
picture! We all know that 3d for pixels can't be used for real time 3d textures now. However, I do like its simplicity.
You can use it for small pictures or in pre-rendered 3D movies if you like.
Maybe you will write an flash-10 vision, use the new Vector3D class instead of Robert Penner's old one, to test the speed.

The only useful thing here is how to fix fishbowl distortion.
If you only use BitmapData setpixel() to draw 3D transform, there will be annoying gaps between pixels.
The trick is to use a Shape and drawRect() or lineTo() and then a Bitmap to draw() that Shape back.
Enjoy!

DEMO (http://www.geocities.com/zhoubu1988/temp/Rpixel3d-Main_history.swf)(Please download it to view! Be careful of your CPU!)
source (http://code.google.com/p/flaswf/downloads/list)
http://bp0.blogger.com/_VM_xh6rvt_I/SJPIGhul9kI/AAAAAAAAADI/0Oh6NcaqUUg/s200/Rpixel3dpic.jpg

Templarian
August 2nd, 2008, 12:51 AM
Wow not to be mean, but that runs really badly.

I remember there was something just like this in AS2 a few years ago and it ran really smooth, doubt I would be able to find it... but it had a full source that might of been useful for you to check out.

Bruce Jawn
August 2nd, 2008, 01:48 AM
Wow not to be mean, but that runs really badly.

I remember there was something just like this in AS2 a few years ago and it ran really smooth, doubt I would be able to find it... but it had a full source that might of been useful for you to check out.

Thanks for your comment!
If anyone want to try something cool and effective playing with BitmapPixels,
please do come here (http://lab.andre-michelle.com/tag/particles/)
(http://lab.andre-michelle.com/tag/particles/)