PDA

View Full Version : GL_ATIX_ENVMAP_BUMPMAP



paddy
05-17-2001, 06:20 AM
My little question :
Can you mipmap these guys ?
I think the answer is NO.
But how can you fix that ugly shimmering of the bumps on far away polys ?

[This message has been edited by paddy (edited 05-17-2001).]

Gorg
05-17-2001, 07:05 AM
Just don't bump map if it is far away. You won't notice a difference and it will give you a speed up.

But if you insist on bump mapping anyway, then I don't know.

[This message has been edited by Gorg (edited 05-17-2001).]

paddy
05-17-2001, 07:16 AM
You got it georg http://www.opengl.org/discussion_boards/ubb/smile.gif
I was thinking of using different LOD EMBM maps. In a way, doing mipmapping by hand.
If anyone has a better idea... you're welcome !

Humus
05-17-2001, 07:39 AM
You can have mipmapping on the DUDV texture, I have it in my EMBM demo. But the gluBuild2DMipmaps() function wont recognice the GL_DUDV_ATIX format parameter ... so you need to write your own mipmap building function, but that's not hard ... around 20 lines of code.

paddy
05-17-2001, 09:05 AM
I'll try this, I think can do a bitmap resize function http://www.opengl.org/discussion_boards/ubb/wink.gif
I was just wondering if anybody tried and if there were some artifacts. You gave me the answer, Humus !

paddy
05-17-2001, 09:10 AM
Oh yes ...
If you have a RadeON (only !) you can check this out : http://paddy.io-labs.com/ocean.rar (2.04 Mb)

You have to get the latest beta drivers and disable anisotropy because it don't work with EMBM.
You don't need a GF3 to see a nice bumpy per pixel lighted sea scene http://www.opengl.org/discussion_boards/ubb/wink.gif

Tell me what you think !


[This message has been edited by paddy (edited 05-17-2001).]

Zeno
05-17-2001, 09:20 AM
Hey Paddy, could you post a screen grab of that ocean? I'd like to see it and don't have a radeon :P.

Thanks,
-- Zeno

paddy
05-17-2001, 09:24 AM
http://paddy.io-labs.com/sea.jpg

The static image don't give justice to the moving thing anyway.
Final will also include a sky with sun/moon/stars.

I will also use an alternate bump technology for NVidia boards.

[This message has been edited by paddy (edited 05-17-2001).]

Gorg
05-17-2001, 09:38 AM
Look absolutly sweet.

Better start doing some mipmapping for my bumpmaps http://www.opengl.org/discussion_boards/ubb/smile.gif

Humus
05-17-2001, 12:28 PM
*Waiting impatiently for the final version* http://www.opengl.org/discussion_boards/ubb/tongue.gif

mcraighead
05-17-2001, 04:04 PM
On GF3 hardware, we support fully correct dependent texturing LOD calculations.

- Matt

Gorg
05-17-2001, 04:19 PM
Originally posted by mcraighead:
On GF3 hardware, we support fully correct dependent texturing LOD calculations.

- Matt


This publicity was brought to you by Nvidia http://www.opengl.org/discussion_boards/ubb/smile.gif

paddy
05-18-2001, 04:47 AM
To Matt :
I would be pleased to support the GF3 with all it's advanced features in our engine, but there is now way to find one here in France ...

paddy
05-18-2001, 10:20 PM
New version available http://www.opengl.org/discussion_boards/ubb/smile.gif
Featuring the Moon, and now nice mipmapped EMBM. Waves are better too (perlin noise) and they come and go ...
Also, it's a zip now (no longer rar).
The archive is big because of the 1024x1024 bump map ... it will be procedurally generated in the next release http://www.opengl.org/discussion_boards/ubb/smile.gif

ENJOY IT : http://paddy.io-labs.com/ocean.zip (2.92mb)

Someone told me the bug which makes EMBM crash if anisotropic is enabled was fixed in the Win9x 7109 drivers. Can anyone confirm this please ?? Thanks !

Humus
05-19-2001, 07:30 AM
Yup, it's gone.