Giter Site home page Giter Site logo

prefab-painter's Introduction

PRs Welcome

Free Prefab Painter

A free, basic prefab-painter for Unity3D.

UI

Installation

After you've downloaded the files, you have 3 options to 'install' this tool.

  • Download this repository and put the downloaded files in your Assets/ folder.
  • Download this repository somewhere in your files. Then in Unity locate the package.json file through the package manager UI.

UPM

  • Reference this git repository in your project manifest file under dependencies. This will add the package to you project.

    "me.ameye.prefab-painter": "https://github.com/alexanderameye/prefab-painter.git"

Features

  • Paint on every type of surface (plane, terrain, sphere,...)
  • Paint multiple types of prefabs at once
  • Paint with random prefab rotations
  • Paint with random prefab sizes
  • Prefab previewer
  • Customizable brush size, density
  • Paint on selected layers
  • Palettes/presets functionality with useful toolbar
  • Dynamic prefab list

Painting

ctrl + left mouse button to paint

ctrl + scroll to change the brush size

alt + scroll to change the brush density

Make sure that the layer settings in the prefab painter are set up correctly!

Important! The prefabs need colliders in order for the tool to work.

Palettes

Palettes are 'painting presets'. You can for example create a 'Trees' that contains 3 different types of trees. You can manage your palettes using the palette toolbar. You can use the 'Load' button to load a custom palette from your project folder, or you can create a new palette by clicking 'palettes > New Palette'. After you've edited a palette, don't forget to save it. You can relocate or rename palettes however you want.

Palettes

Compatibility

This tool has been tested with Unity 2018.3.0f2.

Unity forum thread

https://forum.unity.com/threads/released-free-prefab-painter-github.506118/

Roadmap

These are the planned features in no particular order. Not all features marked 'done' are on GitHub already.

✔️ Improved palette system with new toolbar

✔️ Undo/redo support

✔️ Package manager support

✔️ Better prefab list UI with drag-and-drop functionality

✔️ Palette save location menu and renaming functionality

❌ Prefab list multi-select and delete functionality

❌ Painting code cleanup

❌ Slope and altitude painting rules

❌ New painting handle look

❌ Probability settings per prefab

❌ Erase brush

❌ Grid brush

❌ Runtime prefab placing

❌ Paint aligned to painting stroke

Known Issues

These are some known issues and inconveniences I'd like to fix.

🪲 Sometimes when you edit the settings of a prefab, the settings don't get registered without pressing enter

🪲 Some prefabs don't get placed

🪲 Undo error when undo object is null

prefab-painter's People

Contributors

alexanderameye avatar jokoho48 avatar ajk4 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.