By werther
on Fri, 05/23/2014 - 20:28
Hi guys!
I ve browsed the forum but havent found any satisfying solution on how to replace 3D model with another 3D model in ImageTargets project. A lot of you managed to do this somehow, so could you pls tell me (or show a sample) which exact steps are needed to do it ?
Thanks a lot.
Replace 3D model with different 3D model
A common approach is to utilize this script ( http://heikobehrens.net/2009/08/27/obj2opengl/ ) to convert your model to the header file format used by the samples (see Teapot.h in the ImageTargets sample for an example ).
Replace 3D model with different 3D model
after changed the .obj to .h file, you will find there is no XXXIndices variables in the code
Replace 3D model with different 3D model
Hello,
Replace 3D model with different 3D model
Guys, its working! I couldnt believe it, when I saw a banana floating over my table Thank you so much for your help!
Replace 3D model with different 3D model
thank you very much for advising, but I want to know where to put
Replace 3D model with different 3D model
I already solved it :)
Replace 3D model with different 3D model
Thumbs up! This also worked for me using iOS!
Replace 3D model with different 3D model
Hi,
I could do this, I create my own 3d object(an sphere), but I have 2 problem:
1-The sphere shown very strange:
http://www.subirimagenes.net/show-image.php?id=3d8139077b4e04f14edaf3d43a1923cb
Replace 3D model with different 3D model
Hi! I hope someone help me.
I did the instructions as what stated here. But unlike most of you, my result was not as expected.
Replace 3D model with different 3D model
Could anyone help me with the second issue?
I had checked all the ImageTarget.cpp and ImageTarget.java codes and I could do it, my trackable don't show the teapot nor the bannana.
Thanks
Replace 3D model with different 3D model
This occurs within _renderFrame in ImageTargets.cpp ( ln 338 - 427 )
Here's how you identify which target has been detected..
Replace 3D model with different 3D model
I load my own trackable (Meninas.xml) and it worked because when it appear on the screen a toast come with the name. Here is the loadTrackerData:
Replace 3D model with different 3D model
Hi,
Replace 3D model with different 3D model
Cheers, Works !!!
Replace 3D model with different 3D model
If you've compiled and cleaned the project, and are still seeing this, it's likely the texture assignment.
The textures are added in ImageTargets.java and their order is significant..
@ ln 294
Replace 3D model with different 3D model
[quote=werther]
Working solution: http://interaktivnydokument.sk/download/ImageTargets.zip
[/quote]
Replace 3D model with different 3D model
Greeting all,
I using obj2opengl.pl to convert a obj file to a .h file.
Replace 3D model with different 3D model
Hello lovebean. The things you need to do is called baking, if you use Blender, you can get more infos here : http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Bake. Exporting an obj will only export the mesh. There is also a lot of tutorials on Youtube (baking involves UV unwrap).
Replace 3D model with different 3D model
Hi,
Thanks for the reply.
So do I just replace the teapot.png with the generated png? anyone coordination work?
Replace 3D model with different 3D model
Hm, it's a little more complicated. If you have your texture
Replace 3D model with different 3D model
Hi Guys,, !!!
i just want to load my 3D Object to marker, any body help me how to do this???