View topic - Blender Workflow for UV mapping for Spring?



All times are UTC + 1 hour


Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 24 May 2013, 10:29 

Joined: 03 Dec 2012, 13:53
I am trying to work out a workflow to use for Modelling and texturing in Blender.

I have followed the steps here: http://springrts.com/wiki/TutorialBlenderWorkFlow

But I have not yet worked out how to UV map for models with multiple pieces.

From what I can work out spring seems to require a UV map for the entire model not per piece. I have UV mapped and Textured the whole model but how do separate the model into pieces so that it can then be animated?


Test mod and Blender model and texture files here:
https://www.dropbox.com/sh/6dmtwdfz8ebdj3n/N3ZJ3LAm5t


Thanks


Attachments:
File comment: Blender model and texture files
testtank.zip [621.49 KiB]
Downloaded 2 times
Top
 Offline Profile  
 
PostPosted: 24 May 2013, 11:04 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Assign the same material to all pieces, then export. Also, what are you using to make .s3o files?


Top
 Offline Profile  
 
PostPosted: 24 May 2013, 12:19 
User avatar

Joined: 30 Nov 2008, 04:31
Location: the flow
The way i do it is a bit backwards: unwrap each piece individually, copy uv layout for similar pieces when appropriate, then join objects to confirm no overlap. If overlap exists, ctrl+z, fix. If no overlap and you're fine with layout, export layout as PNG, ctrl+z to restore multipieces.

tl:dr i only join the model to see whether there are overlaps. materials don't get translated into Spring anyway, though recent spring-assimp seems capable of mining texture name files straight out of the model.

Quote:
Also, what are you using to make .s3o files?

... if you are making them at all, rather than import direct? ;)


Top
 Offline Profile  
 
PostPosted: 24 May 2013, 13:17 

Joined: 03 Dec 2012, 13:53
Thanks Guys.

I am not using .s30

Am exporting to collada .dae

I couldn't get Blender files to work directly, as Anarchid does (I think only certain versions of Blender are supported.) But .dae works fine.


@Beh I will check out the materials thing that would be cool I'm not sure if that would work though.

@Anarchid Thanks I will do that. I thought I would have to do some thing like that but I wanted to check. It would be cool to have your whole blender workflow on the wiki because I think it would help open up the spring game dev to more people. And you seem to be the most knowledgeable person regarding blender and spring.

Thanks again.


Top
 Offline Profile  
 
PostPosted: 24 May 2013, 13:28 
User avatar

Joined: 30 Nov 2008, 04:31
Location: the flow
Quote:
(I think only certain versions of Blender are supported

Yeah, upgrading from blender 2.61 broke the compatibility with assimp for me too.

Quote:
It would be cool to have your whole blender workflow on the wiki

I'll keep that in mind once i finish with my current chores.


Top
 Offline Profile  
 
PostPosted: 24 May 2013, 13:35 

Joined: 03 Dec 2012, 13:53
@Anarchid.

Yeha no Pressure about the wiki.


I thought it would also save you the time of answering the forum posts of the next 10 noob game devs like me who get stuck.


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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

Site layout created by Roflcopter et al.