FLARToolkit and JigLib physics

FLARToolkit and JigLib physics

I have made a try at controlling an item inside the JigLib physics engine using FLARToolkit.

It not very beautiful as I haven’t found a good way to convert the matrices between the two worlds.
But it gives an idea on how is could work.

It would be really nice to see an example with a “real” matrix transformation, where focus and zoom of the 3d cameras fit together.
I have not seen examples of this anywhere yet.

I’ve seen a few examples of people transforming the whole world, but that is not as interesting.

Download the code here and give me a shout if you make progress!

The FLARToolkit is my own version, that you can see here.



4 Comments

Interesting example!

rocketmcm

Hey there,

Nice sample. I am working on a maze game combining this stuff at the minute. Having some problems with quality though.

What camera and computer are you using to run this? I can only ever manage to get above 10fps on rare occasion. Even with an even simpler scene as you have created. However I am using some sub-standard computers in my university labs.

yeah seems to be some serious problem with the back-face culling when combining the two worlds.

maybe if not rendering them seperate, no render for jiglib and noone for the pv3d flartoolkit. just getting the data , and pass it onto a 3rd pv3d setup that renders both?

thanks for releasing the code thou, should take a look at it someday

Hej Anders,

I was wondering did you try to combine JigLib with FlarManager?

Please leave a comment.



Design by AMY&PINK.