Plain Text View of DVMPALET.TXT


Remove Frame

STANDARD PALETTE

Does not exist in file, should be included with viewer.
Can be created like this;

	var
	   palette: array [0..255] of record red, green, blue: byte; end;
	   b, c, g, r: byte;
	(...)
	for c:=0 to 15 do
	   with palette[c] do
	   begin
	      red:=round(c*4.2);
	      green:=round(c*4.2);
	      blue:=round(c*4.2);
	   end;
	for r:=0 to 5 do
	   for g:=0 to 5 do
	      for b:=0 to 5 do
		 with palette[r*36+g*6+b+16] do
		 begin
		    red:=round(r*12.6);
		    green:=round(g*12.6);
		    blue:=round(b*12.6);
		 end;
	for c:=0 to 7 do
	   begin
	      with palette[232+c] do
	      begin
		 red:=c*9;
		 green:=0;
		 blue:=0;
	      end;
	      with palette[240+c] do
	      begin
		 red:=0;
		 green:=c*9;
		 blue:=0;
	      end;
	      with palette[248+c] do
	      begin
		 red:=0;
		 green:=0;
		 blue:=c*9;
	      end;
	   end;



The file 'DVMPAL.BIN' contains the standard palette. 



For any questions or suggestions:

Bert Greevenbosch
Roestmos 12
3069 AR  Rotterdam
The Netherlands

Telephone:
+31-10-4215920