lfnetwork.com mark read register faq members calendar

Thread: [TUT] Quanons Tips on Skinning/Texturing
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 02-16-2009, 11:47 AM   #1
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,600
Forum Veteran Veteran Modder Helpful! 
[TUT] Quanons Tips on Skinning/Texturing

Hello,

In this thread I'll attempt to show you some tricks I use in Photoshop to create skins/textures for your weapon models and other 3D things from the Kotor game.

Allright, first tip.

Getting your UVW-map of your model into Photoshop.

For G-Max users this is very simple: Take a screenshot.

Start photoshop, create a new empty file and just paste (ctrl+V).
Use the Crop tool (C) and drag a box around the UVW-map.

Hit enter and all the garbage around it will be deleted, your file will also get resized automatically.

Now create another new file, set it to this size: 512x512 pixels or 256x256.

Then use the Movel Tool (V) to drag your UVW-map into the new file.

Now it will not fit good, to solve that hit Ctrl+T to activate the Transform tool.

You'll see these small squares at the edges, you can drag those around.
So use'em to make it fit, hit enter to confirm the changes and your done.

If you get a bit confused/ freak'n out on this tool hit Esc to exit it
Like that you won't get stuck

3Ds Max users:

First go the Edit window in the Unwrap UVW modifier.
There go to Tools => Render UVW Template.
Show spoiler


You'll get a new window. In there set the Height and width to 512x512 or 256x256 pixels. Down below hit Render UVW template.

Show spoiler


Again a window comes up showing you the render of the UVW. At the top left is a Disk icon. Hit that to save your UVW-map.

Show spoiler


In the browsing window set it to a location you'll like it to be saved and set the file type, if you choose JPEG, you get an extra window again
In there its just to set the quality.
Show spoiler


Thats it, you now have your UVW-map ready to be used in Photoshop/Gimp or Windows paint if you insist


Second tip:
Blades

With this tip I want to show you how I do razor sharp nasty cutting blades xD

In this example I used a one of my own modelled weapons, which has this spinning blade, lovely.

Ofcourse I made a nice UVW-map using the steps from above.

Now start photoshop, go to File=> Open. Look up the UVW-map.
When that is open I go to the Layers palette. I grab and drag the Background layer, to the NEW icon, just next to the trashcan icon.
Like so you get an instant copy of that layer.

Show spoiler


Now alter the modus of this copied layer to Screen. You'll find that at the top of the palette.

Show spoiler


Good, to make our blade look like steel/ metal I downloaded a plain photo of... metal

This is a good site for such things: CLICKY


TIQUILAAAAAAAA

Last edited by Quanon; 02-16-2009 at 12:08 PM.
Quanon is online now   you may: quote & reply,
Old 02-16-2009, 11:48 AM   #2
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,600
Forum Veteran Veteran Modder Helpful! 
So I opened it in photoshop, using the Move tool (V) I dragged it to my UVW-map:

Show spoiler


Its to big, so using the Transform Tool ( Ctrl+T) I scaled it down.
I used the top left little squarre and holding down shift I just dragged.

Shift helps to keep it uniform, width & height are being kept the same scale compared to each other.

Show spoiler


Once content with the size hit enter, if your not happy hit Esc to leave the Transform tool.

Okay, now I'm going to add the sharp edge of the blade. To that quickly and easly, I used the Pen tool (P)

Make sure it sets to Paths, you'll find that at the top left of your menu bars:
Show spoiler


Then follow the shape of your blade, like so. Just click around to set a point and continue to set more points to create a shape like your blade.
Show spoiler


You don't need to close your path, but since I got a round blade I'm going to close it

Now where going to setup our Brush (B)

Just right click anywhere on your map. You should get this handy menu:
Pick a brush with really soft edges, set it to a smaller size, I used 9 pixels.
You could use differant sizes, depending on your model really.


TIQUILAAAAAAAA
Quanon is online now   you may: quote & reply,
Old 02-16-2009, 11:49 AM   #3
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,600
Forum Veteran Veteran Modder Helpful! 
Show spoiler


Before we continue make sure you're color is set to white:
Show spoiler


Now in your Layers palette, you should see 2 other Tabs: Paths and Channels.
Now I've dragged out Channels, as I like to have that seperate. So don't worry if my screenshots look a bit differant

Go to the Paths tab. You'll find that path we just drew, right click on it and pick Stroke Path.
Show spoiler


Another window comes up, set it to brush and hit OK.
Show spoiler


Here's my result, the Brush nicely followed our little path, no need to this kind of thing by hand

Show spoiler


Nearly done, but we need to clean this up a bit.
Go back to Path palette and right click, this time pick Make Selection.
Show spoiler


Paths are real handy to make good selections. I'll show more of them later on, as they can be a bit tricky to get used to. Mainly on the curve part.


TIQUILAAAAAAAA
Quanon is online now   you may: quote & reply,
Old 02-16-2009, 11:51 AM   #4
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,600
Forum Veteran Veteran Modder Helpful! 
This selection is to tight and close, where going to enlarge it a bit.
Go to Select=>Modify=>Expand.

Show spoiler


New window comes up, I've set mine about 10pixels.

Show spoiler


Now for some magic, do Shift+Ctrl+I to invert the selection and hit Delete.
Result should like this:
Show spoiler


Next a quick step forward, this blade should be shiny to some extend.
For that we need a Alpha Channel.

We need to select our blade again, to easly get that, just Ctrl and left click on its Layer.
If you still got your selection just do Shift+Ctrl+I to invert it back.
Show spoiler

Do Ctrl+C to copy it.
Go to the Channels palette and hit the NEW icon down below, next to the trashcan. Then do Ctrl+V to paste the blade in the channel.
Show spoiler


TIQUILAAAAAAAA
Quanon is online now   you may: quote & reply,
Old 02-16-2009, 11:52 AM   #5
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,600
Forum Veteran Veteran Modder Helpful! 
You could leave it like that now. But the shine effect depends on the black/white in the alpha channel.

Darker = stronger effect
White = No effect at all

I find that its to dark in my channel, to adjust that I go to Image=>Levels.
Show spoiler


You'll get this new window. In there you can play around with these sliders to alter the contrast between black/white.

I dragged back the white to the middle make it stronger.
Show spoiler


Just play around with it to see its effects on the channel, once your happy just hit OK.

Thats it for these first few tips.


TIQUILAAAAAAAA
Quanon is online now   you may: quote & reply,
Old 02-17-2009, 01:49 AM   #6
LordRevan999
Junior Member
 
LordRevan999's Avatar
 
Join Date: Feb 2006
Location: Pakistan,Rahim Yar Khan
Posts: 358
Amazing tips Quanon.Btw,I figured out how to use metal textures myself.I hope to see more tips on texturing from you.

Show spoiler


http://lucasforums.com/image.php?type=sigpic&userid=139132&dateline=12305  46564
My Forum:
http://lordrevan999.proboards57.com/index.cgi
Still needs lot of work though.
LordRevan999 is offline   you may: quote & reply,
Old 02-17-2009, 06:29 AM   #7
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,600
Forum Veteran Veteran Modder Helpful! 
Looks good LordRevan999, glad you got some nice results


TIQUILAAAAAAAA
Quanon is online now   you may: quote & reply,
Old 02-17-2009, 11:16 AM   #8
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,724
10 year veteran! Forum Veteran Helpful! 
Might I suggest an alternative method for obtaining precise UV map guides for GMax users? It looks a bit convoluted, but it's relatively straight forward once you've done it a couple of times.

First, download UVMapper Classic from here. This is a standalone EXE (i.e. no installation required) that is free. It has limited functionality, but is fine for our purposes.

Then you'll need to download Xzzy's OBJ export script and the GrabListener utility from here (the "Renx OBJ Tools" link). Make a folder in GMax's \scripts directory and extract the tools there.

In GMax, do the following:
  1. Change to the Utilities tab
  2. Click the MAXScript button
  3. Click the Open Listener button
  4. In the Listener window that pops up, go to Edit->Clear All
  5. Back in the MAXScript tab, click the Run Script button
  6. In the file browser that pops up, navigate to the folder you just created and select xzzy_obj_tool.ms
  7. In the Utilities drop-down menu, click on OBJ Import/Export
  8. Under the section that appears, click the Export button
  9. You'll see the Listener window fill with lots of co-ords. Wait until it finishes and then go to the directory you extracted the OBJ tools to and run GrabListener.exe It will pop up a save file window. Save your file with an OBJ extension
  10. Run UVMapper.exe. Go to File->Load Model and navigate to your OBJ. You should now see the UV map. It will be stretched to fit the window, but don't worry.
  11. Go to File->Save Texture Map. In the window that pops up, choose a resolution (the default should be 512x512) and save out a BMP of your UV map.
  12. Open Photoshop or whatever editing program you are using and import the BMP. Make it the base layer and build your texture over the top of it.

A pictorial guide for the GMax component:



A note concerning multi-object GMax files. The OBJ script only exports a single mesh object at a time. If you have a multi-part model (like a body for instance) you'll have to join them all together into a single mesh before exporting. You should also delete any bones and helper objects if there are any. Just make sure you don't save the GMax file after you do that!
DarthParametric is online now   you may: quote & reply,
Old 02-17-2009, 01:14 PM   #9
Drunkside
Satanīs little helper
 
Drunkside's Avatar
 
Join Date: Jul 2008
Location: The land of snow and sorrow
Posts: 787
Is the alpha channel black/white thingy the alpha treshold in gmax? thanks.


Saivoīs New demo, A Cruel Northern Land is out! Listen to it on our mikseri.net bandpage.

http://www.mikseri.net/artists/?id=117610
Drunkside is offline   you may: quote & reply,
Old 02-17-2009, 01:43 PM   #10
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,600
Forum Veteran Veteran Modder Helpful! 
Thank you DarthParametric, I wasn't aware of any good plugins for G-Max.
I'll include your handy post in the tutorial section aswell

Quote:
Originally Posted by Drunkside View Post
Is the alpha channel black/white thingy the alpha treshold in gmax? thanks.
Eh... no.

The alpha channel, I talk about is part of the skin/texture, its contained in the Targa file.

The 3D model has nothing to do with it.


TIQUILAAAAAAAA
Quanon is online now   you may: quote & reply,
Old 02-17-2009, 03:41 PM   #11
Ferc Kast
Modder
 
Ferc Kast's Avatar
 
Join Date: Jan 2007
Location: Tython
Posts: 1,586
Current Game: SWTOR
Helpful! Forum Veteran Contest winner - Fan Fiction Veteran Modder 
Thanks, DarthParametric. I just tried that out on a new hilt and it worked perfectly. This'll save me time when trying to get a copy of any UV-Map I edit/make.

As for the main tutorial of this thread, it seems very helpful.

Ferc Kast is offline   you may: quote & reply,
Old 02-18-2009, 06:02 AM   #12
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,724
10 year veteran! Forum Veteran Helpful! 
Quote:
Originally Posted by Quanon View Post
Thank you DarthParametric, I wasn't aware of any good plugins for G-Max.
Because GMax can run MAXScript, pretty much any script for MAX is worth a try.
DarthParametric is online now   you may: quote & reply,
Old 02-18-2009, 09:08 AM   #13
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,600
Forum Veteran Veteran Modder Helpful! 
Quote:
Originally Posted by DarthParametric View Post
Because GMax can run MAXScript, pretty much any script for MAX is worth a try.
So it seems

Still sucks they left that part out, as it makes the working progress flow more nicely, so to speak.


TIQUILAAAAAAAA
Quanon is online now   you may: quote & reply,
Old 02-23-2009, 09:52 AM   #14
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,600
Forum Veteran Veteran Modder Helpful! 
A new tip, this time its all about the blending options.

To illustrate I'll create a sort of floor texture. This could be used
for example in a reskin of an area.

Its just one example, this stuff can be used in various spots of
texture/skin creating. Remember my Sith/ Jedi Quarren, I used this
trick on him aswell

Now onwards !


TIQUILAAAAAAAA
Quanon is online now   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > [TUT] Quanons Tips on Skinning/Texturing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:42 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.