Problems adding bump maps

Post » Sat Oct 03, 2009 2:43 pm

Hi everyone,

I am trying to add a bump map to a mesh, but so far the modified nifs always crash the game (as well as the construction set).

Here is a link of a screenshot which I took while I was working in NifSkope:

http://i157.photobucket.com/albums/t68/Mr_Swiveller/bumpmapping.jpg

Can anyone tell from this image what I am doing wrong?

The postbox1_n texture is an embossed version of the base texture added using the 'Add Bump Map' function.

Another question: the NiTextureEffect texture is a lens flare. Is this the right kind of image to use for this kind of purpose?

Many thanks in advance,

Swiveller
User avatar
Alyesha Neufeld
 
Posts: 3421
Joined: Fri Jan 19, 2007 10:45 am

Post » Sat Oct 03, 2009 1:28 pm

http://www.gamesas.com/bgsforums/index.php?showtopic=1076632&hl=
User avatar
Shaylee Shaw
 
Posts: 3457
Joined: Wed Feb 21, 2007 8:55 pm

Post » Sat Oct 03, 2009 5:24 pm

http://www.gamesas.com/bgsforums/index.php?showtopic=1076632&hl=


Thank you for the reply. I am aware of your thread, yet I am afraid that it does not answer my question. Basing myself on the structure of one of the nif files in the Art of War Museum mod, I believed that my nif file contained all of the necessary features. Yet obviously I am doing something wrong as the file crashes my game.

I do hope that someone with more knowledge of how bumpmapping in Morrowind works can take a look at my screenshot.

Have you been able to figure out how precisely to get bump maps to work, Guitarjoe91?
User avatar
Portions
 
Posts: 3499
Joined: Thu Jun 14, 2007 1:47 am

Post » Sat Oct 03, 2009 5:39 pm

Unfortunately, you nif shows not much (no block details and shifted windows).
I assume that 0 NiNode is a scene root node ? usually NiTextureEffect node is parented to another NiNode: see Bjam's tutorials for adding texture effects in NifScope.

:)
User avatar
Catherine N
 
Posts: 3407
Joined: Sat Jan 27, 2007 9:58 pm

Post » Sat Oct 03, 2009 1:42 pm

You can look at one of my weapons on PES. :)
User avatar
Kat Lehmann
 
Posts: 3409
Joined: Tue Jun 27, 2006 6:24 am

Post » Sat Oct 03, 2009 1:22 pm

Unfortunately, you nif shows not much (no block details and shifted windows).
I assume that 0 NiNode is a scene root node – usually NiTextureEffect node is parented to another NiNode: see Bjam's tutorials for adding texture effects in NifScope.

:)


Do you mean that more information is available, A1x2e3l, or do you mean that such details should be added? I have only a basic understanding of the nif file structure.

I have not yet been able to find Bjam's tutorials. Could you please post a link?

Many thanks in advance!

EDIT - I got it to work! Acting on A1x2e3l's suggestion, as well as a comparison of my file with Dragon Lance's Nerevar's Blade, I created a new NiNode subsidiary to Ninode 0, and moved all of the data already present there. The nif now functions properly; no more crashes and the bump map displays as intended.
User avatar
Symone Velez
 
Posts: 3434
Joined: Thu Sep 07, 2006 12:39 am

Post » Sat Oct 03, 2009 4:08 pm

Problem solved! See the edit of the previous post.

I intend to write a brief tutorial for others facing similar difficulties; will probably post in on PES once finished.
User avatar
Victoria Vasileva
 
Posts: 3340
Joined: Sat Jul 29, 2006 5:42 pm

Post » Sat Oct 03, 2009 1:08 pm

Problem solved! See the edit of the previous post.

I intend to write a brief tutorial for others facing similar difficulties; will probably post in on PES once finished.


It needs to be part of your environmental map to work. Other wise you'll have a bump but it will never really bump in game... You'll just think it does.

Light should reflect off a bump map for it to work.
http://www.youtube.com/watch?v=MQZGpOxcNP0
User avatar
dell
 
Posts: 3452
Joined: Sat Mar 24, 2007 2:58 am

Post » Sat Oct 03, 2009 8:32 pm

It needs to be part of your environmental map to work. Other wise you'll have a bump but it will never really bump in game... You'll just think it does.

Light should reflect off a bump map for it to work.
http://www.youtube.com/watch?v=MQZGpOxcNP0


Could you explain what you mean when you say that it needs to be part of the environmental map? That I should use the embossed texture both under the NiTextureEffect entry and under the NiTexturingProperty entry?
User avatar
Floor Punch
 
Posts: 3568
Joined: Tue May 29, 2007 7:18 am

Post » Sat Oct 03, 2009 12:46 pm

Several years ago Bjam has pioneered writing NifScope tutorials for adding NiTextureEffect (reflection) on this (for creatures) and on NifTools (other game objects) forums. NiTextureEffect addition is a crucial step for applying MW bump maps. I have converted these tutorials in pdfs:

http://www.4shared.com/file/91377203/db2c8139/ReflectionMapsBjam.html


:)

Environment map texture file and bump map texture file are two different textures.
User avatar
Spooky Angel
 
Posts: 3500
Joined: Thu Aug 10, 2006 5:41 pm

Post » Sat Oct 03, 2009 10:41 pm

Several years ago Bjam has pioneered writing NifScope tutorials for adding NiTextureEffect (reflection) on this (for creatures) and on NifTools (other game objects) forums. NiTextureEffect addition is a crucial step for applying MW bump maps. I have converted these tutorials in pdfs:

http://www.4shared.com/file/91377203/db2c8139/ReflectionMapsBjam.html


:)


Thank you! I am downloading the file now.
User avatar
Baby K(:
 
Posts: 3395
Joined: Thu Nov 09, 2006 9:07 pm

Post » Sun Oct 04, 2009 12:46 am

Could you explain what you mean when you say that it needs to be part of the environmental map? That I should use the embossed texture both under the NiTextureEffect entry and under the NiTexturingProperty entry?


You can do that. but all you'll get is a fake bump. More at just added looking depth. Like Connery does. You need to look up environmental maps at nifs forum. Then attach it to that as a bump...Or a normal map as it 's only looking for a value.


Environmental maps is the term the industry uses for reflective maps and so on. The bump or normal needs to be attached to the reflective/environmental map.

EnvMap

http://cs.elderscrolls.com/constwiki/index.php/Working_With_Nifs_301_:_Properties_Breakdown
User avatar
u gone see
 
Posts: 3388
Joined: Tue Oct 02, 2007 2:53 pm


Return to III - Morrowind