Readblend UV data

Physics APIs, Physics file formats, Maya, Max, XSI, Cinema 4D, Lightwave, Blender, thinkingParticles™ and other simulation tools, exporters and importers
Post Reply
mift
Posts: 2
Joined: Tue Jul 21, 2009 1:48 pm

Readblend UV data

Post 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
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: Readblend UV data

Post 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
mift
Posts: 2
Joined: Tue Jul 21, 2009 1:48 pm

Re: Readblend UV data

Post 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
Post Reply