All Projects → konsfik → Unity3D-Coding-Examples

konsfik / Unity3D-Coding-Examples

Licence: MIT license
Various case-studies in Unity3D

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Unity3D-Coding-Examples

Complete street rule
The Complete Street Rule for ArcGIS CityEngine is a scenario oriented design tool intended to enable users to quickly create procedurally generated multimodal streets.
Stars: ✭ 81 (-10.99%)
Mutual labels:  procedural-generation, geometry
tripbot9000
Procedural generation of geometric patterns and fractals.
Stars: ✭ 22 (-75.82%)
Mutual labels:  procedural-generation, geometry
landscape
Procedural landscape
Stars: ✭ 17 (-81.32%)
Mutual labels:  procedural-generation, landscape
Shan Shui Inf
Procedurally generated Chinese landscape painting.
Stars: ✭ 3,168 (+3381.32%)
Mutual labels:  procedural-generation, landscape
Godot-ProcGen-Dungeon-Generator
A simple Dungeon Procedural Generator using Godot.
Stars: ✭ 24 (-73.63%)
Mutual labels:  procedural-generation
Infinite-Runner-Ultimate
A cross-platform procedural environment generation and Endless Runner engine. Features real-time object pooling and includes an interactive level editor.
Stars: ✭ 69 (-24.18%)
Mutual labels:  procedural-generation
oriedita
Oriedita (fork of Orihime) is an origami crease pattern editor and folding simulator.
Stars: ✭ 28 (-69.23%)
Mutual labels:  geometry
Shape-Your-Music
A web application for drawing music.
Stars: ✭ 106 (+16.48%)
Mutual labels:  geometry
vexed-generation
Polymorphic helper functions & geometry ops for Houdini VEX / OpenCL
Stars: ✭ 32 (-64.84%)
Mutual labels:  geometry
geok
Kotlin geometry library
Stars: ✭ 29 (-68.13%)
Mutual labels:  geometry
wkb-parser
Well-known binary (WKB) Parser.
Stars: ✭ 69 (-24.18%)
Mutual labels:  geometry
paramak
Create parametric 3D fusion reactor CAD and neutronics models
Stars: ✭ 40 (-56.04%)
Mutual labels:  geometry
procjam2018
Graph.ical, a procedural texture authoring application developed for PROCJAM 2018.
Stars: ✭ 42 (-53.85%)
Mutual labels:  procedural-generation
QuestWeaver
Procedurally generated quests and stories for computer games.
Stars: ✭ 60 (-34.07%)
Mutual labels:  procedural-generation
libmapgen
Unity native plugin for procedural world generation
Stars: ✭ 16 (-82.42%)
Mutual labels:  procedural-generation
wildmeshing-python
Python bindings for TriWild.
Stars: ✭ 37 (-59.34%)
Mutual labels:  geometry
Drowsy
💤🖌️ AI making tiny Bitsy video games. Features an experimental generative structure inspired by GANs and Genetic Algorithms
Stars: ✭ 19 (-79.12%)
Mutual labels:  procedural-generation
envelope ex
Utilities for calculating and comparing envelopes from geometries
Stars: ✭ 15 (-83.52%)
Mutual labels:  geometry
procgen
Procedural generation library
Stars: ✭ 14 (-84.62%)
Mutual labels:  procedural-generation
source-engine-model-loader
Three.js loader for parsing Valve's Source Engine models
Stars: ✭ 54 (-40.66%)
Mutual labels:  geometry

Unity3D-Coding-Examples

This repository includes sample projects made with Unity, with the purpose of creating a collection of reusable, manageable pieces of code that can be used as toolsets on larger-scale applications.

Table of Contents:

  1. Procedural Water Surface
    1.1. Description
    1.2. Screenshots
    1.3. Further Links
  2. Procedural Landscape
    2.1. Description
    2.2. Screenshots
    2.3. Future Plans
    2.4. Further Links
  3. Procedural Audio
    3.1. Description
    3.2. Screenshots
    3.3. Further Links

1. Procedural Water Surface

project - specific - folder: https://github.com/konsfik/Unity3D-Coding-Examples/tree/master/1-Procedural-Water-Surface

1.1. Description:

This project is a case study on "how you can procedurally generate Waves on a Custom Mesh-Surface by using C# code in Unity3D". Keep in mind that this is not a fluid-simulation, but rather a mathematical approximation of how a fluid-surface might "look like". Meaning that there is not an underlying physical model that drives the simulation, but only some mathematical functions (sinusoidal) that shape the surface's form.

1.2. Screenshots:

Images Descriptions
Procedural Water Surface - editor screenshot
Procedural Water Surface - application screenshot

1.3. Further links:

demo-video: https://www.youtube.com/watch?v=xy8MhL6WoSw
more info about this example: http://www.konsfik.com/procedural-water-surface-made-in-unity3d/

2. Procedural Landscape

project - specific - folder: https://github.com/konsfik/Unity3D-Coding-Examples/tree/master/2-Procedural-Landscape

2.1. Description:

This project is a case-study on "how you can procedurally generate a landscape - surface in Unity, using c# code". It allows you to make changes and see a preview of the generated mesh in Unity editor's edit-mode.
The aim is to also be able to save the generated mesh as a prefab, but I have not implemented this functionality yet. More details coming soon.

2.2. Screenshots:

Images Descriptions
Procedural Landscape - editor screenshot
Procedural Landscape - editor controls
Procedural Landscape - animated mode

2.3. Future plans:

This project is currently functional, however it will need some expansion (in its functionality) inorder to become an actual level-design tool.

Here is a list of the functionality that has already been implemented:

  • Apply Perlin Noise on a custom grid - mesh, creating an artificial - landscape - geometry.
  • Use the data (height - variation) of the created landscape to make a custom gradient material.
  • Expose variables to inspector and make sure that it the geometry and material update correctly while in edit mode.
  • Create a demo-mode, in which the Landscape updates by itself, in an ever-changing manner (just for the fun of it).

And here is the current 'TO - DO - LIST':

  • The algorithm adds a collider on the procedural mesh, so that you can use it as a playeble level.
  • The algorithm allows you to save the mesh as a prefab, so that you cn create a collection of pre-made Landscapes.
  • The algorithm allows you to export the mesh in a 3D-file format (such as .obj or .dxf) so that you can edit it with another application.
  • The Procedural Mesh's geometry expands in real time - as you explore it, creating a never-ending world.
  • The Landscape is populated with extra elements (such as rocks and vegetation) thaus creating a richer environment.

I am not sure if / when I will fulfill the list's tasks. For the time being I am more interested in populating this repository with a variety of examples. However, I am writing these down for future reference.

2.4. Further links:

demo-video: https://www.youtube.com/watch?v=mXWjAjq2yYQ
more info about this example: http://www.konsfik.com/procedural-landscape-made-in-unity3d/

3. Procedural Audio

Project - specific - folder: https://github.com/konsfik/Unity3D-Coding-Examples/tree/master/3-Procedural-Audio

3.1 Description:

This project is a case-study on "how you can procedurally generate some simple sounds from within the Unity engine, and connect those sounds with parameters of other objects in your scene". The advantage of that is that you have access to parameters that drive the audio generation, and not only to the resulting audio. The "disadvantage" is that you must have a good understanding of digital audio inorder to create your own tools / alterations upon this example.

3.2. Screenshots:

Images Descriptions
Procedural Audio - editor screenshot
Procedural Audio - editor controls
Procedural Audio - autoPlay mode

3.3. Further links:

demo-video: https://youtu.be/fg0zjFfQJDU
more info about this example: http://www.konsfik.com/procedural-audio-made-in-unity3d/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].