Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Pages: [1] 2

Author Topic: How do I make a texture fit a 3D model?  (Read 11565 times)

BladeMan.EXE

  • Jr. Member
  • **
  • Posts: 69
  • Battle Routine, Set!
    • View Profile
How do I make a texture fit a 3D model?
« on: May 14, 2015, 05:32:11 pm »

Y'know how when game makers are using 3d models, they have these sheets of textures that fit perfectly on the model?

How do I convert the surface of a 3d model into a pattern that I can use when drawing the textures, so I know where to put everything?
Logged

captaindrewi

  • Sr. Member
  • ****
  • Posts: 450
  • errm...errr?
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #1 on: May 14, 2015, 05:52:19 pm »

The area of interest you have highlighted is called uv mapping.
there are many programs that do this.
a free one that many use is called uv mapper[classic].
http://www.uvmapper.com/downloads.html
a tutorial for this.
http://www.uvmapper.com/tutorials/tutorial_classic_win.html
Its not the easiest thing to undertake,so i would attempt something not too complicated initially.
« Last Edit: May 14, 2015, 05:59:10 pm by captaindrewi »
Logged
!

BladeMan.EXE

  • Jr. Member
  • **
  • Posts: 69
  • Battle Routine, Set!
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #2 on: May 15, 2015, 12:49:06 pm »

I downloaded it, but I can't get it to work with .an8 or .3ds files.

And what's that Poser 3 thing mentioned in the tutorial?
Logged

captaindrewi

  • Sr. Member
  • ****
  • Posts: 450
  • errm...errr?
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #3 on: May 15, 2015, 01:21:23 pm »

It has to be an .obj file.
Sorry i didn't check the tutorial,poser is another 3d prog. Ignore it, it's way too complicated as a first attempt to master uv mapping.
Once you have loaded an .obj file ,Select "Edit->New UV Map->Planar or box etc.
when your happy with your map,save the map as a .bmp. you also have to save the model again from within uv mapper.
Then work on the uv map in your favourite art package.
 
« Last Edit: May 15, 2015, 01:22:33 pm by captaindrewi »
Logged
!

BladeMan.EXE

  • Jr. Member
  • **
  • Posts: 69
  • Battle Routine, Set!
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #4 on: May 15, 2015, 03:12:44 pm »

How do I save a 3d model as a .obj file? Anim8or will only save it in .3ds
Logged

kreator

  • Hero Member
  • *****
  • Posts: 1116
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: How do I make a texture fit a 3D model?
« Reply #5 on: May 15, 2015, 03:24:16 pm »

Blademan.Exe: UVmapping basically its a flattened jpg or png template of your model so I would recommend Roadkill if you want to do any texturing, though Anim8or`s built in Basic UV editor can be used Here is a tutorial I wrote some time ago now on the now defunct Anim8orworld.com

ROADKILL - Part 1
UV Flattened models



So lets start to uvmap and unfold a character. For the purposes of this tutorial we will use  a low poly character from BOB-I_Ts F8ce script. We have adjusted the model to suit the unwrapping process. Important: Roadkill uses .obj format models .an8 files will not work with this


You will a need a copy of Roadkill and Uvmapper , which you can get here....

Roadkill:
http://www.pullin-shapes.co.uk/page8.htm

UVMapper:
http://www.uvmapper.com/downloads.html

So Lets fire up Roadkill and load in the Model , use the Alt Key in conjunction with Left, Right and Middle mouse to move your model about in its window. Also in the switches menu check "Don`t Select Back Faces" and "Single Select".
This program will work fine for quad meshes, so we will start with the neck, move into the region, click on a horizontal edge then hold down the T key. The previously selected edge will turn yellow just keep your finger on the T Key and move around the neck selecting all the horizontal edges, Some ambidextrous use of your fingers will be necessary when moving around using the alt key and sometimes the Z key(Undo!!)
 The complete set of edges should be selected.



Now hit the C key and that selection will be cut, so effectively you have cut its head off!   
Let`s now unwrap the head, start at the back of the head then select in the same way the edges shown in the next Two screenshots




Then again use the C Key to cut the selection
Your UVmap should now look like this..


Now we are going to cut up the Arms, Hands, Legs and Feet in exactly the same way. Here is the result after the cuts.



We will cut the Torso down the middle.In the screenshot we have cut down the middle of the torso groin area and rump leaving the back intact.



We now go to the hands and feet which are a little more time consuming as we will need to go round selecting edges around each finger and toe.
See the images attached



and



Finally cut these using C and the cuts and unwraps are complete.

 Lets  turn our attention to the actual UVmap generated. Click in the UV window then zoom into the Face UV map. Now we go to UV mode Press U then double click on an edge on the outline Make sure that you click on an intersection otherwise it will not work see the screenshot below.



The yellow dot indicates an intersection, If you double click the intersection here the cut lines will be highlighted see below



« Last Edit: May 15, 2015, 03:35:23 pm by kreator »
Logged
O

kreator

  • Hero Member
  • *****
  • Posts: 1116
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: How do I make a texture fit a 3D model?
« Reply #6 on: May 15, 2015, 03:32:01 pm »

Roadkill Pt 2

Lets pin these points down just press P and the UV will be pinned. The selected points will turn blue.
 We can now scale the facial features up to make them easier to texture later in the process. Press the U key, select all the edges in the facial features (if you hold down the shift key you are able to multiselect points, but bear in mind that multiselecting points already hightlighted will switch off!)



Now Press the R key and use the right mouse button to scale up the faces.
Once you are happy with your unwrapped template export the model using "Save As..."

He is now ready to be loaded into Uvmapper, so that we can extract the template. With the new obj loaded into UVmapper it is just a simple case of resaving the template and model. Again whilst in UVmapper, If you wish to resize or move the template parts then it is just a case of highlighting and moving scaling etc.

DO NOT FORGET to resave the Map AND MODEL if you do these operations, as the UV  co-ordinates will have changed.
« Last Edit: May 15, 2015, 03:33:36 pm by kreator »
Logged
O

BladeMan.EXE

  • Jr. Member
  • **
  • Posts: 69
  • Battle Routine, Set!
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #7 on: May 15, 2015, 08:08:34 pm »

Important: Roadkill uses .obj format models .an8 files will not work with this

Umm... Then how can it work with Anim8or?
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 571
  • Neirao
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #8 on: May 15, 2015, 08:14:12 pm »

BladeMan, i use "Wing 3D" http://www.wings3d.com/
export .obj from anim8or, import in wings, create the image texture, re-import the obj. and the texture on anim8or

[/youtube]

Wings is Free too. But for modeling..easyly, ANIM8OR  IS VERY BEST!!!
 :D
« Last Edit: May 16, 2015, 03:42:54 pm by neirao »
Logged

BladeMan.EXE

  • Jr. Member
  • **
  • Posts: 69
  • Battle Routine, Set!
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #9 on: May 15, 2015, 08:35:14 pm »

Okay, I just figured out how to make .obj files. I was hitting "Save as..." instead of Import.

Thanks.
Logged

kreator

  • Hero Member
  • *****
  • Posts: 1116
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: How do I make a texture fit a 3D model?
« Reply #10 on: May 16, 2015, 05:23:36 am »

Important: Roadkill uses .obj format models .an8 files will not work with this

Umm... Then how can it work with Anim8or?

Once you have it UV`d as an .obj File with the Template .Just load it into Anim8or via import as .obj ( anim8or can load .obj Files you know!) then if you want you can resave as a .an8 
Logged
O

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1450
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #11 on: May 18, 2015, 12:33:19 am »

By the way...ahah...there's my UVTools script...while you can't really do a lot to the UVs except move the points around, you can easily export them to ppm or svg if they're already there. Makes for a nice looking UVMap to texture over at least!


I only mention this because I finally used it for a project just now, having almost totally forgotten about it :P
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 571
  • Neirao
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #12 on: May 18, 2015, 01:13:58 pm »

Raxx,
i try sometimes, but i could never use the UVtool, is to make a step by step tutorial video?
:(
Thanks :)
Logged

nemyax

  • Full Member
  • ***
  • Posts: 214
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #13 on: May 18, 2015, 01:59:15 pm »

export .obj from anim8or, import in wings, create the image texture, re-import the obj. and the texture on anim8or
If he's using Wings, why involve Anim8or at all?
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1450
    • View Profile
Re: How do I make a texture fit a 3D model?
« Reply #14 on: May 18, 2015, 06:18:19 pm »

Raxx,
i try sometimes, but i could never use the UVtool, is to make a step by step tutorial video?
:(
Thanks :)
There are instructions in the UVTools topic, but I admit the process is a bit convoluted. I wish there were more straightforward methods I could use...unfortunately ASL is still in its infancy. It has powerful potential but is crippled by its lack of critical features and inflexibility.

If all you want to do is export the uvmap to an image, you just select the object(s) you want to export and go to object->export and select either SVG (inkscape, gimp, illustrator) or ppm (photoshop/gimp).

I'll post a usage video in the UVTools topic later for the other features. It's not really useful for unwrapping (yet), but you can do basic editing.

If he's using Wings, why involve Anim8or at all?

We all have preferences for different things. Wings3D is a modeling-only package anyway. As for me...

I love to Model in...
  • Softimage (mostly organic)
  • Anim8or (mostly hard surfaces)
but sometimes have to convert to other formats using
  • Autodesk FBX Converter
  • Blender
  • MeshLab
Fortunately 3D model formats are easily interchangeable...


I Love to Animate in...
  • Anime Studio Pro
but sometimes I have to animate in...
  • Blender
  • Anim8or
  • Project Messiah
  • Maya
  • 3Ds Max
for certain jobs.


I love to Unwrap with...
  • 3D-Coat
  • DeepUV
but sometimes I need to use
  • Anim8or
  • UVMapper
  • Blender
for certain unwrapping tasks.


I love texturing with
  • Paint Tool SAI
  • InkScape
but there are times I unwillingly have to use
  • 3D-Coat
  • PhotoShop
  • Gimp
for some texturing requirements...


I love sculpting with
  • 3D-Coat
but some jobs require
  • ZBrush
  • MudBox

Yes, you could go your entire life relying solely on just a couple of all-in-one programs. But that's sometimes inefficient (and boring besides ;))
Logged
Pages: [1] 2