GithubHelp home page GithubHelp logo

radicalcsg / chisel.prototype Goto Github PK

View Code? Open in Web Editor NEW
459.0 35.0 33.0 12.25 MB

Work in progress prototype for the Chisel Level Editor, for Unity

License: MIT License

C# 99.46% ShaderLab 0.54%
csg mapping leveldesign level-design level-editor bsp chisel realtime constructive-solid-geometry unity

chisel.prototype's Introduction

Chisel is an extension for Unity that allows for rapid, iterative, non destructive level editing!

Example


Notes:

  • Chisel requires Unity 2022.1.0b5 or newer
  • UX is still under development
  • CSG algorithm is still under development
  • It is not yet ready for production, but please feel free to try it out, or better yet, help out!

Features (incomplete)

  • Constructive Solid Geometry Algorithm that generates geometry in real-time
  • Add and remove geometry to your level using CSG allows for fluid, interactive, non destructive workflows
  • Higher level "generators" that create more complicated geometry to perform CSG with, while retaining context of what it is you're creating (if you create stairs, these will remain stairs that you can edit and tweak)
  • Hierarchical Constructive Solid Geometry, allows for generators and brushes to be act as if they're one whole (composite), to perform CSG on other objects with
  • Works well with prefabs, drag and drop windows onto walls including their holes
  • Draw 2D shapes (possible to turn straight lines into curves) on existing CSG surfaces and extrude them
  • Precise snapping to surfaces, edges, vertices and grid lines
  • Rotatable & movable grid

Planned Features (incomplete, and in random order):

Packages overview:

  • com.chisel.core Low-level API and functionality (based on DOTS technology)
  • com.chisel.editor Unity Scene Editor functionality and API, tools and UI
  • com.chisel.components Unity Monobehaviour runtime API (to allow for possible ECS replacement in future)
  • com.scene.handles.extensions Custom scene handle extensions

Extensions:

Known issues:

If you find any failure cases, if possible please provide us with a reproducible scene so we can more easily fix it!

The core technology is based on the algorithm explained in this GDC 2020 talk

GDC Video

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.