Page 1 of 1

Readblend UV data

Posted: Tue Jul 21, 2009 2:16 pm
by mift
Hi,

Im using readblend to extract some data out of a .blend file. It works fine except for the UV data.
UVs are always 0.0f: I found that the variable "tblock" in function "blend_acquire_mesh_from_obj" doesnt become filled. Anyone a clue on this?

Thank you very much,
mift

Re: Readblend UV data

Posted: Wed Jul 22, 2009 7:13 pm
by Erwin Coumans
Which version of readblend are you using? Check out http://gamekit.googlecode.com for the latest readblend, as well as some .blend files that work fine with textures.

There are several ways of assigning textures/UV in Blender, please try another methods (not Material textures, but UV / Game Textures, using the image window).

Can you report if you get it to work?
Thanks,
Erwin

Re: Readblend UV data

Posted: Thu Jul 23, 2009 4:13 pm
by mift
Erwin Coumans wrote:Which version of readblend are you using? Check out http://gamekit.googlecode.com for the latest readblend, as well as some .blend files that work fine with textures.

There are several ways of assigning textures/UV in Blender, please try another methods (not Material textures, but UV / Game Textures, using the image window).

Can you report if you get it to work?
Thanks,
Erwin
Hi Erwin,

since I wasnt able to get it to work properly, I decided to do it another way. Now Im writing a python extension in c++, so I can fill my objects directly from blenders scripting interface ( its easier to debug too ).

If Im going to work again on readblend, Ill sure let you know and post a patch/diff if necessary.
Many thanks for your reply.

Mift