"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Replace 3D model with different 3D model

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.

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

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

DavidBeard

Tue, 07/10/2012 - 18:08

2-I could't manage with my own trackable. Where is the code that link the trackable with the 3d object which have to be deploy?

This occurs within _renderFrame in ImageTargets.cpp ( ln 338 - 427 )

Here's how you identify which target has been detected..

DavidBeard

Fri, 07/13/2012 - 18:18

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

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).