Log in or register to post comments

Information about OpenGL

August 20, 2013 - 7:26am #1

Hello guys,
I managed to create my own 3d object with blender, I created a project in unity and imported the cube and exported it to the eclipse. It all worked.
Now comparing with the design ImageTarget in my project not has a folder JNI responsible for native code.
How did you create this folder and put the coordinates of the object in it?
Do you have created the objects directly with OpenGL?

Information about OpenGL

August 23, 2013 - 7:06am #7

Thanks, AlessandroB

Information about OpenGL

August 22, 2013 - 12:36pm #6
Many users on the forum use the perl script available at this site for turning a .obj file into a header format similar to ours: http://heikobehrens.net/2009/08/27/obj2opengl/
 

Information about OpenGL

August 22, 2013 - 5:07am #5

Thanks, AlessandroB

Which program you use to convert to C / C + +?

File Blender is different from your file in imagetarget.

Information about OpenGL

August 21, 2013 - 8:34am #4

You should use JNI as folder name, as ndk-build will search source files in that folder.

Information about OpenGL

August 21, 2013 - 7:44am #3

Thanks, AlessandroB

I understand and Blender does.
I wanted to know how to create a structure similar to the examples of you?
About the JNI folder, I create a new folder with any name or have to be this default name?

Information about OpenGL

August 20, 2013 - 7:34am #2

There exist tools that allow converting 3D models to OpenGL header files (similar to the teapot.h that you can find in the Image Targets native sample);

see here:

https://developer.vuforia.com/resources/dev-guide/replacing-teapot

 

 

Log in or register to post comments