Blender add-on for baking your scene to textures

Related tags

IDEblender-bake-scene
Overview

Bake Scene

This add-on bakes your scene to textures. This is useful in many situations:

  • Creating trim sheets
  • Creating decals
  • Creating hair cards
  • Creating skyboxes

The textures are baked super fast, they are anti-aliased, and they are extremely high quality.

Installation

  1. Go to the Releases page and download the most recent Bake.Scene.zip file.

  2. In Blender, go to Edit -> Preferences...

  3. In the Add-ons tab, click the Install... button.

  4. Select the Bake.Scene.zip file and click Install Add-on.

  5. Enable the checkbox to the left of Render: Bake Scene.

  6. Save your preferences.

How to use

  1. In the Output properties, change the resolution. 2048 or 4096 is most common:

  2. Change the output folder and image settings to whatever you want, then click the Bake button:

  3. By default it will bake geometry textures (alpha, ambient occlusion, curvature, normal, and height).

    But you can change that inside of the Textures panel:

Tips and advice

  • The textures created by this add-on can be directly used in DECALmachine.

  • I recommend baking with 100% Compression. This slows down the baking, but it means much smaller file sizes.

  • The origin point (0x, 0y, 0z) is always used as the center for the textures.

    The Size option specifies how big your scene is, anything outside of Size won't be baked.

    By default it bakes a 2m x 2m box centered on the origin.

  • If you want the texture files to have a prefix you can simply add it to the Output folder:

  • You can have multiple different scenes in the same .blend file, and each scene can have different options (output folder, textures, size, etc.)

  • It will only bake renderable objects, so if you don't want to bake an object you can disable rendering:

  • If you use a Principled BSDF node it will be baked into the textures:

    These sockets are supported: Base Color, Metallic, Roughness, Emission, Alpha, and Normal.

    It works with both simple values and also complex procedural node trees.

  • If you are baking hair, you should set the Hair Shape Type setting to Strip:

    You should also create your hairs with the highest quality possible. Because they are being baked to a texture, the performance doesn't matter.

Texture Information

  • Alpha bakes a black-and-white alpha / opacity / transparency texture.

    This is affected by changing the Alpha socket on the Principled BSDF node, and it is also affected by the Blend Mode settings (Opaque, Alpha Clip, Alpha Hashed, and Alpha Blend).

  • AO bakes an ambient occlusion texture. White means no occlusion, and black means full occlusion.

    Ambient occlusion means how close an object is to another object. It is used to add in fake shadows.

  • Curvature bakes a curvature map. Gray means no curvature, white means curving outwards (convex), and black means curving inwards (concave).

    This is often used to add extra detail to the edges of models (scratches, scuffs, or dirt).

  • Normal bakes a normal map. This is affected by the Normal socket on the Principled BSDF node.

  • Height bakes a height map. Gray means the geometry is at the center 0z, white means positive +z, and black means negative -z.

    This can be used to create parallax effects to add extra depth, or to create bump maps.

    By default it calculates the max bounds automatically based on the vertexes in your scene. But you can instead choose Manual mode and then manually change the max bounds.

  • Color bakes the Base Color socket of the Principled BSDF node.

  • Emission bakes the Emission socket of the Principled BSDF node.

  • Metallic bakes the Metallic socket of the Principled BSDF node.

  • Roughness bakes the Roughness socket of the Principled BSDF node.

  • Object Random bakes a black-and-white texture where every object is given a random grayscale color.

    This can be used for post-processing to mask out specific objects.

  • Object Index bakes a black-and-white texture which is based on the object's Pass Index:

    This can be used to mask out specific objects, or groups of objects.

    You must change the Max option to be the same as the biggest Pass Index that you are using.

  • Material Index bakes a black-and-white texture which is based on the material's Pass Index:

    This can be used to mask out specific materials, or groups of materials. This is particularly useful for DECALmachine's Subset map.

    You must change the Max option to be the same as the biggest Pass Index that you are using.

  • Hair Random bakes a black-and-white texture where every particle hair strand is given a random grayscale color.

  • Hair Root bakes a black-and-white texture where black means the root of the hair, and white means the tip of the hair.

For programmers

If you want to modify this add-on, follow these steps:

  1. git clone https://github.com/Pauan/blender-bake-scene.git

  2. cd blender-bake-scene

  3. blender --background --python install.py

    This will install the add-on locally.

  4. Now you can open Blender normally and the add-on will be installed.

  5. When you make changes to the code, close Blender and then run blender --background --python install.py again.

You might also like...
Higher quality textures for the Metal Gear Solid series.

Metal Gear Solid: HD Textures Higher quality textures for the Metal Gear Solid series. The goal is to maximize the quality of assets that the engine w

Blender addons to make the bridge between Blender and geographic data
Blender addons to make the bridge between Blender and geographic data

Blender GIS Blender minimal version : 2.8 Mac users warning : currently the addon does not work on Mac with Blender 2.80 to 2.82. Please do not report

Blender addons - A collection of Blender tools I've written for myself over the years.
Blender addons - A collection of Blender tools I've written for myself over the years.

gret A collection of Blender tools I've written for myself over the years. I use these daily so they should be bug-free, mostly. Feel free to take and

Blender addon that enables exporting of xmodels from blender. Great for custom asset creation for cod games
Blender addon that enables exporting of xmodels from blender. Great for custom asset creation for cod games

Birdman's XModel Tools For Blender Greetings everyone in the custom cod community. This blender addon should finally enable exporting of custom assets

Blender Game Engine Game Type Templates Logic Bricks (and Python script) based Game Templates for Blender

Blender-Game-Engine-Templates Blender Game Engine Game Type Templates Logic Bric

Easytile blender - Simple Blender 2.83 addon for tiling meshes easily

easytile_blender Dead simple, barebones Blender (2.83) addon for placing meshes as tiles. Installation In Blender, go to Edit Preferences Add-ons

Fixed Version Of Blender Low Poly Rock Generator For Blender 3.0.0
Fixed Version Of Blender Low Poly Rock Generator For Blender 3.0.0

Blender (3.0.0) - Low Poly Rock Generator This is an addon for Blender 3.0.0 to generate low poly rocks. It was based on an addon that unfortunately h

Rlmm blender toolkit - A set of tools to streamline level generation in UDK straight from Blender

rlmm_blender_toolkit A set of tools to streamline level generation in UDK straig

Blender-3D-SH-Dma-plugin - Import and export Sonic Heroes Delta Morph animations (.anm) into Blender 3D

io_scene_sonic_heroes_dma This plugin for Blender 3D allows you to import and ex

Blender-miHoYo-Shaders - Shaders for Blender attempting to replicate the shading of games developed by miHoYo
Blender-miHoYo-Shaders - Shaders for Blender attempting to replicate the shading of games developed by miHoYo

Blender-miHoYo-Shaders - Shaders for Blender attempting to replicate the shading of games developed by miHoYo

An unofficial Blender add-on for Autodesk's Arnold render engine.
An unofficial Blender add-on for Autodesk's Arnold render engine.

Arnold for Blender Arnold for Blender (or BtoA) provides a bridge to the Arnold renderer from within Blender's standard interface. BtoA is an unoffici

Blender Add-On for slicing meshes with planes
Blender Add-On for slicing meshes with planes

MeshSlicer Blender Add-On for slicing meshes with multiple overlapping planes at once. This is a simple Blender addon to slice a silmple mesh with mul

Enhanced version of blender's bvh add-on with more settings supported. The bvh's rest pose should have the same handedness as the armature while could use a different up/forward definiton.
Enhanced version of blender's bvh add-on with more settings supported. The bvh's rest pose should have the same handedness as the armature while could use a different up/forward definiton.

Enhanced bvh add-on (importer/exporter) for blender Enhanced bvh add-on (importer/exporter) for blender Enhanced bvh importer Enhanced bvh exporter Ho

Some useful blender add-ons for SMPL skeleton's poses and global translation.
Some useful blender add-ons for SMPL skeleton's poses and global translation.

Blender add-ons for SMPL skeleton's poses and trans There are two blender add-ons for SMPL skeleton's poses and trans.The first is for making an offli

Add-In for Blender to automatically save files when rendering
Add-In for Blender to automatically save files when rendering

Autosave - Render: Automatically save .blend, .png and readme.txt files when rendering with Blender Purpose This Blender Add-On provides an easy way t

Reload all Blender add-on modules
Reload all Blender add-on modules

Reload-Addon This add-on creates a list of the modules that the add-on selected in the drop-down menu contains and reloads them with the keyboard shor

Blender Add-on That Provides Quick Access to Render Controls
Blender Add-on That Provides Quick Access to Render Controls

Blender Render Buttons Blender Add-on That Provides Quick Access to Render Controls A Blender 3.0 compatablity update of Blender2.8x-RenderButton v0.0

A linear stairs generation add-on for Blender
A linear stairs generation add-on for Blender

Linear Stairs Generator Table of Contents Installation Usage Screenshots Important Notes Requirements Blender 3.0 or newer. Installation: Download a z

A Blender add-on to create interesting meshes using symmetry
A Blender add-on to create interesting meshes using symmetry

Procedural Symmetries This Blender add-on automates the process of iteratively applying a set of reflection planes to a base mesh. The result will con

Releases(v1.3)
Owner
JS programmer since 2006. Functional programmer since 2010. Rust programmer since 2017. Former Rust Wasm Core member.
VSCode Development Container Template

VSCode Development Container Template This template enables you to use a full-fledged containerized development environment for your machine learning

Paige Bailey 10 Oct 10, 2022
CTO (Call Tree Overviewer) is an IDA plugin for creating a simple and efficiant function call tree graph

CTO (Call Tree Overviewer) CTO (Call Tree Overviewer) is an IDA plugin for creating a simple and efficiant function call tree graph. It can also summa

Hiroshi Suzuki 257 Dec 24, 2022
Spyder - The Scientific Python Development Environment

Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts. It offers a unique combination of the advanced editing, ana

Spyder IDE 7.3k Jan 08, 2023
Integrate clang-format with Sublime Text

Sublime Text Clang Format Plugin This is a minimal plugin integrating clang-format with Sublime Text, with emphasis on the word minimal. It is not rea

Jon Palmisciano 1 Dec 17, 2021
A way to integrate Latex, VSCode, and Inkscape in macOS. Adopted the whole workflow from Gilles Castel.

VSCode-LaTeX-Inkscape A way to integrate LaTeX, VSCode, and Inkscape in macOS Abstract I use LaTeX heavily in past two years for both academic work an

Pingbang Hu 62 Dec 14, 2022
VSCode extension to sort and refactor python imports using reorder-python-imports.

reorder-python-imports VSCode extension to sort and refactor python imports using reorder-python-imports. Unlike other import organizers, reorder-pyth

Ryan Butler 3 Aug 26, 2022
This is code for IDLE python/ Magic8Ball Code

Magic8Ball this is code for IDLE python/ Magic8Ball Code this code is for beginers i hope you can learn code form this don't ever be a script kiddie a

1 Nov 05, 2021
Python 3 patcher for Sublime Text v4107-4114 Windows x64

sublime-text-4-patcher Python 3 patcher for Sublime Text v4107-4114 Windows x64 Credits for signatures and patching logic goes to https://github.com/l

187 Dec 27, 2022
cottonformation is a Python tool providing best development experience and highest productivity

Welcome to cottonformation Documentation Full Documentatioin Here cottonformation is a Python tool providing best development experience and highest p

Sanhe 6 Jul 08, 2022
An echo kernel for JupyterLite

jupyterlite-echo-kernel An echo kernel for JupyterLite. Requirements JupyterLite = 0.1.0a10 Install To install the extension, execute: pip install ju

JupyterLite 7 Dec 07, 2022
An amazing simple Python IDE for developers!

PyHub An amazing simple Python IDE for developers! Get ready to compile and run your code in the most simplest and easiest IDE of the ancient world! T

Aniket Bhattacharjee 2 Dec 31, 2022
Python IDE or notebook to generate a basic Kepler.gl data visualization

geospatial-data-analysis [readme] Use this code in your Python IDE or notebook to generate a basic Kepler.gl data visualization, without pre-configura

2 Sep 05, 2022
Joy is a tiny creative coding library in Python.

Joy Joy is a tiny creative coding library in Python. Installation The easiest way to install it is download joy.py and place it in your directory. The

FOSS United Foundation 181 Dec 04, 2022
A comfy custom IDE where you can feel right at home

reZIDE a comfy custom IDE where you can feel right at home 🏑 Use simple, declarative configuration files to create complex IDEs with a single command

Zach 7 Jan 26, 2022
Automatically detect obfuscated code and other state machines

Scripts to automatically detect obfuscated code and state machines in binaries.

Aaron 110 Dec 04, 2022
Clarity mode is a single-notebook interface built with existing JupyterLab components.

JupyterLab Clarity Mode Clarity mode is a single-notebook interface built with existing JupyterLab components. To install: Clone this repository Ensur

10 Jul 20, 2022
A Sublime Text package that allows a user to view all the available core/plugin commands for Sublime Text and Sublime Merge, along with their documentation/source.

CommandsBrowser A Sublime Text package that allows a user to view all the available core/plugin commands for Sublime Text and Sublime Merge, along wit

Sublime Instincts 26 Nov 15, 2022
notebookJS: seamless JavaScript integration in Python Notebooks

notebookJS enables the execution of custom JavaScript code in Python Notebooks (Jupyter Notebook and Google Colab). This Python library can be useful for implementing and reusing interactive Data Vis

jorgehpo 146 Dec 07, 2022
pyiron - an integrated development environment (IDE) for computational materials science.

pyiron pyiron - an integrated development environment (IDE) for computational materials science. It combines several tools in a common platform: Atomi

pyiron 20 Dec 22, 2022
πŸ’» Open recent VS Code folders and files using Ulauncher

ulauncher-vscode-recent πŸ’» Open recent VS Code folders and files using Ulauncher. Quickly open recently-opened VS Code project directories and files.

Mihir Chaturvedi 14 Nov 24, 2022