Weird Bumpmap Bug

Report bugs, bug fixes and workarounds here.
Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 5 months
Location: NY, USA

Post #21by selden » 22.04.2003, 21:42

Mike,

My posting was to let Chris know which of the five "render paths" has the bug and that it's easy to reproduce on a recent model Nvidia card. The problem affects more than just the older Nvidia cards.

Which of the Control-V render paths works for you?
Selden

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 5 months
Location: NY, USA

Post #22by selden » 23.04.2003, 01:25

Unfortunately, close examination reveals that the bumpmap code in Celestia v1.3.0 is broken not just in the "Nvidia Combiners" but also in the "OpenGL vertex shaders" rendering path. Superficially it looks OK, but when you watch the western side of Olympus Mons during sunrise, the western escarpment is lit when it should be in shadow.

This is using the medres mars surface texture and bumpmap as shipped with Celestia. As best I can tell, those images are identical to the ones that shipped with v1.2.5.

Here's an example:
Image

Here's the corresponding Cel:// URL
cel://SyncOrbit/Sol:Mars/2003-04-23T20:19:23.47212?x=mISsNileBPG4DA&y=DrdtY+e30qL//////////w&z=jEx0sgA9heoW&ow=-0.632684&ox=-0.062483&oy=0.765674&oz=-0.097722&select=Sol:Mars&fov=45.000000&ts=0.000000&rf=515&lm=2

System configuration:
256MB, 500MHz P3, Windows XP Pro SP1
128MB Nvidia GeForce4 Ti4200, Detonator 40.72 and 43.45, OpenGL 1.4
Celestia v1.3.0

This bug is *not* present in Celestia v1.3.0pre4, pre5.1 or pre6. (I don't have a copy of the 6.1 executable.)

(written later:
diff claims that the bump*.vp files in the shaders directory are identical between pre6 and final, so that suggests a problem in the executable.)
Selden

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 23 years
Location: Seattle, Washington, USA

Post #23by chris » 23.04.2003, 01:52

I screwed this up in a last minute attempt to make 'standard' normal maps work. The problem with the NVIDIA combiners path is something I knew about and chose to disregard . . . The problem with the OpenGL vertex shaders path is a surprise. This is high priority, and I'll get it worked out very soon.

--Chris

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 6 months
Location: USA, East Coast

Post #24by billybob884 » 23.04.2003, 03:37

selden wrote:Which of the Control-V render paths works for you?


basic and multitexture are the only ones that work "correctly"
Mike M.

TacoTopia!


Return to “Bugs”