February 13, 2008 at 5:13 am
· Filed under Sandy3d, 3d, Graphics, BitmapData, Papervision3d, AS3
Uff… long time I don’t write here…
So… what I have been doing?
Actually… nothing interesting…
Then, couple days ago I started developing my own 3d engine.
I won’t make it public because it will take all my free time that I actually don’t have…
I didn’t run any benchmarks, I think it’s more heavy processing than Papervision3d.
anyway… here is it…
Permalink
November 28, 2007 at 5:05 pm
· Filed under Sandy3d, BitmapData, Performance, Papervision3d, AS3
I was making some experiments with Sandy3d and Papervision3d and I realized some tips to increase the performance.
Firstly, with Sandy3d 3.0, when you create a BitmapMaterial, the BitmapData that you used to create the Material, is cloned to create the BitmapMaterial.texture.
So, one think you can do is dispose the BitmapData that you used to create the Material after instantiating it and also, if you want to update your BitmapData use the BitmapMaterial.texture directly.
Something like this:
var bmpData:BitmapData =
new BitmapData
(100,
100,
true, 0×00000000
);
var bmpMaterial:BitmapMaterial =
new BitmapMaterial
(bmpData
);
bmpData.dispose();
bmpMaterial.texture.fillRect(new Rectangle(10,10,30,30), 0xffff0000);
This will not work with Papervision3d because it uses the same BitmapData instance (in my opinion, smarter).
Now for both, Sandy3d and Papervision3d.
As you make changes on your BitmapData, it’s updated on every poligon.
So, use the BitmapData.lock() and BitmapData.unlock() when you are redrawing your BitmapData texture.
var bmpData:BitmapData =
new BitmapData
(100,
100,
false, 0×00000000
);
var bmpMaterial:BitmapMaterial =
new BitmapMaterial
(bmpData
);
redrawBitmap();
…
function redrawBitmap(){
bmpData.lock();
bmpData.fillRect(bmpData.rect, 0×00000000);
bmpData.fillRect(new Rectangle(10,10,30,30), 0xffff0000);
var blurFilter:BlurFilter = new BlurFilter(16, 16, 3);
bmpData.applyFilter(bmpData, bmpData.rect, new Point(0,0), blurFilter);
bmpData.unlock();
}
Permalink
October 18, 2007 at 8:06 pm
· Filed under Links, Papervision3d, AS3
Finally, a release.
http://www.recyou.jp
It’s not my first work here in Japan, but I assume it’s my debut project.
It’s a website for the new Sony walkman. People here in Japan uses the word Oneseg(One segment) for devices that have multi-uses.
Actually, I don’t know what this walkman is capable, but it looks like a walkman that you can watch tv broadcasts and record it.
The flash stills a little heavy processing, actually I didn’t have much time to improve it.
I’m using Papervision3D on the ‘G’ Grid Mode. Actually I made plenty of examples… maybe we will update with new Papervision3D views.
Clicking on ‘S’, you can upload you picture and than the magic does the rest, and your picture will show up singing. And also, if approved, your singing picture will be broadcasted on Japanese TV.
Anyway, enjoy it.
Permalink
September 22, 2007 at 5:48 pm
· Filed under Links, Papervision3d

Amazing website was made by my friends from Gringo.nu and Cutwater.
Also the content is great, by Michel Gondry.
Must check it out.
Permalink