It's interesting, because the article also talks about the licenses:
Quote:
Digging through ÔÇ£freeÔÇØ sites to sort the ÔÇ£free beerÔÇØ from the ÔÇ£free speechÔÇØ content is quite a chore. Many of the sites are not useful for free culture projects, and many make it very difficult to tell. Fortunately for you, I took notes! Here you will find 8 sites with free-licensed content, 8 more with licenses that youÔÇÖll probably find acceptable for many projects, and 20 others that might be useful on some projects if youÔÇÖre not a purist. There are also 22 sites I have to warn you away from, because their terms are incompatible with use in free-licensed productions. [..]
Joined: 22 Feb 2006, 01:02 Location: cheap kitchen
problem is, only few things actually work with spring. One common problem is that textures are split into multiple files, ie a car has seperate textures for wheels, body, inside. Is there an easy way to combine that into one texure without having to re-uvmap everything? ie this turtle has 5 textures: http://www.top3dmodels.com/animals/reptile-amphibian-dino/turtle-yellow-head
A solution to that is to merge the textures in photoshop, and the transform the UV space for each piece accordingly.
The following code is in python and supports .OBJ files only:
Code:
print 'linear transform a model`s uv space, by Beherith (mysterme@gmail.com)' print 'usage: python uv_linear_transform_obj.py [modelname.obj] [a] [b] [c] [d] [newmodelname.obj]' print 'where A is the multiplier and B is the offset of the U coords' print 'and C is the multiplier and D is the offset of the V coords' print 'Unew=U*a+b Vnew=V*c+d' import sys infile=open(sys.argv[1],'r').readlines() outfile=open(sys.argv[6],'w') a=float(sys.argv[2]) b=float(sys.argv[3]) c=float(sys.argv[4]) d=float(sys.argv[5]) for line in infile: if 'vt' in line: linesplit=line.split() u=float(linesplit[1]) v=float(linesplit[2]) u2=a*u+b v2=c*v+d outfile.write('vt '+str(u2)+' '+str(v2)+'\n') else: outfile.write(line) print 'Done!'
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