Planetside Software Forums

General => Terragen Discussion => Topic started by: Sethren on September 29, 2007, 12:18:51 PM

Title: 16 Bit
Post by: Sethren on September 29, 2007, 12:18:51 PM
Terragen 2 will not import 16 bit color images? or am i doing something wrong here. I am trying to import a 16 bit tiff color image and it says convert down to SGI.     ???
Title: Re: 16 Bit
Post by: dhavalmistry on September 29, 2007, 12:21:01 PM
I am sure TG2 imports 24 bit bitmaps....not sure about 16 bit tiffs......
Title: Re: 16 Bit
Post by: Sethren on September 29, 2007, 01:21:32 PM
Well, these are 16 bits per channel. Sorry, i meant to mention these are 16 bits per channel. What i have is 48 bits total for the tiff.
Title: Re: 16 Bit
Post by: dhavalmistry on September 29, 2007, 01:27:06 PM
then you definitely need to bump it down to 8 bit color or 24 bit color
Title: Re: 16 Bit
Post by: David Burnett on September 29, 2007, 01:47:20 PM
For 16 bit Greyscale TG2 only accepts SGI format, SGI in theory supports 16 bit per channel RGB too so I'd try converting to that format.

EDIT: - I decided to try it myself and it appears to work.

[attachthumb=1]

This is this 16bit greyscale image converted into a 16 bit per channel RGB SGI using cinepaint and used in TG2 to displace and colour a sphere.
That just leaves the question as to whether TG2 keeps it 16 bit internally.


Title: Re: 16 Bit
Post by: Sethren on September 29, 2007, 01:54:54 PM
Since Photoshop does not have a way of saving SGI by default i found this plugin.   

http://www.telegraphics.com.au/sw/info/sgiformat.html


8bit color would be worthless and 24bit is good as long as it's 16bits per channel.



Title: Re: 16 Bit
Post by: rcallicotte on September 29, 2007, 02:20:22 PM
Thanks, Sethern.  I'm trying it.
Title: Re: 16 Bit
Post by: Sethren on September 29, 2007, 02:53:36 PM
Great.  ;D   16 bit per color channel SGI import.

Title: Re: 16 Bit
Post by: dhavalmistry on September 29, 2007, 04:33:48 PM
would you care to explain how you did this?....this is amazing....
Title: Re: 16 Bit
Post by: rcallicotte on September 29, 2007, 04:58:02 PM
Yes, would you mind taking a little time to explain?  I was just wondering (while mowing the lawn) what the advantages / disadvantages might be for SGI as opposed to BMP or JPG or even EXR.  It would help to understand what you've done, if you have some time.
Title: Re: 16 Bit
Post by: Sethren on October 07, 2007, 04:29:57 PM
I figured sense SGI can be read as a 16 bit color image i thought it would be best to use in order to overlay the color map to the imported terrain. Now 16 bit is not needed all of the time, it depends on to how smooth the gradient color is to the terrain. If it is really smooth (Heavy fluvial erosion smooth) then you will see a lot of color banding because there is less color data per channel in a 24 bit 8 bit per channel image say a BMP for example or a JPG. So in your photo editor just create a color gradient over an imported grayscale heightfield but make sure you are in 16 bit editing more while mapping the gradient over the grayscale terrain. Use the SGI plugin and export the color map. I know photoshop has this option but as far as other photo editors, i think Gimp should have something similar or even Paint Shop Pro but again you can use 8 bit and see if you notice color banding, usually the more rigid the terrain is the less likely you will see banding because the terrain noises hides it fairly well. As far as EXR goes i do not think Terragen 2 can import a color EXR into the image map shader. I may be wrong there.

Anyways, my apologies for not getting to this sooner. Life gets in the way.     ;)
Title: Re: 16 Bit
Post by: bigben on October 07, 2007, 04:49:54 PM
LEADTOOLS Command Line File Converter is a free windows utility that will convert to/from SGI format.

I used it for my global bathymetry image (before I found out about the PS plugin)
Title: Re: 16 Bit
Post by: Will on October 07, 2007, 05:25:34 PM
quick question: why are there two Sethrens?

Anywho great work here, been playing around with this my self while doing studies in Zbrush 3.1
Title: Re: 16 Bit
Post by: Sethren on October 07, 2007, 05:38:48 PM
Quote from: Will on October 07, 2007, 05:25:34 PM
quick question: why are there two Sethrens?


Huh, wierd!    ???
Title: Re: 16 Bit
Post by: Will on October 07, 2007, 05:41:02 PM
you exist as a guest and a member... who are you?
Title: Re: 16 Bit
Post by: rcallicotte on October 07, 2007, 06:08:36 PM
...and the "new" Sethren only has two posts.
Title: Re: 16 Bit
Post by: Sethren on October 07, 2007, 10:46:03 PM
Quote from: Will on October 07, 2007, 05:41:02 PM
you exist as a guest and a member... who are you?

I am Quaid... i mean Hauser.     ;D

There both me, don't know what happened.
Title: Re: 16 Bit
Post by: Harvey Birdman on October 08, 2007, 09:55:13 AM
Quote from: Sethren on October 07, 2007, 10:46:03 PM

I am Quaid... i mean Hauser.     ;D


;D  ;D
Title: Re: 16 Bit
Post by: Will on October 08, 2007, 10:57:51 AM
or perhaps you are Dr. Jackle or Mr. Hyde?
Title: Re: 16 Bit
Post by: Sethren on October 08, 2007, 05:04:48 PM
Quote from: Will on October 08, 2007, 10:57:51 AM
or perhaps you are Dr. Jackle or Mr. Hyde?

Only when i am out of coffee.    ;D