GLBasic forum

Codesnippets => 3D-snippets => Topic started by: Sebastian on 2008-Jul-21

Title: GearFace TerrainLoader UPDATED + DOWNLOAD!
Post by: Sebastian on 2008-Jul-21
ENGLISH:
QuoteThis is the first release of the GearFace terrain loader. With this small function library (just 2 functions and you will only use one of them) you can load a 3D terrain mesh from a greyscale bitmap file (.png, .jpg and .bmp). You can decide how large you want the terrain and if it should be high quality or low quality (look at the example to see why a low quality terrain can be useful).
There are 2 zip files. The first one is only an interactive demo. It contains no code. The second one contains all the code (commented as I saw it fit) but no executables. Both contain the media needed to run the example. For further information on how to use the function see the example or the html file in the terrain loader folder. Last but not least I want to say: thank you Gernot, without your X_OBJ... code I couldn't have done this!

DEUTSCH:
QuoteHier ist also das erste Release des GearFace Terrain Laders. Mit dieser kleinen Funktionsbibliothek (nur 2 Funktionen und ihr werdet nur eine davon benutzen) kann man ein 3D Terrain aus einer Graustufen Bitmap Datei (.png, .jpg oder .bmp) laden. Ihr könnt entscheiden wie groß eure Terrains sein sollen und ob sie hoch- oder minderwertig sein sollen (im Beispiel kann man sehen, wozu man ein minderwertiges Terrain gut gebrauchen kann).
Es gibt 2 zip Dateien. Die erste ist nur eine interaktive Demo. Sie enthält keinerlei Code. Die zweite enthält jeglichen Code (kommentiert so weit ich es für nötig hielt) aber keine ausführbaren Dateien. Beide enthalten die Mediendateien für das Beispiel. Für weitere Informationen wie man diese Funktion benutzt schaut euch bitte das Beispiel an oder aber die html Datei im Terrain Loader Ordner. Zu guter Letzt möchte ich noch sagen: danke Gernot, ohne deinen X_OBJ... Code hätte ich es nicht geschafft!

1. Demo: http://cid-57c56f6980107571.skydrive.live.com/self.aspx/%c3%96ffentlich/terrain.zip (http://cid-57c56f6980107571.skydrive.live.com/self.aspx/%c3%96ffentlich/terrain.zip)

2. Code: http://cid-57c56f6980107571.skydrive.live.com/self.aspx/%c3%96ffentlich/TerrainLoader.zip (http://cid-57c56f6980107571.skydrive.live.com/self.aspx/%c3%96ffentlich/TerrainLoader.zip)
Title: Re: GearFace TerrainLoader UPDATED + DOWNLOAD!
Post by: Schranz0r on 2008-Jul-22
Nice, aber du hast immernoch Umlaute Probleme.... siehst du die garnet?
Title: Re: GearFace TerrainLoader UPDATED + DOWNLOAD!
Post by: Sebastian on 2008-Jul-22
Offtopic:

ÃÅ"ÃÅ"ÃÅ"ÃÅ"ÃÅ"ÃÅ"ÃÅ"ÃÅ"
ÄÄÄÄÄÄ
Ãâ€"Ãâ€"Ãâ€"Ãâ€"

Funktioniert doch?!?

Edit: ok, mit Firefox 3 sieht's anders aus.
ÖÖÖÖÖ
ÜÜÜÜ
ÄÄÄ

Edit 2: lol, mit Firefox 3 kommt nur n anderer Fehler. Ich kann euch versichern, dass das in keinem anderen deutschen Forum der Fall ist...
Title: Re: GearFace TerrainLoader UPDATED + DOWNLOAD!
Post by: Schranz0r on 2008-Jul-22
Keine Ahnung, ist nur bei dir so ^^
Title: Re: GearFace TerrainLoader UPDATED + DOWNLOAD!
Post by: D2O on 2008-Jul-24
Nö, bei mir ist das auch so, FF3.

Ich versuch auch schon die ganze zeit mit der Zeichencodierung zu switchen :(
Und ja, es fällt mir nur in diesem Forum auf.
Title: Re: GearFace TerrainLoader UPDATED + DOWNLOAD!
Post by: Kitty Hello on 2008-Jul-24
Habt ihr das Teil auf deutsch? Also - das Forum? Evtl. ist da ein Hund?
Title: Re: GearFace TerrainLoader UPDATED + DOWNLOAD!
Post by: Schranz0r on 2008-Jul-24
Glaub ich net, da ich ja auf UTF-8 gesetzt habe, nach dem Problem...
Seit dem zeig mir das Forum alles Korrekt an, nur halt net Sebastians Posts...