Delta Force Barracks Forums

converting cpt to heightmap

foxbat - 9-27-2006 at 02:34 PM

I'm having some trouble converting a JO cpt to a heightmap. I used ctp_cdep stripper, which created a raw file. I opened the raw at 1024x1024, count 2, interleaved, 8-bit, and was able to obtain a greyscale height image.

The problem is that the image I obtain consists of many black-through-white strips, rather than a single black-through-white colour range for the entire terrain. For example, instead of a slope being represented by a black to white gradient, it is represented by many repeating gradients.

What am I doing wrong?

LoA - 9-29-2006 at 03:42 AM

i seen this some time ago, cant remeber exactly what it was but it was real stupid. if i can remember what it was i will get back to this post. i want to say it was just a setting in the stripper

foxbat - 9-29-2006 at 10:57 AM

Ok, but I'm using CTP_CDEP_Stripper.exe, and as far as I can see, that doesn't have any settings to change. Is there some other stripper I should be using?

LoA - 9-29-2006 at 11:37 AM

the fwo raven cpt converter worked well to convert cpts to height map, if anything once converted it had to be brightend

foxbat - 9-29-2006 at 11:39 AM

Ah, I've figured it out. There were TWO channels in the raw, and I was only looking at the first one. The first one is some kind of polygon map, and the 2nd channel is the heightmap.

LoA - 9-29-2006 at 01:50 PM

lol you explained it so technical the first time i figured you looked at the alpha chanel and that was whack well glad you figured it out

BuLL* - 12-20-2006 at 10:52 PM

Can someone point me in the right direction to download this.
CTP_CDEP_Stripper.exe

Sounds like a very handy tool;)