Adding textures to OBJ?

SteveM17SteveM17 Posts: 971
edited December 1969 in New Users

I have a number of props in obj format to use in DS, but how do I add textures to them. Or to anything for that matter?

Comments

  • edited June 2012

    Do they come with any .mat files? If the MATs are built properly (which, I admit, some are not) they should apply when you import the object, if you have that box ticked in the import window.


    If you're just looking for the place to stick textures, look for the 'Surfaces' tab. First find the object, then make sure it's uncollapsed, so you can see the material zones. Some objects only have one default zone that affects the whole thing. Others will have different ones for different parts. The best way to tell which is which is to screw with the transparency slider, so the texture you have selected turns invisible. It's pretty quick to ID the thing that disappears.Then find the Diffuse colour channel and click on ... Well, in DS3, it's the box that probably says 'none', if there's no texture loaded, and it's directly under the Diffuse colour... well, colour. That'll give you a window to browse for a texture. I know png and jpg are valid file formats, because I use them all the time. I'm not sure what other formats it'll take, but most textures you find will probably be one of the two, usually jpg.


    If you want to apply a shader, make sure the object is selected in the scene tab, and the material is selected in the surfaces tab. Then apply the shader. Both have to be selected, or the shader just doesn't do anything. (I've done this to myself so many times, today included.)


    I admit I'm writing from a DS3 perspective, so if you're using 4, some things may be in slightly different places, but if you look for the names of the tabs and sliders, they should be the same or pretty close.

    Post edited by thinmick_3ecd3939f1 on
  • NeilV_1NeilV_1 Posts: 442
    edited June 2012

    the first question to ask have the OBJ been UV mapped

    if yes then they should have material zones you then just go to the surface tab select the required surfaces and using the drop down button next to the diffuse add a texture you will need to adjust the other channels as well.


    if the obj does not have any material zones you will need to take it in to an modeller and UV map it ( I presume you have grabbed hexagon.

    here is an example using a letter obj I created in Carrara

    texture_2.jpg
    800 x 570 - 216K
    texture_1.jpg
    800 x 486 - 141K
    Post edited by NeilV_1 on
  • SteveM17SteveM17 Posts: 971
    edited December 1969

    Thanks. As far as I know the props have material zones, so I'll have a mess around with them as you explained.
    Cheers!

Sign In or Register to comment.