tag:blogger.com,1999:blog-4217826068942535587.post5439938465291581808..comments2023-10-07T11:24:50.610+02:00Comments on Outerra: IntroOuterrahttp://www.blogger.com/profile/01028397138049592535noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4217826068942535587.post-60225653265420441072010-01-05T15:13:02.220+01:002010-01-05T15:13:02.220+01:00Hi Aleksandar
Please come to our forum at http://w...Hi Aleksandar<br />Please come to our forum at http://www.outerra.com/forum to discuss technical (and other) questions.<br /><br />Yes, using a geocentric coordinate system for the planet directly would allow only for limited precision, and thus it can be used only up to a certain level of detail (i.e. for some maximum distance from the surface). So what I do is that the geometry for the more detailed terrain tiles is generated in its "local space", what is a coordinate system centered in the middle of the terrain tile that starts to use it. All subsequent subdivisions of this tile use the same coordinate system.<br /> Finally, for the rendering of these tiles the camera is expressed in the local space too. This way you get rid of large static numbers in coordinates that ruin the precision.Outerrahttps://www.blogger.com/profile/01028397138049592535noreply@blogger.comtag:blogger.com,1999:blog-4217826068942535587.post-58255123270682958192010-01-05T14:26:29.513+01:002010-01-05T14:26:29.513+01:00Bravo, Brano! Extraordinary work!
I have many que...<b>Bravo, Brano! Extraordinary work!</b><br /><br />I have many questions, but I hesitate to overwhelm you with them. :)<br /><br />So, lets confine it to just one question... Building a large terrain models, especially a whole planet, requires calculations with doubles, but most graphics cards support only floats. Using fixed coordinate system bonded to the center of the Earth does not allow viewer to go beneath 2000m or so. The "Logarithmic Z-Buffer" cannot help much in that situation. <b>Can you explain in some of your blogs (of course if it is not a secret) in what coordinate system the vertices are expressed?</b>Akshttps://www.blogger.com/profile/13224393823907039719noreply@blogger.com