Skip to main content

NanoVDB Editor Python Module

Project description

NanoVDB Editor

WIP

Shader Parameters

Shaders can have defined struct with shader parameters which are intended to be shown in the editor's UI:

struct shader_params_t
{
    float4 color;
    bool use_color;
    bool3 _pad1;
    int _pad2;
};
ConstantBuffer<shader_params_t> shader_params;

Shader parameters can have defined default values in the json file:

{
    "ShaderParams": {
        "color": {
            "value": [1.0, 0.0, 1.0, 1.0],
            "min": 0.0,
            "max": 1.0,
            "step": 0.01
        }
    }
}

Supported types: bool, int, uint, int64, uint64, float and its vectors and 4x4 matrix. Variables with _pad in the name are not shown in the UI. Those parameters can be interactively changed with generated UI in the editor's Params tab.

To display a group of shader parameters from different shaders define a json file with various shader paths:

{
    "ShaderParams": [
        "editor/editor.slang",
        "test/test.slang"
    ]
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nanovdb_editor-0.0.3.tar.gz (15.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

nanovdb_editor-0.0.3-py3-none-win_amd64.whl (43.4 MB view details)

Uploaded Python 3Windows x86-64

nanovdb_editor-0.0.3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (15.7 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file nanovdb_editor-0.0.3.tar.gz.

File metadata

  • Download URL: nanovdb_editor-0.0.3.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nanovdb_editor-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1e2b191abeba22d42a2d0274b4fcb805e3ebb4b761e2c43f0224c97fe17e106f
MD5 5f40e3b1c558b7b078edc9f07cc1faad
BLAKE2b-256 2242476ff520180fbbeca2b7c580e7192e1bcf75e0287d2f282fbc18809ce9a0

See more details on using hashes here.

File details

Details for the file nanovdb_editor-0.0.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for nanovdb_editor-0.0.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3ec144c56afae042797cce5680afdd06723496d7cf0d36c7981e7a7c2b70dc03
MD5 9fe5bc7bdd43b1abcbff33cf2ba058de
BLAKE2b-256 47dfb31f8ca2284136bb0d995c97ddd1fc1d7d7b610f8a3e46b2f159aeeb5016

See more details on using hashes here.

File details

Details for the file nanovdb_editor-0.0.3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for nanovdb_editor-0.0.3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 12f13326808d3dcd5d29d604895513c408a2012b6797c2c297f5fb10aaf5a04d
MD5 4613c6df71369fceeb176158a34d4719
BLAKE2b-256 e54ad802250573d41b4ca4e55f34b4cd8b6eb393e8eedb908ed601e90e50482e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page