Advertisement

Check out my landscape engine!

Started by March 14, 2003 05:00 PM
10 comments, last by BradDaBug 21 years, 10 months ago
very kool looking terrain engine man! Keep up the good work!
Great!

But that problem wasn't the reason it won't work in Windows after all. It's still something different. I'm compiling it with Visual C++ 6.0, btw. When I build it in release mode, it shows the FPS and the camera coords, but nothing else, just blank white. As soon as you press an arrow key, the FPS and camera coords disappear, and it's nothing but pure white. In debug mode, the FPS and camera coords flash, then disappear almost instantly, with nothing but white.

I guess this is the wrong place to ask for help, but does anyone have any ideas why it won't work in Windows?

UPDATE: Never mind. Stupid stupid stupid problem. A variable was not getting initialized. But there's no shadow mapping! Lemme see if I can fix that problem...

ANOTHER UPDATE: For some reason, the entire lightmap is read in as 0.0. It's using the color array fine, its just that the color array is 0.0. It's kinda wierd cause it's using the same exact code to load the lightmap as the heightmap!

YET ANOTHER UPDATE: It seems like if I load the lightmap BEFORE the hightmap, or even not at all, it won't render anything. If I load the lightmap AFTER the heightmap, then it renders fine. BTW, even if it calls an empty LoadHeightmap() function, it works. It doesn't have to even actually load the heightmap, it just calls the function and it works. Wierd!

[edited by - BradDaBug on March 21, 2003 4:19:22 PM]
I like the DARK layout!

This topic is closed to new replies.

Advertisement