Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Geomipmapped patches

This topic is 5393 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Finally i decided to implement geomipmapping to render my terrain. My problem is that i have to make a set of triangles to glue 2 patches with different LOD. I can do it for every side, but when i have to glue left and top edges of patch (for example) i get an odd result in the corner because of triangle sollapation. Here are 2 shots: one showing the bad result when 2 edges have to be glued and the other showing that one side glued works correct [edited by - tiutiu on August 15, 2003 8:25:17 PM]

Share this post

Link to post
Share on other sites
"Move" the extra vertices in the other direction, so that you get right-angled tiangles at the edge, with its hipotenuse (sp?) touching the lower-LOD patch. This way, you''ll always have a diagonal edge going from the corner towards the center of your patch, allowing you to avoid that problem.

Michael K.,
Co-designer and Graphics Programmer of "The Keepers"

We come in peace... surrender or die!

Share this post

Link to post
Share on other sites
U could make the coarser patches more tesselated at the edges, but this will increase the poly count.

A skirt is the best solution.


Share this post

Link to post
Share on other sites
Don''t collapse vertices at all. Fix the cracks by using skirts. Basically, where two patches of different LOD meet and a crack occurs, render a vertical strip. The strip''s height should follow the patch that is furthest away from you. Here''s an ASCI pic showing the terrain from the side, with a skirt rendered:

patch 1 <-- Camera
| patch 2

This is sooo much faster. To see it in action, try my simple geomipmap demo. It contains the source for the terrain classes as well.

Sander Maréchal
[Lone Wolves Game Development][RoboBlast][Articles][GD Emporium][Webdesign][E-mail]

GSACP: GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!