
Normal Map Issue
-
- Posts: 4132
- Joined: Tue Oct 21, 2008 5:20 pm
- Location: Washington, USA
- Contact:
Normal Map Issue
Well, I seem to have a problem with my normal map not being drawn when the camera is far away. Any ideas on how to fix it? And don't mind those rafters, they have already been fixed.


Re: Normal Map Issue
Those thin lines are blending into the background at the lower mipmap levels. If you want them to stay there at a distance you'll have to make a custom mipmap for the normal map. Look here for the details.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 4132
- Joined: Tue Oct 21, 2008 5:20 pm
- Location: Washington, USA
- Contact:
Re: Normal Map Issue
Alrighty....
Here are my two images with the custom mip_mapping. Could you take a look and see if there is anything noticeably wrong?
diffuse:

norm:

Trying it with just the custom norm, and a regular diffuse:

and even better, using custom mip_maps for both:

Any ideas?
Here are my two images with the custom mip_mapping. Could you take a look and see if there is anything noticeably wrong?
diffuse:

norm:

Trying it with just the custom norm, and a regular diffuse:

and even better, using custom mip_maps for both:

Any ideas?
Re: Normal Map Issue
You need to add [mip_custom] to the png comment. You also need the complete set of mipmaps down to 1x1 pixel.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 4132
- Joined: Tue Oct 21, 2008 5:20 pm
- Location: Washington, USA
- Contact:
Re: Normal Map Issue
Hmm, seems like my problem is the commenting. When I go to gimp > image > image properties > comments and type [mip_custom] then check it in notepad, it adds an iXT Comment. I checked the banner from sorketorp and it seems as though they have a tEXt Comment. Can you elaborate on how to add the correct type of comment? Suppose I would know if I wasn't such a noob!
Re: Normal Map Issue
tEXt is Latin-1 characters and iTXt is UTF characters. I'm not sure how to force Gimp to not use UTF-8, but I just tried adding a comment with Imagemagick and it produced a tEXt comment.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 4132
- Joined: Tue Oct 21, 2008 5:20 pm
- Location: Washington, USA
- Contact:
Re: Normal Map Issue
When I try to add a comment with imageMagick it really does some magick :/ It changes my image from 64 lines long, and around 13 KBs to 28 lines and 11.3 KBs :/
I really can't figure out what I am doing wrong here.
convert <image_filename> -comment "[mip_custom]" <new_image_filename>
Is this correct usage? I am getting some funky results, and it is not adding a comment of any kind.
I really can't figure out what I am doing wrong here.
convert <image_filename> -comment "[mip_custom]" <new_image_filename>
Is this correct usage? I am getting some funky results, and it is not adding a comment of any kind.
Re: Normal Map Issue
The manual page says: convert [input-options] input-file [output-options] output-file
So you would think that would work. But I had to put it first with the input options for it to work.
So you would think that would work. But I had to put it first with the input options for it to work.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 4132
- Joined: Tue Oct 21, 2008 5:20 pm
- Location: Washington, USA
- Contact:
Re: Normal Map Issue
Yay! Haha, thanks JLV! For some reason I had to put the comment text with the input options...image black magick I guess!