Advertisement

Terrain with crazy normals

Started by March 29, 2001 05:11 AM
-1 comments, last by XaOs 23 years, 7 months ago
I have made myself a tiny terrain engine, with a grid in the size of 80x80 (x+1,y+rand()%40,z+1); (Not real code)
Then i smooth it out, taking the average of 9 points around the current one.
This works good.

But the problem seems to with my normals. They behave very strange when i smooth things out. My traingle_strips get choped into many small ones, and they all get a "black spot" in one corner.
Don''t know if you can notice, but here we go...

If anyone could give me a hint or anything on what has happend, that would be great!
Please check it out --> Area 52
- -- ---[XaOs]--- -- -
- -- ---[XaOs]--- -- -[ Project fy ||| CyberTux ]

This topic is closed to new replies.

Advertisement