Git Product home page Git Product logo

job-system-cookbook's Introduction

Stella Cannefax

Long-time Unity & web software engineer, now working on blockchain explorers

Hobbies

At home on the dancefloor. I used to do live video art (VJ-ing) & electronic dance music sometimes.

Get @ Me

I'm on Bluesky @ stellz.xyz

job-system-cookbook's People

Contributors

jura-z avatar stella3d 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

job-system-cookbook's Issues

webcamProcessing error > Input color array length needs to match width * height

solved by this
https://talk.olab.io/t/get-errors-when-grabbing-webcamtextures-color-information-into-color32/654/4

More specifically by inserting this in the Update method
if (!isInitialized && m_CamTexture.didUpdateThisFrame)
{
m_Data = new Color32[m_CamTexture.width * m_CamTexture.height];
m_NativeColors = new NativeArray(m_Data, Allocator.Persistent);
isInitialized = true;
}
else if (isInitialized && m_CamTexture.didUpdateThisFrame) {
....//rest of Update code
}

Input color array length needs to match width * height

Hi
Trying to run the demos but getting the following error

Input color array length needs to match width * height, but 589824 != 1280 * 720
UnityEngine.WebCamTexture:GetPixels32(WebCamTexture, Color32[])
WebcamProcessing:Update() (at Assets/Scripts/WebcamProcessing.cs:83)

Fatal error! Case sensitive file system

Is there a way to work with Unity3d on Windows 10, version 1803

I can open it but i am not able to open cloned project, it crash an says:

The project is on case sensitive file system. Case sensitive file systems are not supported at the moment. Please move the project folder to a case insensitive file system.

Solve problem:

  1. Delete cloning repo.
  2. Open PowerShell{Admin}, create new folder and go there
  3. Check folder on Case sensitive file system:
    fsutil.exe file queryCaseSensitiveInfo C:\my folder
    IF "Case sensitive attribute on directory C:\my folder is disabled"
    THEN go to step 4
    ELSE you need manualy change all files in cloning repo with command:
    fsutil.exe file setCaseSensitiveInfo C:\folder\filename disable
  4. Clone repo in new folder
  5. Profit

Compile errors due to missing Unity.Properties types

Such as:

Library/PackageCache/[email protected]/Editor/Serialization/Generation/CSharpGenerationBackend.cs(9,24): error CS0234: The type or namespace name 'Serialization' does not exist in the namespace 'Unity.Properties' (are you missing an assembly reference?)

The easiest fix seems to be to remove the Entities package and add the Mathematics package manually.

Stop animation bug

Hi, Than I added new field in PositionUpdateJob struct https://github.com/stella3d/job-system-cookbook/blob/master/Assets/Scripts/AccelerationParallelFor.cs line36 the сubes stopped moving. My code:

```struct PositionUpdateJob : IJobParallelForTransform
{
    [ReadOnly]
    public NativeArray<Vector3> velocity;  // the velocities from AccelerationJob

    [ReadOnly]
    public Transform[] trans; // here

    public float deltaTime;
    
    public void Execute(int i, TransformAccess transform)
    {
        //trans[i].LookAt(Camera.main.transform.position);

        transform.position += velocity[i] * deltaTime;
    }
}```

Add VR examples to this repo

Hi
I am working with VR projects and I am very interested in learning C# Job System and Burst Compiler to use them 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

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.