• Welcome to World Machine Community. Please login or sign up.
 
August 20, 2019, 04:14:29 pm

News:

Read the Development Diary for an inside look at World Machine's progress!


can't save bitmap please help!

Started by nemezziss, November 04, 2012, 04:59:42 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nemezziss

Hi!
So, i wrote in topic i can't save bitmap. i have an error: error saving the file: device built but no output buffer contents found. how can i fix it?

Stephen

Hi there,

Double check your input connections to the Bitmap Output device -- you should have a Bitmap type output going into the Primary input. If you're trying to connect a heightfield to the bitmap output device, the primary port is closed off and you will accidently attach it to the Mask input -- which means that the output device doesnt work. This is a common mistake and the error message needs to be more intelligible for it.

Just use a height output device instead if you are outputting a heightfield as a bitmap.

-- Stephen Schmitt
- Creator of World Machine

nemezziss

November 05, 2012, 03:24:01 am #2 Last Edit: November 05, 2012, 03:26:11 am by nemezziss
I can't do this still. Can you show me on simple examples how connect it and which button i must use? Please. I'm beginner...

Stephen

Hi there,

Sure! I've attached a screen capture of exporting a bitmap:

The two leftmost devices create a simple terrain (in fact they are just the default starting world devices).

You can see that I've seperated the output into two branches. Which branch you use depends on what you're trying to do:

1) If you want to export a GREYSCALE bitmap with your heightfield, use the first (top) branch.

  Just create a Height Output device, double click on it to open its properties, select a format (such as BMP or PNG), give it a name, and then push Write Output to Disk!

2) If you want to export a COLORED BITMAP that is colored in some way from your heightmap (such as for creating textures), use the bottom branch.

  If you want to do this, you have to decide how you want to create colors relative to the terrain. This can be very complicated to make interesting textures, but the example uses a simple gradient from the Colorizer device. Once you've made a colormap, you then connect that (notice how the line drawn from the colorizer is blue instead of black, to denote that it is carrying color data) to the primary input (first one) of the Bitmap Output device and setup the export parameters similar to the first case. Done!
-- Stephen Schmitt
- Creator of World Machine

ZoSo

THANK YOU SO MUCH REMNANT! I was pulling my hair out trying to figure out why it wasn't working. I had the same problem.

I'd buy you a beer or two. :)


Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview