|
From: Sascha R. <rei...@no...> - 2020-09-03 15:53:34
|
Am Donnerstag, den 03.09.2020, 16:44 +0200 schrieb Samuel CUELLA: > What I have done so far: > > --Coordinates > I've converted some C++ code to plain C from fg to load btg files and > meshes. In these files The documentation > (http://wiki.flightgear.org/BTG_file_format) states that all vertices > coordinates uses the ECEF. Dont know what you mean with ECEF (maybe 'Earth Center … …'). All vertecies are *relative* to the center of the bounding sphere. So the *absolute* coordinate of a vertex is the center of the bounding sphere plus the vertex coordinate. Your first movie looks not only like shaking, if you look at the white marking lines it looks more as the vertecies of the mesh are jumping around. Maybe a precition problem? -- best regards Sascha GPG fingerprint: 5A68 F665 44E6 0E50 001C 75A6 92BB DD59 6C5F DC0F GPG key: https://pgp.mit.edu/pks/lookup?search=0x92BBDD596C5FDC0F&op=vindex&fingerprint=on&exact=on |