Extracting textures off models.

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Extracting textures off models. // Visitor Area

1  |  

Post by slayerA-Unregistered // Mar 21, 2006, 2:43am

slayerA-Unregistered
Total Posts: 0
I was wondering if anyone knew how to extract the textures and uv maps from a model created in tS4. I am creating models for the Half Life2:Source engine and need a way to generate a texture map as a .tga file. What I am doing now is saving the model as a .3ds or .asc file and opening Milkshape or LithUnwrap, having to texture from there using a paint app. I can see the textures or colors that I used on the model from trueSpace in those apps, but have no way to save or extract them. This seems like it should be simple but I have not found anything as of yet to do this. I am looking for apps or plugins or documents or somethings.

I have no money to spend so I am looking mostly for freeware stuff.


Thank ahead of time.

Post by brianalldridge // Mar 21, 2006, 8:03am

brianalldridge
Total Posts: 397
pic
Are they textures in image format or are they done with shaders? If they're done with shader try using those settings on a cube, go to top down view, render to file, crop, and voila, one texure extracted.

Post by GraySho // Mar 21, 2006, 8:42am

GraySho
Total Posts: 695
pic
If you are doing low poly models, I guess you are using texture maps. Use the "inspect material" tool in the material editor and click on the object to see where the texture is stored.


If you are using procedural shaders it will be a bit hard to convert them to any other software. Then you have to render them out like brian said.


If you are making game content you have to use texture maps anyway, so you can use your rendered shaders as texture brushes in your "paintware".


The 3DS export option is not the best IMO. Many programs are struggling with the 3ds file format. OBJ is much better since it is really easy to read and write (ascii text) and the uv-maps are stored in the mtl file. There is a free plugin for obj called LUUV for truespace, which should be on your ts CD.

Post by TheWickedWitchOfTheWeb // Mar 21, 2006, 4:40pm

TheWickedWitchOfTheWeb
Total Posts: 858
pic
Two methods spring to mind for extracting the texmap template from an object. Firstly, the free way, export the model to obj using the LUUV plugin and use the freeware UVMapper (I think it's by Steve Cox) to extract/set the UV Map. Secondly, and slightly more straight forward and a lot better method, use the UVCow plugin and set/extract, export, etc, the UV Map directly from within truespace.


One word of caution with the UVCow plugin, if the mesh is SDS you're much less likely to get a crash if you extract the final mesh first before using it. At least that's what I've found. Not saying it won't handle SDS mesh, just that it seems more likely to bomb out when it is.


Hope that's of some use.

Post by spacekdet // Mar 21, 2006, 10:42pm

spacekdet
Total Posts: 1360
pic
Use the archive function on the scene and then look in the ts/archive/yourscene/ folder. Any textures used in the scene will be copied there. If there are procedurals then you'll have to follow the suggestions given earlier.

Post by slayera // Apr 25, 2006, 9:12pm

slayera
Total Posts: 0
Thx, was some help. I found the site for UVmapper but I have not tried it out yet. I can't find what the restrictions are in the freeware version so I am leary of downlown it. I would hate to get use to it and find out I can't save or it times out on me. The uv cow demo is limited to 128 vertices, I need more. I just wish there was more free tools out there. I make maps for free and give them out for free.


I use that method of the cube to make texture all ready, pretty cool.

Post by GraySho // Apr 27, 2006, 5:18am

GraySho
Total Posts: 695
pic
UVmapper classic is free and has no restrictions as far as I know.
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn