RE: Cliptexture .ct file WRITE THIS DOWN!

New Message Reply Date view Thread view Subject view Author view

From: Jimmy Moore (moore++at++rdbewss.redstone.army.mil)
Date: 07/17/2000 15:03:07


All,
        Thanks for all of your help today, but we have a winner. Thanks to Kevin
Dennen at ERC, who had run into this problem before. The problem was, as I
suspected, linked to the image file format, but not exactly as I thought.
Turns out that when you are using mgmosaic, you need to write the files out
as raw8 to get them to work. This even puts the correct img_format and
int_format in the .ct and .ic files, so you don't have to worry with editing
those.

Here is the command line that I used:

mgmosaic -o <dir path>/raw8/out -d 8 -bg 000000000 -sq -pu -norm
norm.txt -m -t 512 -pr 4

norm.txt contains the name of the original image to be made into a
cliptexture.

Here is the final .ct file that worked:

ct_version1.0
ext_format PFTEX_PACK_8
int_format PFTEX_RGB_8
img_format PFTEX_RGB
virt_size 8192 8192 1
clip_size 1024
invalid_border 8
smallest_icache 512 512 1

icache_base <directory path...>/raw8
icache_format %s/out%d.ic
num_icache_params 2
icache_params
PFCLIPTEX_FNAMEARG_IMAGE_CACHE_BASE
PFCLIPTEX_FNAMEARG_LEVEL_SIZE
tile_base <directory path...>/raw8
tile_format %s/out.%d.r%03d.raw8
num_tile_params 2
tile_params
PFCLIPTEX_FNAMEARG_TILE_BASE
PFCLIPTEX_FNAMEARG_LEVEL_SIZE


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jul 17 2000 - 15:04:29 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.