"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

3D cube error

Hi, i want to show a 3D cube with ImageTarget Project but the output is only half of cube like the velow image. I use this script [URL=http://heikobehrens.net/2009/08/27/obj2opengl/]http://heikobehrens.net/2009/08/27/obj2opengl/[/URL] to convert .obj file to .h file with result: [CODE]vertices : 8 faces : 6 normals : 6 texture coords : 6[/CODE] I don't know why. Thanks in advance for any help.

Try triangulating your cube, OpenGL ES doesn't work with quads. A triangulated cube should have 12 faces, not 6. - Kim

Thank you for your help. This run nice with triangle cube but i how can i change the distance from the trackable image and 3D-Model? I know x-axis is to the right and y-axis is to the top of the target and i try to move 3D-Model in Blender, but there's no effect.

Hi, can you tell us your solution?
currently i try to add a cube and only one of the top triagles are beeing displayed.
How can I display the complete cube?

The following lines shows my current setup of the "renderFrameQCAR"-Method. I changed this

DavidBeard

Fri, 06/29/2012 - 18:28

Can you post the header file for your cube and the entire set of render operations from renderFrame that you're using? I'll check your code.

Hello David,

shure I will post my Code. I uploaded a file for you into my dropbox.
You can access the file with this link: https://dl.dropbox.com/u/1503795/3D-Cube-Data.txt

I hope this is OK. As a note: I just used the "ImageTargets"-Sample.