Sunday, January 18, 2015

Customize a Wrapping Planet Texture - Part 2 - Clouds

Introduction

In part 1 we looked at customizing a Textures for Planets world by installing our own colour palette into the too. In this section we will add toxic clouds to the mix. Many of the steps are the same.

Here's a reminder of our goal toxic planet:

Create a Colourizer

Cloud layers also use a 200x200 png file as the palette in the same way as surface colourizers. For clouds though, use a transparent background and fade the clouds to clear. That will allow them to fade around their edges. Here is the colours.png for our toxic clouds:

Use this same file for the colours.png and the sample.png for now. For the colourizers.txt file, use the following content:
name=Toxic Clouds
template=plain
template_colourizer_surface=
template_colourizer_clouds=Toxic Clouds
show_in_start_gallery=false
author=Textures for Planets
Zip the three files into toxicclouds.zip and copy them to your Textures for Planets colourizer folder. You can find the completed zip here if you like.

 

Update the Toxic Colourizer

By default we want our toxic colourizer (made in part 1) to include clouds. Update its colourizer.txt file to look like this:
name=Toxic
template=terrestrialclouds
template_colourizer_surface=Toxic
template_colourizer_clouds=Toxic Clouds
show_in_start_gallery=true
author=Textures for Planets
The changes tell Textures for Planets to use "Toxic Clouds" as the default cloud colour and to use the template "terrestrialclouds" instead of plain. When users select the Toxic option to start a new world, the cloud layer will be automatically copied from the default terrestrialclouds templates.

Rezip the toxic colourizer files (colours.png, sample.png, and colourizer.txt) into "toxic.zip" and copy that to the colourizers folder. Replace the earlier versions.

 

Test it Out

Start up Textures for Planets and select the Toxic planet option. The steps view should now include the Clouds step and the sample generated should include clouds:

 

Update the Sample Images

When you're happy with the output and colours selected you can update the sample images to 3D renderings to match the tool. Here are final toxic.zip and toxicclouds.zip that you can use.

No comments:

Post a Comment