Textures, games and Maya


#1

I am developing some models in Maya and I ma wondering how the texture coordinates translate to opengl? Do UV textures transfer? I am exporting them as .obj files and loading them into Java via OpenGL.

Any guides on this subject. I am a total game dev newbie.

gl


#2

opengl itself doesn’t load models… You have to write code that draws the model using the opengl interface.


#3

opengl itself doesn’t load models… You have to write code that draws the model using the opengl interface.

The developer has already built that. We are using the .obj format. So, does the .obj use the uv coordinates and I just supply the texture? In other words, I place the texture in Maya and orient it then export the .obj and give the developer the obj file and the texture?

Thanks (thought this was a dead post).

gl


#4

Ok then. All you have to do is export the obj and the texture coordinates should be included. In opengl they should work fine. If your uv coordinates go above 1 or below 0, opengl can handle that fine, the developer just needs to use repeating textures, which is default I’m pretty sure. He’d have to try to make it not work, by clamping the texture or something.

By the way, if you plan on using animations in your game, you might look into Animadead, a project I’ve been working on for skeletal animation in games. It works for static meshes too. Lots more details on the page.


#5

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.