User Tools

Site Tools


falcon4:textures:rgb2pcx_tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

falcon4:textures:rgb2pcx_tutorial [2009/08/21 23:50] – put this page to a new location. snakemanfalcon4:textures:rgb2pcx_tutorial [2024/07/31 09:32] (current) – links added. snakeman
Line 1: Line 1:
-====== How to convert the RGB images back to PCX ======+====== Falcon 4 How To Convert The RGB Images Back To PCX ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=47|Falcon 4.0 Forum]], [[:falcon4|Falcon 4 Home]], [[falcon4:campaign|Falcon 4 Campaign]], [[falcon4:cockpits|Falcon 4 Cockpits]], [[falcon4:database|Falcon 4 Database]], [[falcon4:file_formats|Falcon 4 File Formats]], [[falcon4:srtm|Falcon 4 SRTM Terrain]], [[falcon4:terrain|Falcon 4 Terrain]], [[falcon4:textures|Falcon 4 Textures]], [[falcon4:tools|Falcon 4 Tools]]
  
 How to convert the RGB images back to PCX and make high quality L and M tiles, so here it is: How to convert the RGB images back to PCX and make high quality L and M tiles, so here it is:
  
-Duplicate the finished image with all the layers and then flatten the image. If you get a pixelated look ingame with the finished H tile, then you can and apply a gaussian blur filter with a radius of 0.3 to prevent this. +Duplicate the finished image with all the layers and then flatten the image. If you get a pixelated look ingame with the finished H tile, then you can and apply a gaussian blur filter with a radius of 0.3 to prevent this.
  
 Then save the image with the "Save for Web" command. Select GIF, Lossy: 0, Custom, Colors: 252 (256-4 night lighting colors), No Dither, no Transparency, no Interlaced, WebSnap: 0% and save the image. Open the saved GIF in PS and get the color table with "Image->Mode->Color Table...". Unfortunately the positions for the night lighting are switched in Photoshop so you have to switch the positions by hand. Therefor click on the first color at the top left of the color table and hit CTRL-C to copy the already marked hex value for the color to the clipboard. Then click on one of the 4 spots you left blank as you saved only 252 colors. When the color dialog opens hit CTRL-V to paste the color value from the clipboard to change the color. Repeat this for the next 3 colors from the beginning, too. Now that you saved the first 4 colors into the last 4 blank squares you should change the first 4 colors to the ones you want to be your night lighting colors. Choose 4 colors for night lighting that aren't in your image already, instead choose new ones and paint the night lighting effects after converting to PCX. Finally save the color table so that you find it again. It doesn't matter if your GIF image looks a bit "strange", we need this GIF only to get the color table right. After this you can close it again without saving. Then save the image with the "Save for Web" command. Select GIF, Lossy: 0, Custom, Colors: 252 (256-4 night lighting colors), No Dither, no Transparency, no Interlaced, WebSnap: 0% and save the image. Open the saved GIF in PS and get the color table with "Image->Mode->Color Table...". Unfortunately the positions for the night lighting are switched in Photoshop so you have to switch the positions by hand. Therefor click on the first color at the top left of the color table and hit CTRL-C to copy the already marked hex value for the color to the clipboard. Then click on one of the 4 spots you left blank as you saved only 252 colors. When the color dialog opens hit CTRL-V to paste the color value from the clipboard to change the color. Repeat this for the next 3 colors from the beginning, too. Now that you saved the first 4 colors into the last 4 blank squares you should change the first 4 colors to the ones you want to be your night lighting colors. Choose 4 colors for night lighting that aren't in your image already, instead choose new ones and paint the night lighting effects after converting to PCX. Finally save the color table so that you find it again. It doesn't matter if your GIF image looks a bit "strange", we need this GIF only to get the color table right. After this you can close it again without saving.
Line 12: Line 14:
  
 Repeat the procedure for the M tile to get the L tile only resize to 128 instead of 256. If you want to scale down the H tile from 512 to 256 or 128 then first resize, apply a sharpen filter one or more times so that the image is quite sharp. Then apply the gaussian blur to it when needed and go on with the procedure described above. Repeat the procedure for the M tile to get the L tile only resize to 128 instead of 256. If you want to scale down the H tile from 512 to 256 or 128 then first resize, apply a sharpen filter one or more times so that the image is quite sharp. Then apply the gaussian blur to it when needed and go on with the procedure described above.
 +
falcon4/textures/rgb2pcx_tutorial.1250898631.txt.gz · Last modified: 2009/08/21 23:50 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.