Newbie here, getting an error when trying to import from World Machine.

Started by pug_ugly, May 23, 2015, 06:52:26 PM

Previous topic - Next topic

pug_ugly

Hi all nice to be here.

I'm new to Terragen, trying to build my first scene. I'm loosely following along with the awesome geekatplay tutorial (following what he does but sort of trying to make an original scene and not copy his.) I've imported the mountain i've made in world machine alright, but when I try to import the snow textures I get this error:

ReadImage: Please convert image to SGI for non-standard bit depths.

I exported the textures out of World machine in .tif. I don't see an SGI option in World Machine. Any ideas?

Dune

What bit depth is the tif then? TG should import all, afaik. You import using an image map shader?

pug_ugly

I am using image map shader. I don't know how to check the bit depth for the tif. Do you mean the dpi?

AP

Right click on your image file. There should be information under properties and open the details tab. Under the Bit depth it should say what it is. If it is a Tif, it should be 8 or 16 bits per RGB color channel. DPI is just stands for Dots Per Square Inch.

pug_ugly

Thanks, I knew that about the dpi, just never heard of bit depth before. Its saying 48 in the properties. It's supposed to be 16, right?

AP

48 per channel I presume? That is very high and un-needed. It should be 16bits per channel and that would be plenty to avoid the stair-stepping effect which is well known in 8bits per RGB channel.

bobbystahr

Quote from: ChrisC on May 24, 2015, 09:08:55 PM
48 per channel I presume? That is very high and un-needed. It should be 16bits per channel and that would be plenty to avoid the stair-stepping effect which is well known in 8bits per RGB channel.

needs a trip through Photoshop me thinks
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

AP


bobbystahr

something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

pug_ugly

I checked in photoshop and it said there that the image was 16 bit. I knocked it down to 8 just to try it, and it shows up in terragen now, just super small. So maybe now it just a matter of re-sizing in program?

bobbystahr

Re reading your original post, is this a texture map or a flow map to control the snow? I don't think WM textures are useable in TG 2 or 3.
If this is a flow map it needs to be the same size as the terrain you've imported. From here on in it might be a good idea to post the .tgd here with the attempted use of the map in it so we can see what's going on from the file.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

mhaze

WM texture maps can be used in TG. You may need to alter the output size of the maps.  Go to world commands - project settings and change the size of the maps. You need to connect the output to a bitmap output node and set it to tiff 32 bit depth then output it.

bobbystahr

Quote from: mhaze on May 25, 2015, 11:08:19 AM
WM texture maps can be used in TG. You may need to alter the output size of the maps.  Go to world commands - project settings and change the size of the maps.

Thanks man, good to know...next time I'll save them as well then.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

pug_ugly

Thanks for the help so far guys, it is much appreciated. Here is the .tgd file. Not much on it so far, just a powerfractal and the imported mountain. mhaze, I have the bitmap outputs in place, but only have the option for 16 bit tiff (and then it seems to go to 48 when I look at the file properties). Am I missing something? Does the map need to be set to a specific size? I had it set to 24 km x 24 km and a 2049 x 2049 res.


AP

Alright, so your Tiff is 16bits per RGB channel and that is why it is a 48bit color image. That sounds normal. Terragen should read that with no problem. If you have a 2049 by 2049 size terrain then your image map should be re-sized to 30720 by 30720 meters under your image map node and set position to center and projection type to Plan Y. 24 km is 24,000 meters so that will be a bit to small to fit over the imported height field.