Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Readblend UV data
PostPosted: Tue Jul 21, 2009 2:16 pm 
Offline

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


Top
 Profile  
 
 Post subject: Re: Readblend UV data
PostPosted: Wed Jul 22, 2009 7:13 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3744
Location: California, USA
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


Top
 Profile  
 
 Post subject: Re: Readblend UV data
PostPosted: Thu Jul 23, 2009 4:13 pm 
Offline

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group