Archive for papervision3d
Webcam and papervision3d
September 25th, 2008 • creative, demo, flash, general, lab, papervision3d
This night I saw this
So I wanted to try this in papervision3d. Well it is possible but there are some depth problems.
arToolkit and papervision3d
September 25th, 2008 • 8 comments ar, creative, flash, hot, papervision3d
Too sad that my french and japanese is really bad. I recently found a great arToolkit demo for flash called FlarToolkit. After randomly clicking all the links I could find on the page, I found the svn :-)
I had a compile error using flex sdk and eclipse. after changing a private to public property it worked.
It performes really well but you can also see that I is still not really stable. I think the major bottleneck is the bad webcam quality compared to a dv cam.
What I don’t get:
When the FlarToolkit has found the rectangle in the “2d” image, how can I transform this data in the papervision3D room. If you have a 2d->3d math for dummies link – please drop me a line.
What I would love to do:
As you can see there are some serious tracking precision issues. In my opinion the major problem is the pixelbased tracking. It’s a waste of performance. This could be solved by an Idea Mario Klingemann presened on the FFK08 called blobdetection.
Well this is my theory:
- Blur the camera image and convert it in black / white image
- With getcolorBoundsRect and floodfill detect all black rectangles in the image
- Find the marker rectangle
- Use an edge detection
- You should be done
So you only need to analyse a small amount of pixels directly for the edge detection. The other stuff can be done by “internal” flash functions which are really fast. Maybe I’ll try it – someday.
Flint is now ready for papervision3d
September 17th, 2008 • flash, flint, general, hot, input, papervision3d
Wohoo! Yeah! Awesome! I just read that flint particle system now has the promised pv3d renderer. I’ll test it asap but at first I should enjoy the last sun rays here.
check it out:
http://flintparticles.org/blog/20-alpha-2-released
you should also read about a bug in papervision3d in the earlier posts of the flint blog. Otherwise it might not work
My curtain, but not my credits
September 12th, 2008 • 2 comments demo, flash, general, lab, papervision3d, wow
The real tricky coding was done by http://www.clublime.com. But his demo is down for some reason. So I just changed his cloth idea a little to get a really nasty green curtain.
demo and source are here:
http://experiments.alexmil.de/pv3d-curtain/
The idea isn’t verry so tricky at all. The plane is analysed and on everey “corner” (just look on it with applied wireframe material) a “ball” with physics is added. Theses objects will not be rendered. Balls are “wired up” with constraints. When the physics kick in the balls move. Their new position (x,y,z) is also the position of the plane vertices. Hm doesn’t sound simple at all… but it really is. Major problem is – as i explained earlier – the performance on planes with a huge amount of vertices.
Can Papervision3D draw lots of shadows @ realtime
September 11th, 2008 • 2 comments demo, flash, lab, papervision3d
Yes It can. And it’s just awesome! Every cube has a FlatShadeMaterial and I implemented andy’s shadow caster
demo with source here:
http://experiments.alexmil.de/pv3d-shadow1/
Andy Zupko posted the shadow class and an demo here:
So I just wanted to see how well it performes. Furthermore I wanted to provide a full compileable demo with complete asset – actually there’s only a white jpg in the asset folder :-)
I had some clipping trouble moving an object directly over the plane with casted shadows. I can’t tell either it is a render problem or I just did something wrong.
Physics and Flash – my summary
September 5th, 2008 • flash, general, hot, papervision3d, wow
The last days i worked with the wow-engine and papervision3d. I tried to simulate a capet that opens with a specific behaviour.
Sorry I can not yet post the source cause it’s part of a commercial work. But I will – maybe – someday :-)
So here is my subjective view what you can achieve with that setup, and what not.
You can:
- simulate falling, bounching and movement of non complex objects
- create the illusion of wind
- create the illusionof elastic material
- using a tweener – create greate almost organic effects
so thats the good thing. but there are also some bad things. don’t get me wrong i’m happy that pv3d and wow are ther for free. I love it. But there are some things you can not yet achieve with it.
You can not
- simulate complex material with a lot of vertices (cpu!!)
- create a really realistic material (allways behaves kind of odd)
Wow is very cool! I love it and I will use it again for another demo. Combining phyiscs and an audioanalyser might be fun.
Don’t repeat yourself
September 2nd, 2008 • flash, general, papervision3d, wow
After researching for my cloth problem Fabian postet me a great demo of http://www.clublime.com/. I think this is a great startingpoint. So now it’s coding time.
Papervision3D and physics.
September 2nd, 2008 • flash, hot, papervision3d, wow
Well i thought: wouldn’t it be great having the possibility to apply a physical material to any object you want. like the magic carpet demo.
so i startet researching. right know my major problem is to find the vertices / faces which are next to each other. cause i need to “wire them up” with constraints for a realistic effect. when you know the answer please contact me :-)
I already postet my problem into the pv3d dev forum maybe it helps. this could be so great… well otherwise i will create just another pv3d physics carpet :-)


