Giter Site home page Giter Site logo

voxelman's Introduction

Voxelman

gif gif

Voxelman is an example that shows how to use the new Entity Component System with Unity in an extreme way. Each voxel in the scene is instantiated as an entity, and controlled by component systems. It also utilizes the C# Job System, the Burst Compiler and the asynchronous raycast to hit the maximum efficiency of multi-core processors.

System requirements

  • Unity 2022 LTS

voxelman's People

Contributors

keijiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voxelman's Issues

Used Git For Windows Bash Shell. Denied. Perms?

$ git submodule update
Cloning into 'D:/REPOS/Voxelman/Packages/jp.keijiro.cmu-mocap'...
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:keijiro/CMUMocap.git' into submodule path 'D:/REPOS/Voxelman/Packages/jp.keijiro.cmu-mocap' failed
Failed to clone 'Packages/jp.keijiro.cmu-mocap'. Retry scheduled
Cloning into 'D:/REPOS/Voxelman/Packages/jp.keijiro.klak'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:keijiro/Klak.git' into submodule path 'D:/REPOS/Voxelman/Packages/jp.keijiro.klak' failed
Failed to clone 'Packages/jp.keijiro.klak'. Retry scheduled
Cloning into 'D:/REPOS/Voxelman/Packages/jp.keijiro.neolowman'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:keijiro/NeoLowMan.git' into submodule path 'D:/REPOS/Voxelman/Packages/jp.keijiro.neolowman' failed
Failed to clone 'Packages/jp.keijiro.neolowman'. Retry scheduled
Cloning into 'D:/REPOS/Voxelman/Packages/jp.keijiro.test-assets'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:keijiro/jp.keijiro.test-assets.git' into submodule path 'D:/REPOS/Voxelman/Packages/jp.keijiro.test-assets' failed
Failed to clone 'Packages/jp.keijiro.test-assets'. Retry scheduled
Cloning into 'D:/REPOS/Voxelman/Packages/jp.keijiro.cmu-mocap'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:keijiro/CMUMocap.git' into submodule path 'D:/REPOS/Voxelman/Packages/jp.keijiro.cmu-mocap' failed
Failed to clone 'Packages/jp.keijiro.cmu-mocap' a second time, aborting

The git works with other repos.

Cannot run in Unity2019

I upgraded the code to Unity2019, but got an error mesage like this:

Library\PackageCache\[email protected]\Runtime\NetworkTransform.cs(293,20): error CS1069: The type name 'Rigidbody2D' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.Physics2DModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Physics 2D' in the Package Manager window to fix this error.

And I checked the unity, but in my Package Manager Window, there is no "Physics 2D" built-in package, but only "Physics" which means physics of 3D.
无标题

How can I load 'Physics 2D' into the Package Manager Window?

Submodule permissions are denied

It seems like the submodules may not be public or open for pulling as I init the submodules locally, but was denied permission when attempting to update them.

Unable to run this project

Hello, I can't run this project with unity2018.2.21f1 according to the readme file.

Prompt: script compilation error, script missing, and prefabrication missing.

Add VR examples to this DOTS Repo

Hi
I am working with VR projects and I am very interested in learning DOTS to use it in my own VR ones to optimize PC 3D Assets and Performance for VR devices ( mainly Oculus Quest), for it, Could you add any VR examples to this repo?
Thanks for your time
Alejandro Castan

Null Mesh?

I am getting a blank screen and the following error on Unity 2018.4.5f1:

ArgumentNullException: Value cannot be null. Parameter name: mesh UnityEngine.Graphics.DrawMeshInstanced (UnityEngine.Mesh mesh, System.Int32 submeshIndex, UnityEngine.Material material, UnityEngine.Matrix4x4[] matrices, System.Int32 count, UnityEngine.MaterialPropertyBlock properties, UnityEngine.Rendering.ShadowCastingMode castShadows, System.Boolean receiveShadows, System.Int32 layer, UnityEngine.Camera camera, UnityEngine.Rendering.LightProbeUsage lightProbeUsage, UnityEngine.LightProbeProxyVolume lightProbeProxyVolume) (at C:/buildslave/unity/build/Runtime/Export/Graphics.cs:415) UnityEngine.Graphics.DrawMeshInstanced (UnityEngine.Mesh mesh, System.Int32 submeshIndex, UnityEngine.Material material, UnityEngine.Matrix4x4[] matrices, System.Int32 count, UnityEngine.MaterialPropertyBlock properties, UnityEngine.Rendering.ShadowCastingMode castShadows, System.Boolean receiveShadows) (at C:/buildslave/unity/build/Runtime/Export/Graphics_BindingsOverloads.cs:179) Unity.Rendering.MeshInstanceRendererSystem.OnUpdate () (at Library/PackageCache/[email protected]/Unity.Rendering.Hybrid/MeshInstanceRendererSystem.cs:78) Unity.Entities.ComponentSystem.InternalUpdate () (at Library/PackageCache/[email protected]/Unity.Entities/ComponentSystem.cs:294) Unity.Entities.ScriptBehaviourManager.Update () (at Library/PackageCache/[email protected]/Unity.Entities/ScriptBehaviourManager.cs:82) Unity.Entities.ScriptBehaviourUpdateOrder+DummyDelagateWrapper.TriggerUpdate () (at Library/PackageCache/[email protected]/Unity.Entities/ScriptBehaviourUpdateOrder.cs:734)

All the modules are in place and I can see the Neo prefabs in the hierarchy as well.

Compile Error under Post Processing 2.1.2

C:/Users/FYXMzhengle/AppData/Local/Unity/cache/packages/packages.unity.com/[email protected]/PostProcessing/Runtime/PostProcessRenderContext.cs(6,39): error CS1069: The type name 'XRSettings' could not be found in the namespace 'UnityEngine.XR'. This type has been forwarded to assembly 'UnityEngine.VRModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Consider adding a reference to that assembly.

C:/Users/FYXMzhengle/AppData/Local/Unity/cache/packages/packages.unity.com/[email protected]/PostProcessing/Runtime/PostProcessLayer.cs(9,39): error CS1069: The type name 'XRSettings' could not be found in the namespace 'UnityEngine.XR'. This type has been forwarded to assembly 'UnityEngine.VRModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Consider adding a reference to that assembly.

Compile Error under Entities 0.0.12 preview 19

TransformMatrix renamed to LocalToWorld
signature of Schedule() changed
GetAllUniqueSharedComponentDatas() renamed to GetAllUniqueSharedComponentData()
Missing script on gameobject Voxelman/ECS/Scanner

Please add a license

Please can you add a license?
MIT or Unity Companion would be great.

I would like to use in a loading screen of my indie game.

Version updates?

Hey,

Found this just now and think it looks awesome, any plans to update to latest ECS/Unity version? The unity version of the project currently isn't even an LTS version and the burst package in the manifest isn't available on the package manager from what I can tell.

If not because you've moved on, any help in getting things to compile and run would be great (the ReadMe does say 2018.2 or later and the "or later" portion of that seems to be an issue.

FPS below 10 on macbook pro

I test this project on windows is ok. but when I run it on macbook pro, the FPS is very low. If I change the scanner resolution to 40X40, FPS increase to 30.
image

OS version: OSX High Sierra
Unity version: 2018.1

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.