POV-Ray : Newsgroups : povray.binaries.images : Normal map to bump map ... plaid. Server Time
31 Jul 2024 16:32:20 EDT (-0400)
  Normal map to bump map ... plaid. (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Mike Raiford
Subject: Normal map to bump map ... plaid.
Date: 28 Aug 2009 21:39:55
Message: <4a9886eb@news.povray.org>
It looks good, except, it's gone plaid...

Looks like everything worked as expected, except the left edge and top 
edge didn't have appropriate normals, causing a plaid effect.

Any ideas on how to counter this?


Post a reply to this message


Attachments:
Download 'plaid.jpg' (131 KB)

Preview of image 'plaid.jpg'
plaid.jpg


 

From: Mike Raiford
Subject: Re: Normal map to bump map ... plaid.
Date: 31 Aug 2009 10:07:43
Message: <4a9bd92f@news.povray.org>
Mike Raiford wrote:
> It looks good, except, it's gone plaid...
> 
> Looks like everything worked as expected, except the left edge and top 
> edge didn't have appropriate normals, causing a plaid effect.

Hmmm... An attempt, using the mean delta between two rows or columns.


Post a reply to this message


Attachments:
Download 'deplaided.jpg' (118 KB)

Preview of image 'deplaided.jpg'
deplaided.jpg


 

From: Mike Raiford
Subject: Re: Normal map to bump map ... plaid.
Date: 31 Aug 2009 10:21:46
Message: <4a9bdc7a@news.povray.org>
Mike Raiford wrote:
> Mike Raiford wrote:
>> It looks good, except, it's gone plaid...
>>
>> Looks like everything worked as expected, except the left edge and top 
>> edge didn't have appropriate normals, causing a plaid effect.
> 
> Hmmm... An attempt, using the mean delta between two rows or columns.
> 
> 
> ------------------------------------------------------------------------
>

Haha! Perfection!

Instead of the mean of the deltas, I used the median of the deltas!


Post a reply to this message


Attachments:
Download 'deplaided_median.jpg' (64 KB)

Preview of image 'deplaided_median.jpg'
deplaided_median.jpg


 

From: Stephen
Subject: Re: Normal map to bump map ... plaid.
Date: 31 Aug 2009 11:13:18
Message: <c1qn951s1e0bouht40f6h20p00hspt2lp6@4ax.com>
On Mon, 31 Aug 2009 09:21:24 -0500, Mike Raiford <mraXXXiford.at.@g1023mail.com>
wrote:

>Haha! Perfection!

Congratulations Mike, but excuse my ignorance. What is the difference between
normal maps and bump maps?
-- 

Regards
     Stephen


Post a reply to this message

From: Mike Raiford
Subject: Re: Normal map to bump map ... plaid.
Date: 31 Aug 2009 12:15:20
Message: <4a9bf718$1@news.povray.org>
Stephen wrote:

> Congratulations Mike, but excuse my ignorance. What is the difference between
> normal maps and bump maps?

A normal map stores the (relative) surface normal vectors in the RGB 
channels of the image, whereas a bump map (which POV-Ray uses) stores 
the perceived height of the surface as a gray value.

Normal maps are actually more flexible in how they can alter the surface 
normal of an image than bump maps. But, obviously these don't work in 
POV-Ray yet.

-- 
~Mike


Post a reply to this message

From: Stephen
Subject: Re: Normal map to bump map ... plaid.
Date: 31 Aug 2009 13:22:50
Message: <1f1o95dndcda38aosdgicmek13khh04472@4ax.com>
On Mon, 31 Aug 2009 11:11:21 -0500, Mike Raiford <"m[raiford]!at"@gmail.com>
wrote:

>Stephen wrote:
>
>> Congratulations Mike, but excuse my ignorance. What is the difference between
>> normal maps and bump maps?
>
>A normal map stores the (relative) surface normal vectors in the RGB 
>channels of the image, whereas a bump map (which POV-Ray uses) stores 
>the perceived height of the surface as a gray value.
>
>Normal maps are actually more flexible in how they can alter the surface 
>normal of an image than bump maps. But, obviously these don't work in 
>POV-Ray yet.

Thanks Mike,
	I could have Googled it but I was doing an "Invisible" :P
What applications are they used in?
-- 

Regards
     Stephen


Post a reply to this message

From: Mike Raiford
Subject: Re: Normal map to bump map ... plaid.
Date: 31 Aug 2009 13:27:35
Message: <4a9c0807$1@news.povray.org>
Stephen wrote:

> Thanks Mike,
> 	I could have Googled it but I was doing an "Invisible" :P
> What applications are they used in?

The one I've been messing with was output by the game Spore, when I 
exported my creature to a mesh.

I think Blender and other modeling programs use them as well. I'm 
betting inside a lot of games that use D3D hardware probably use them, 
since they can give better surface normal results. Many of the 
commercial 3D packages can use them, too.

-- 
~Mike


Post a reply to this message

From: Roman Reiner
Subject: Re: Normal map to bump map ... plaid.
Date: 31 Aug 2009 15:20:00
Message: <web.4a9c2234f8a102de15bacd950@news.povray.org>
> What applications are they used in?

Like, every 3d app beside POVRay.

[/rant]


Post a reply to this message

From: Mike Raiford
Subject: Re: Normal map to bump map ... plaid.
Date: 31 Aug 2009 15:27:52
Message: <4a9c2438$1@news.povray.org>
Roman Reiner wrote:
>> What applications are they used in?
> 
> Like, every 3d app beside POVRay.
> 
> [/rant]

Something like that :-D

-- 
~Mike


Post a reply to this message

From: Stephen
Subject: Re: Normal map to bump map ... plaid.
Date: 31 Aug 2009 15:39:12
Message: <ll9o9519hj4loljt47lnh4qoh7i6cs3fe2@4ax.com>
On Mon, 31 Aug 2009 14:23:53 -0500, Mike Raiford <"m[raiford]!at"@gmail.com>
wrote:

>Roman Reiner wrote:
>>> What applications are they used in?
>> 
>> Like, every 3d app beside POVRay.
>> 
>> [/rant]
>
>Something like that :-D

Well my ignorance is bliss since I don't play games and only use Pov. Except
maybe Poser but I don't use the render o/p much.
Heigh Ho! :D
-- 

Regards
     Stephen


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.