"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
Question About obj2opengl
By Arcer
on Wed, 06/20/2012 - 17:06
Hi all, I'm using this script to convert a model of 1,28 MB, but I have a question....the script will exit or I must force end? and use the .h generated?
thanks
We don't provide support for the use of 3rd party scripts, you may want to post the question on the developer's website. It's possible that your model is too large or complex for that script to handle.
Also, make sure you have triangulated your model before trying to use it.
- Kim
so i'll write all my steps:
1) I've puted in jni folder the banana.h example whit obj2opengl script
2) I've Putted this line
[CODE]glVertexAttribPointer(vertexHandle, 3, GL_FLOAT, GL_FALSE, 0, (const GLvoid*) &bananaVerts[0]);
glVertexAttribPointer(normalHandle, 3, GL_FLOAT, GL_FALSE, 0,
(const
Sorry, I don't understand the question. We only provide sample code for importing png or jpg files, but you can write or use any texture solution you'd like.
- Kim
[QUOTE=Arcer]I've replaced my obj2opengl script and now it go well....but How can I use the .h generated file?[/QUOTE]
what did you replace it with? i am stuck for ages on the process of getting .h files i can display :(
You may have to tweak the script slightly.
I think it was something I had to do before the script worked for me.
It may also be worth contacting the script developer?
Re: Question About obj2opengl
Re: Question About obj2opengl
Re: Question About obj2opengl
Re: Question About obj2opengl
Re: Question About obj2opengl
Re: Question About obj2opengl
Re: Question About obj2opengl
Re: Question About obj2opengl
Re: Question About obj2opengl