POV-Ray : Newsgroups : povray.general : Palettes Server Time
31 Oct 2024 22:24:48 EDT (-0400)
  Palettes (Message 1 to 6 of 6)  
From: Steven Jones
Subject: Palettes
Date: 11 Nov 2000 14:29:56
Message: <3a0d9e34@news.povray.org>
Is it possible to convert a PSP 256-colour palette to a Pov colour map?  I
ask because if it's possible then I can use Povray to make topographic maps
for the game 'Virtual Sailor'. ( http://avsim.com/vs )


Post a reply to this message

From: Bob H 
Subject: Re: Palettes
Date: 11 Nov 2000 14:44:56
Message: <3a0da1b8$1@news.povray.org>
Perhaps there is only one thing you really need to know, using 0/255 to 255/255
is the range POV uses, 0 to 1.  In other words, divide all palette entries by
255.
Or maybe you wanted to know more than that.  I don't know of a utility to take
a *.pal file so as to turn it into a color_map.

Bob

"Steven Jones" <ste### [at] tsncc> wrote in message
news:3a0d9e34@news.povray.org...
> Is it possible to convert a PSP 256-colour palette to a Pov colour map?  I
> ask because if it's possible then I can use Povray to make topographic maps
> for the game 'Virtual Sailor'. ( http://avsim.com/vs )


Post a reply to this message

From: Christoph Hormann
Subject: Re: Palettes
Date: 11 Nov 2000 15:08:46
Message: <3A0DA74F.DB0418DA@schunter.etc.tu-bs.de>
Steven Jones wrote:
> 
> Is it possible to convert a PSP 256-colour palette to a Pov colour map?  I
> ask because if it's possible then I can use Povray to make topographic maps
> for the game 'Virtual Sailor'. ( http://avsim.com/vs )

I have a program here that can do exactly this but it's not ready for
publishing right now, very bad designed :-)

If you have only some palettes to convert i can do them for you.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Matt Giwer
Subject: Re: Palettes
Date: 11 Nov 2000 17:40:50
Message: <3A0DCAF2.FEEAB44A@ij.net>
Steven Jones wrote:
> 
> Is it possible to convert a PSP 256-colour palette to a Pov colour map?  I
> ask because if it's possible then I can use Povray to make topographic maps
> for the game 'Virtual Sailor'. ( http://avsim.com/vs )

	Dumb question perhaps but why not run it through PSP to reduce it to
indexed colors?


Post a reply to this message

From: GrimDude
Subject: Re: Palettes
Date: 13 Nov 2000 23:44:33
Message: <3a10c331@news.povray.org>
Exactly, this is the way to do it (worked for Quake). Just calculate the
colors for your Pov object, as Bob H. recommended, and then open the Pov
generated image into PSP. Finally, load the palette from your game and save
the result.

Note: You may have to do some gamma adjustment.

Pov is currently being used to generate maps for "Aces High" (an online
flight simulator)over at http://www.hitechcreations.com Check out the
'Terrain Editor' forum on their BBS, if you are interested. But really,
these guys are beginners and it takes them months to make a single map. It
took me an hour to create my first one. :)

If anyone is interested in doing this sort of thing (for fun as there is no
money in it) I would certainly help organize things. A.H. is not the only
game that could use this.

Grim


Post a reply to this message

From: Steven Jones
Subject: Re: Palettes
Date: 14 Nov 2000 02:07:07
Message: <3a10e49b@news.povray.org>
Yeah, I'd be interested.  The really interesting part about Virtual Sailor
is that the depth map (water) and the topographical map (land) are in two
seperate files.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.