Manipulating Height
In Foxel, each pixel can store height information, which is utilized when converting a pixel grid into a voxel grid. This section will guide you through the various tools and options available for adjusting height.
Height Manipulation Tools
To manipulate height using the available tools, follow these steps:
- Select Pixels: Choose the pixels you wish to modify.
- Adjust Height:
- Click the Lower button on the Action Bar to decrease the height of the selected pixels by 1.
- Click the Raise button to increase the height by 1.
- Click the Lower button on the Action Bar to decrease the height of the selected pixels by 1.
Note from Dev
Currently, there is no dedicated Height Tool available, but it is planned for a future release.
Menu Options
You can also manipulate height through the menu options:
- Assign Height: Set a specific height value for the selected pixels.
- Adjust Height: Offset the current height value by a specified amount.
- Flatten: Set the height value of the selected pixels to 1.
Layer Interaction
When working with multiple layers, you can control how the height values of one layer interact with the layer directly below it. You have four options:
- Set: Uses the height information of the current layer and discards the information of layers below.
- Keep: Ignores the height information of the current layer and uses the accumulated height of the layers below.
- Add: Adds the height data of the current layer to the accumulated height of the layers below.
- Subtract: Subtracts the height data of the current layer from the accumulated height of the layers below.
Setting Height Mode
To set the desired height mode:
- Select the layer you wish to modify.
- Navigate to the Inspector Panel.
- Set the desired Height Mode.
3D View Mode
Foxel allows you to edit pixels in a 2D interface similar to common image editors. However, you can also switch to a 3D mode to view and edit the pixel grid in three dimensions. This feature is particularly useful for manipulating height and understanding how applied materials interact with light.
To toggle 3D mode, click on the View 3D Model button in the View Options Panel or use the shortcut Shift+Tab.