Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Texturing
05-08-2011, 05:24 AM,
#1
Texturing
Dear BC members;
I am wondering how to add textures to a nif I created. It is also a custom texture. Now, i have out the nif into the Cs and it is able to shoe up but it comes up purple. So I just need to know how to add my texture.
NOTE (and this does count): I have made my object in Google SketchUP and converted it and made it solid through Blender. Now the texture comes from Google SketchUp. I have changed it to dds through GIMP. i just need to know how to add it. And the texture will be going to the WHOLE model. Every little part of the model shall be covered in this texture.
Hope that is all the info you need to aid me.
If you need more, just ask and i will post.
Yours Sincerely;
PWN
If 'if's' and 'but's' were candy and nuts we'd all have a Merry Christmas
Reply
05-08-2011, 05:59 AM,
#2
 
First, make sure your nif exported with a "NiTexturingProperty", with a "NiSourceTexture" under that.

So open up your nif in Nifskope, expand the NiTriStrips or NiTriShape (click on the arrow next to that name). You should then see stuff like NiBinaryExtraData, NiTriStripsData, & NiMaterialProperty. But if there is no NiTexturingProperty, with no NiSourceTexture under it (when you "expand" NiTexturingProperty), then this is the cause of your problem (or one of the causes).

This means you didn't assign a texture and it's texture folder path to the nif, in Blender, so be sure you read this tutorial and see if it helps you:

Blender UVMapping Tutorial, by Koniption
---------------------------
Secondly, the "NiSourceTexture" should point to the folder path of the dds texture, as it exists in the Oblivion Data folder. So put your color texture (i.e. colortexture.dds) and the associated normal map (i.e. colortexture_n.dds; must be same name as the colored textured, with an "_n.nif" on the end), in the "Data\textures\CustomSubfolder\CustomSubfolder\etc...". "CustomSubfolder" denotes a custom named folder of your choice (you can have one or more of these), but you absolutely must be in the "textures" section of the Data folder.

So open up the nif in Nifskope, go to the NiSourceTexture, click on the "purple flower" icon to the right, and browse to where your color texture is in the "textures" folder of Oblivion, then click on it, hit "Ok". Do not select the normal map which is a blue-hued texture ("_n.nif"), just select the regular colored texture. Be sure to save your nif, after this.
------------------------------
Thirdly, just about every texture in Oblivion needs a normal map. Make sure you make one. GIMP program has a dds plugin & a normal map plugin, that you can download separately, to make the color textures & normal maps that you need. It's free program. Normal map needs to go into the same folder as the regular color texture, btw, in the "textures" section of Oblivion files.
-------------------------------
Fourthly, the dds textures that Oblivion uses, whether color texture or normal map, needs to be a "power of 2" dimension:

8 x 8
16 x 16
32 x 32
64 x 64
..........etc (Notice how each next level doubles in the number value for length and width?)

Go no bigger than 1024x1024, optimally (for larger or more detailed meshes), but I've heard up to 2048x2048 can also be used, though it doesn't make much of a visible detectable difference (unless you are texturing a mesh that will be very big in the game). Usually, 512 x 512, is suitable for most tasks.

But your dds dimensions don't have to be perfectly square - they can be rectangular in any combination of length and width, too, as long as the "power of 2" dimension rule is still followed:

32 x 64
128 x 512
64 x 1024
..............etc

--------------------------------

If you are still having trouble after following the advice above, please PM me the files you made/exported: the nif, color texture, normal map texture, and Blender scene. You can use Filefront website to upload them, or some other one.

Koniption
Yeah, don't let those little turds get you down. Dingleberries stick for a while, but eventually they fall off. Cool
Reply
05-08-2011, 07:39 AM,
#3
 
Maybe I'm the only one who didn't know this ages ago, but NifSkope supports drag-and-drop: you can just drag a dds image file from Windows Explorer onto the picture in the render window in NifSkope and it will retex on the fly.

KP's point about textures being in your Oblivion\Data\Textures folder goes double with this method: Nifskope will only suppress the true disk path if it is. Otherwise the nif most likely won't work on someone else's machine!
Morcroft Darkes
Reply
05-08-2011, 10:42 AM,
#4
 
Quote:Originally posted by morcroft
Maybe I'm the only one who didn't know this ages ago, but NifSkope supports drag-and-drop: you can just drag a dds image file from Windows Explorer onto the picture in the render window in NifSkope and it will retex on the fly.

KP's point about textures being in your Oblivion\Data\Textures folder goes double with this method: Nifskope will only suppress the true disk path if it is. Otherwise the nif most likely won't work on someone else's machine!

Whoa! I never tried that method of texturing before with drag-n-drop, but it works!

Thanks for that tip, morcroft;
KP
Yeah, don't let those little turds get you down. Dingleberries stick for a while, but eventually they fall off. Cool
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)