Code Monkey home page Code Monkey logo

godotholoplayextension's People

Contributors

captainproton42 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

godotholoplayextension's Issues

Rough Roadmap

This is a rough roadmap for porting the plugin from 3.x to an extension for 4.0. Will probably change a lot and input is appreciated!

  • Implement HoloPlayManager singleton class
    • This class should manage all connected HoloPlay devices, e.g. keep a list of connected devices so we can supply all HoloPlayVolumes with a dropdown list. Since it's a singleton it can also manage static content like the compiled lightfield shader. We could also give the user access to state functions such as hpc_InitializeApp but this might be more inconvenient than useful.
    • Poll for devices using hpc_RefreshState and hpc_GetNumDevices etc. at sensible intervals/times.
      • Maybe when a HoloPlayVolume node is instantiated/selected in the editor or when the device list dropdown is accessed in the editor? Any ideas?
    • Use RenderingDevice to compile the lightfield shader (shaders require some run-time tweaking to make them compile in Vulkan)
    • Retrieve a list of all connected devices (might work with hpc_GetNumDevices and iteration using hpc_GetDevice*
      • Dictionary support is not complete in the current C++ bindings so this could still be improved to contain more info.
    • Initialise and close the app on the HoloPlay service
      • initialize_app compiles the shaders and initialises the app with the HoloPlay Service. hpc_close is called automatically.
    • Implement state functions
      • get_holoplay_core_version
      • ...
    • ...
  • Implement HoloPlayVolume class
    • Basically the same as the HoloPlayVolume class from the 3.x plugin but does not store static data such as the compiled shader.
    • Inherits Node3D
    • Retrieve a list of available devices from HoloPlayManager
    • Use DisplayServer for windowing logic (no platform-specific code for context sharing and GLFW needed anymore.)
    • Use RenderingDevice or whichever class is used for this in Godot 4.0 to render the quilt using the compiled shader from HoloPlayManager
    • ...
  • Reimplement editor gizmo.
    • Should be a relatively straight port from the 3.x version.
  • Reimplement HoloPlayRecorder node
    • Can also be ported from 3.x althought this could probably use some improvements as well.

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.