Author Topic: IN2AR  (Read 240 times)

Jonas Volger   «   on: November 06, 2011, 05:08:45 PM »
Hey Guys!

Right now I am experimenting with the augmented reality library of IN2AR. I am having difficulties to apply the transformation matrix of the recognized object to a 3d model. Ariel, any ideas how to apply it? Is there a way of applying a Matrix3D transformation matrix directly to a Pivot3D?

Any help is much appreciated!

Regards, Jonas

Ariel Nehmad   «   Reply #1 on: November 06, 2011, 11:35:15 PM »
Hi Jonas, I don't know the details of how exactly in2ar works, but you can set the pivot matrix transform trough the Pivot3D.world or Pivot3D.global property's

please, let me know how it's going...i'm curious about this ;)

Jonas Volger   «   Reply #2 on: November 07, 2011, 12:39:07 AM »
Hey Ariel,

thanks so far! I will try it out and tell you about the outcome.

Sorry for posting here, btw. Just somehow used to it :)

Fathah Noor   «   Reply #3 on: April 16, 2012, 05:28:40 AM »
any updates about Flare3D+IN2AR?
thxB4~ :)

Jonas Volger   «   Reply #4 on: April 16, 2012, 08:04:49 AM »
Hey Fathah!

As the project died, I didnt dive too much into the topic. But I played a little bit with the SimpleDemo Project from In2Ar and for me it all boiled down to one critical function inside the ARPivot3D: setTransform
To be honest, I dont remember, what was my code and whats from the original author. (Even if I wrote the class or him :) )

This is whats inside it:
get3DMatrix( transformData, R, t, mirror );
newMatrix.rawData = transformData;
         
nextMatrix.interpolateTo(newMatrix, 0.85);
         
this.world = newMatrix;
this.updateTransforms(true);


At this point the calculated transformation of In2Ar is applied to the Pivot3D. Its not precise, merely an estimation.

I know, the information is sparse but maybe it helps. If needed, I can mail you the full project.
         

Jason Huang   «   Reply #5 on: April 16, 2012, 11:06:02 AM »
Wow, Jonas. is that really you? hah...its been a long time since the last time you showed up on your blog. you must be very busy. 
Well, I am currently still stuck with the switchColor shader you wrote. I was trying to use the texutre instead of the color pass to the effect. You know, I am a totally noob for shading language..Any chance to help me out with that?  I would appreciate that if you could send me a mail.
Cheers

Fathah Noor   «   Reply #6 on: April 18, 2012, 07:37:31 AM »
Hi Jonas,

I have long considered using Alternativa 8 or Flare3D (I am a Papervision3D and Away3D 3.6 user) because they support the Collada file format, and I've been looking for a working example of IN2AR + Flare3D implementation without good result. :(

If you are willing to send an example project to me (my email: fathah.noor@yahoo.com), I'm sure it will be very helpful. Really thanks alot. :)


               
                  
                     "Hey Fathah!

As the project died, I didnt dive too much into the topic. But I played a little bit with the SimpleDemo Project from In2Ar and for me it all boiled down to one critical function inside the ARPivot3D: setTransform
To be honest, I dont remember, what was my code and whats from the original author. (Even if I wrote the class or him :) )

This is whats inside it:
get3DMatrix( transformData, R, t, mirror );newMatrix.rawData = transformData;         nextMatrix.interpolateTo(newMatrix, 0.85);         this.world = newMatrix;this.updateTransforms(true);

At this point the calculated transformation of In2Ar is applied to the Pivot3D. Its not precise, merely an estimation.

I know, the information is sparse but maybe it helps. If needed, I can mail you the full project.         "
                     Jonas V.