RAW frage

Übersicht BlitzBasic Blitz3D

Neue Antwort erstellen

master-link

Betreff: RAW frage

BeitragDo, Nov 25, 2004 13:17
Antworten mit Zitat
Benutzer-Profile anzeigen
Hallo

Kann mann RAW. datein nehmen und die als Terrain laden?


mfg
master-link
 

David

BeitragDo, Nov 25, 2004 13:49
Antworten mit Zitat
Benutzer-Profile anzeigen
Hi!

Wohl eher nicht. Da in "raw" Dateien ja, soweit ich weis, nur die reinen Pixeldaten stehen und keine weiteren Informationen wie Höhe und Breite.

grüße

master-link

Betreff: ja danke

BeitragDo, Nov 25, 2004 13:54
Antworten mit Zitat
Benutzer-Profile anzeigen
jo danke für die antwort.
bloss wie kann maann aus dem Programm Terrangen die maps dann in mein blitz basic spiel einfügen?



mfg
master-link
 

walski

Ehemaliger Admin

BeitragDo, Nov 25, 2004 14:09
Antworten mit Zitat
Benutzer-Profile anzeigen
WTF sind RAW-Dateien? Bezeichnet man als RAW nicht normalerweise alle Daten, die nicht komprimiert sind?
Also gibt es nicht RAW-Wave-Dateien, RAW-BMP-Dateien, RAW-Videos ( zusammengesetzt aus RAW-BMPs ) usw usf... ?!

Und wenn du jetzt einfach RAW-BMPs meinst, warum solltest du die nicht als Heightmap benutzen können? Nur texturieren etc musst dus dann halt noch.

walski
buh!
 

David

BeitragDo, Nov 25, 2004 14:36
Antworten mit Zitat
Benutzer-Profile anzeigen
Hi!

Nö, soweit ich weis sind Raw Dateien wirklich nur die Bilddaten ohne Headerinformationen.

grüße
 

Ava

Gast

BeitragDo, Nov 25, 2004 14:58
Antworten mit Zitat
Also folglich Daten, mit denen man kaum etwas anfangen kann ? ... hmhmhm ... wie sollen die denn funktionieren ? *skeptischguck*

Jan_

Ehemaliger Admin

BeitragDo, Nov 25, 2004 15:01
Antworten mit Zitat
Benutzer-Profile anzeigen
hm, Eventuell muss er nur Readbyte für Color r,g,b ausführen, und wenn sie für terrains sind, dann noch SQR(Anzahl) für die Auflösung.
WEnn man ne Datei davon bekommt, und noch sieht, was drinne ist, denke ich, man kann drüber reden.
between angels and insects
 

David

BeitragDo, Nov 25, 2004 15:07
Antworten mit Zitat
Benutzer-Profile anzeigen
Hi!

@Ava:
Kann man... Wenn man Bildbreite, Bildhöhe und Bittiefe kennt! Wink

Zitat:

THE RAW (GRAPHICS) FORMAT

This is an easy file format for the developer, but sometimes a nightmare for the user. Smile

Basically, It's a raw format. There is no predefined format, not even for Image width and height, nor palettes, etc. The raw format is basically a type of import/export format rather than a storage format. For some systems and\or applications it?s a direct dump of the memory section containing the graphics information. Which means that encoding may depend on the graphics card memory arrangement itself. When opening a raw graphic format, the width and height must be specified usually, as well as when the picture data starts. There's other properties that needs to be specified sometimes. A raw file could be as simple as a stream of RGB values or as complex as random numbers as a header file with planar CMYK settings appended afterwards.

There's no standard between image viewers\painters. Some can write 16-bit and indexed colour graphics, but only read 16-bits or indexed colours. Some probably support RLE encoding.

RGB is not always the colour information being recorded in the file, it can also be encoded as grayscale, monochrome bitmap, indexed colours, CMY, CMYK, HSV, HSB, or even L*a*b models.

Here's some ways a raw image could be encoded:
RGB [R Byte] [G Byte] [B Byte] [R Byte] [G Byte] [B Byte] ...
BGR [B Byte] [G Byte] [R Byte] [B Byte] [G Byte] [R Byte] ...
CMY [C Byte] [M Byte] [Y Byte] [C Byte] [M Byte] [Y Byte] ...
CMYK [C Byte] [M Byte] [Y Byte] [K Byte] [C Byte] [M Byte] ...
Planar RGB [R] [R] [R] [R] ... [G] [G] [G] [G] ... [B] [B] [B] [B] ...


Image values could also start from the bottom and proceed to the top (like
the Windows BMP format).


@Jan: Was???? Shocked
grüße

Jan_

Ehemaliger Admin

BeitragDo, Nov 25, 2004 15:14
Antworten mit Zitat
Benutzer-Profile anzeigen
@ DAvid, das selbe wie du.
between angels and insects

Neue Antwort erstellen


Übersicht BlitzBasic Blitz3D

Gehe zu:

Powered by phpBB © 2001 - 2006, phpBB Group