   Terrain Generation Problem
  HowzitWhen I import a *.raw file for height maps the map looks all choppy when it''s rendered to the screen. I don''t know why, because some parts are smooth and it looks good and then other parts it''s just triangles.Could this be the way that I''m impoting the file? 
quote:Original post by Mr_Ridd  HowzitWhen I import a *.raw file for height maps the map looks all choppy when it''s rendered to the screen. I don''t know why, because some parts are smooth and it looks good and then other parts it''s just triangles.Could this be the way that I''m impoting the file?   Sounds like you''re losing precision at some point in time. Most likely a floating-point to integer conversion or vice versa at some point (most likely during the rendering)   Trent Polackwww.polycat.netThe Best Blog in the Universetrent@polycat.netAuthor of Focus on 3D Terrain Programming;  Is it possible u are not traversing ur heightmap data completely.  Maybe u aren''t completely getting to the end of a row of data in the map and are trying to form triangles from non-adjascent vertex data 