file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnGraphTargetTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnGraphTarget.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageSimu... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnConstantUCharTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnConstantUChar.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageSi... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnConstantTexCoord2fTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnConstantTexCoord2f.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineSt... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnSetMatrix4RotationTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnSetMatrix4Rotation.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineSt... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnReadStageSelectionTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnReadStageSelection.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineSt... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnConstantHalf4Template.usda | #usda 1.0
(
doc ="""Generated from node description file OgnConstantHalf4.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageSi... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnConstructArrayTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnConstructArray.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageS... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnConstantPoint3fTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnConstantPoint3f.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStage... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnWritePrimTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnWritePrim.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageSimula... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnAnyZeroTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnAnyZero.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageSimulati... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnArrayInsertValueTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnArrayInsertValue.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStag... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnCurveTubePositionsTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnCurveTubePositions.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineSt... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnBundleInspectorTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnBundleInspector.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStage... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnStartsWithTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnStartsWith.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageSimul... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/tests/usd/OgnToTokenTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnToToken.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageSimulati... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/_impl/extension.py | """Support required by the Carbonite extension loader - no visible API exists."""
from contextlib import suppress
import omni.ext
from omni.graph.nodes.bindings._omni_graph_nodes import acquire_interface as _acquire_interface
from omni.graph.nodes.bindings._omni_graph_nodes import release_interface as _release_interfa... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/_impl/templates/template_omni.graph.nodes.ConstructArray.py | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/_impl/templates/template_omni.graph.nodes.WritePrimAttribute.py | # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/_impl/templates/template_omni.graph.core.WriteVariable.py | from omni.graph.ui.scripts.graph_variable_custom_layout import GraphVariableCustomLayout
class CustomLayout(GraphVariableCustomLayout):
_value_is_output = False
|
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/_impl/templates/template_omni.graph.nodes.ReadPrimAttribute.py | # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/_impl/templates/template_omni.graph.core.ReadVariable.py | from omni.graph.ui.scripts.graph_variable_custom_layout import GraphVariableCustomLayout
class CustomLayout(GraphVariableCustomLayout):
_value_is_output = True
|
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/scripts/variant_utils.py | # Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CO... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/scripts/ui_utils.py | # Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/scripts/layer_identifier_widget_builder.py | # Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/scripts/variants.py | # Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CO... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_read_prims_dirty_push.py | import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.test
from pxr import Usd, UsdGeom
class TestReadPrimsDirtyPush(ogts.OmniGraphTestCase):
"""Unit tests for dirty push behavior of the ReadPrimsV2 node in this extension"""
async def test_read_prims_dirty_push(self):
usd_... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_omnigraph_utility_nodes.py | """Test the node that inspects attribute bundles"""
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.graph.nodes.tests as ognts
ROLES = [
"none",
"vector",
"normal",
"point",
"color",
"texcoord",
"quat",
"transform",
"frame",
"timecode",
"text",
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/_1_15.py | """Backward compatible module for omni.graph.nodes version 1.15.
Revert your access to the earlier package to this version:
import omni.graph.nodes._1_15 as on
Or import both and cherry-pick which versions of specific APIs you want to use
import omni.graph.nodes as on
import omni.graph.nodes._1_15 as on1... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_legacy_write_prims_node.py | r"""
_____ ______ _____ _____ ______ _____ _______ ______ _____
| __ \ | ____|| __ \ | __ \ | ____|/ ____| /\ |__ __|| ____|| __ \
| | | || |__ | |__) || |__) || |__ | | / \ | | | |__ | | | |
| | | || __| | ___/ | _ / | __| | | / /\ \ | | | __| | |... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_write_prims_node.py | # noqa: PLC0302
"""Unit tests for the OgnWritePrims node in this extension"""
import fnmatch
import os
import tempfile
import carb
import omni.graph.core as og
import omni.graph.core.autonode as oga
import omni.graph.core.tests as ogts
import omni.kit.commands
import omni.kit.stage_templates
import omni.kit.test
impo... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_read_prim_node.py | # noqa: PLC0302
from math import isnan
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.test
from pxr import Sdf, Usd, UsdGeom
# Tests for ReadPrim (singular) node
class TestReadPrimNode(ogts.OmniGraphTestCase):
"""Unit tests for ReadPrim node in this extension"""
async def ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_timeline_nodes.py | """Unit tests for the timeline playback nodes in this extension"""
import carb.events
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.commands
import omni.kit.stage_templates
import omni.kit.test
import omni.timeline
import omni.usd
# ================================================... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_bundle_inspector.py | """Test the node that inspects attribute bundles"""
import omni.graph.core as og
import omni.graph.core.tests as ogts
from .bundle_test_utils import (
bundle_inspector_results,
get_bundle_with_all_results,
prim_with_everything_definition,
verify_bundles_are_equal,
)
# ================================... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_variant_nodes.py | """Testing the stability of the API in this module"""
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.test
import omni.usd
from pxr import Sdf
# ======================================================================
class TestVariantNodes(ogts.OmniGraphTestCase):
def __init__(sel... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_timer_node.py | # Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_read_prims_incremental.py | # noqa: PLC0302
from typing import List
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.test
from pxr import Sdf, Usd, UsdGeom
_debug = False
class TestReadPrimsIncremental(ogts.OmniGraphTestCase):
"""Unit tests for incremental behavior of the ReadPrimsV2 node in this extensio... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_dynamic_nodes.py | """Tests for nodes with dynamic attributes""" # noqa: PLC0302
import unittest
from typing import Any, Dict
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.usd
from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene, _test_verify_scene, _TestGraphAndNode
from pxr import ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_nodes.py | # noqa: PLC0302
"""Misc collection of tests for nodes in this extension"""
import math
import os
from functools import partial
from math import isnan
from typing import Callable, Set
import carb
import carb.settings
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.commands
import omni... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_find_prims_node.py | import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.test
class TestFindPrimsNode(ogts.OmniGraphTestCase):
"""Unit tests for Find Prims node in this extension"""
# ----------------------------------------------------------------------
async def test_find_prims_node_type_attri... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_api.py | """Testing the stability of the API in this module"""
import omni.graph.core.tests as ogts
import omni.graph.nodes as ognd
from omni.graph.tools.tests.internal_utils import _check_module_api_consistency, _check_public_api_contents
# ======================================================================
class _TestOmn... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_auto_conv_on_load.py | """Test the node that inspects attribute bundles"""
import omni.graph.core as og
ogts = og.tests
# ======================================================================
class TestConversion(ogts.test_case_class()):
"""Run simple unit tests that exercises auto conversion of attribute"""
# ------------------... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_prim_relationship_nodes.py | import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.commands
import omni.kit.test
from pxr import OmniGraphSchemaTools
# ======================================================================
class TestPrimRelationshipNodes(ogts.OmniGraphTestCase):
"""Tests read and write prim relati... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/__init__.py | """
Explicitly import the test utilities that will be part of the public interface
This way you can do things like:
import omni.graph.nodes.tests as ognt
new_prim = ognt.bundle_inspector_output()
"""
from .bundle_test_utils import (
BundleInspectorResults_t,
BundleResultKeys,
bundle_inspector_resul... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_nodes_with_prim_connection.py | import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.commands
import omni.kit.stage_templates
import omni.kit.test
import omni.timeline
import omni.usd
from pxr import Gf, Sdf, UsdGeom
# ======================================================================
class TestNodesWithPrimConnecti... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_omnigraph_builtins.py | """Basic tests of the compute graph"""
from unittest import skip
import numpy
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.graph.tools as ogt
import omni.kit.stage_templates
import omni.kit.test
import omni.usd
from omni.graph.core.tests.omnigraph_test_utils import create_scope_node
f... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/bundle_test_utils.py | """Collection of utilities to help with testing bundled attributes on OmniGraph nodes"""
import ast
from dataclasses import dataclass
from typing import Any, Dict, List, Optional, Tuple, Union
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.graph.tools.ogn as ogn
from omni.graph.core.typi... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_bundles.py | import omni.graph.core as ogc
import omni.kit.test
class TestNodeInputAndOutputBundles(ogc.tests.OmniGraphTestCase):
"""Test to validate access to input/output bundles"""
TEST_GRAPH_PATH = "/TestGraph"
async def setUp(self):
"""Set up test environment, to be torn down when done"""
await... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_read_prims_hierarchy.py | import numpy as np
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.test
from pxr import Gf, Sdf, Usd, UsdGeom
class TestReadPrimsHierarchy(ogts.OmniGraphTestCase):
"""Unit tests for hierarchical behavior of the ReadPrimsV2 node in this extension"""
async def test_read_prims_... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_bundle_attribute_nodes.py | """Basic tests of the bundled attribute nodes"""
import numpy
import omni.graph.core as og
import omni.graph.core.tests as ogts
# ======================================================================
class TestBundleAttributeNodes(ogts.OmniGraphTestCase):
"""Run a simple unit test that exercises graph functiona... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/test_settings_removal.py | """Suite of tests to exercise the implications of the removal of various settings."""
from typing import Any, Dict, List
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.kit.test
import omni.usd
from pxr import Gf, OmniGraphSchema
KEYS = og.Controller.Keys
"""Shorten keyword names"""
FIL... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithSubgraph_v1_3.usda | #usda 1.0
(
)
def OmniGraph "pullGraph"
{
custom token evaluator:type = "pull"
custom int2 fileFormatVersion = (1, 3)
custom token fabricCacheBacking = "StageWithHistory"
custom token pipelineStage = "pipelineStagePreRender"
def OmniGraph "innerExecutionGraph"
{
custom token evaluator... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/skelcylinder_custom_joint_ordering.usda | #usda 1.0
(
defaultPrim = "Root"
endTimeCode = 30
startTimeCode = 1
timeCodesPerSecond = 24
upAxis = "Z"
)
over "Root" (
prepend references = @./skelcylinder.usda@
)
{
over "group1"
{
over "pCylinder1_Skinned"
{
uniform token[] skel:joints = ["joint1/joint2/j... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithSubgraph_v1_1.usda | #usda 1.0
(
)
def GlobalComputeGraph "pullGraph"
{
def ComputeGraphSettings "computegraphSettings"
{
custom token evaluator:type = "pull"
custom int2 fileFormatVersion = (1, 1)
custom token flatCacheBacking = "StageWithHistory"
custom token pipelineStage = "pipelineStagePreRend... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestConversionOnLoad.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500.0000000000001, 500.0000000000001, 4... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/variant_sets.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500, 500, 500)
}
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestBundleInspectorNode_v2.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (568.2714595693047, 432.37310592456754, ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithoutGraph_v1_0.usda | #usda 1.0
(
)
def ComputeGraphSettings "computegraphSettings"
{
custom token evaluator:type = "push"
custom int2 fileFormatVersion = (1, 0)
}
def ComputeNode "NoOp"
{
custom token node:type = "omni.graph.nodes.Noop"
custom int node:typeVersion = 1
}
|
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/variant_sets_layer.usda | #usda 1.0
(
upAxis = "Y"
)
over "InputPrim" (
variants = {
string color = "default_color"
string size = "default_size"
}
prepend variantSets = ["color", "size"]
)
{
variantSet "color" = {
"blue" {
}
"green" {
}
"red" {
}
}
v... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestReadPrimsNode_v1.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (237.24881686990182, 237.24881120719246,... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestConstantPrims.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500, 500, 500)
double3 ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestReadPrimNode_v1.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (237.24881686990182, 237.24881120719246,... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestReadPrimNodeVariants.usda | #usda 1.0
(
defaultPrim = "World"
endTimeCode = 100
metersPerUnit = 0.01
startTimeCode = 0
upAxis = "Y"
)
def Xform "World"
{
def OmniGraph "ActionGraph"
{
token evaluationMode = "Automatic"
token evaluator:type = "execution"
token fabricCacheBacking = "Shared"
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithSubgraph_postSchema.usda | #usda 1.0
(
)
def OmniGraph "pullGraph"
{
custom token evaluator:type = "pull"
custom int2 fileFormatVersion = (1, 4)
custom token fabricCacheBacking = "StageWithHistory"
custom token pipelineStage = "pipelineStagePreRender"
def OmniGraph "innerExecutionGraph"
{
custom token evaluator... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/skel_model_without_normals.usda | #usda 1.0
(
defaultPrim = "Model"
endTimeCode = 10
startTimeCode = 1
metersPerUnit = .01
upAxis = 'Y'
)
def SkelRoot "Model" (
kind = "component"
prepend apiSchemas = ["SkelBindingAPI"]
)
{
def Skeleton "Skel" {
uniform token[] joints = ["Shoulder", "Shoulder/Elbow", "Shoulder/E... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithBadBackingName.usda | #usda 1.0
(
)
def ComputeGraph "pushGraph"
{
def ComputeGraphSettings "computegraphSettings"
{
custom token evaluator:type = "push"
custom int2 fileFormatVersion = (1, 1)
custom token flatCacheBacking = "StagedWithHistory"
custom token pipelineStage = "pipelineStagePreRender"
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/skelcylinder_inherited_skeleton.usda | #usda 1.0
(
defaultPrim = "Root"
endTimeCode = 30
startTimeCode = 1
timeCodesPerSecond = 24
upAxis = "Z"
)
def "Root" (
kind = "component"
)
{
def SkelRoot "group1" (
prepend apiSchemas = ["SkelBindingAPI"]
)
{
matrix4d xformOp:transform = ( (1, 0, 0, 0), (0, 1, 0, 0... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithoutGraphWithOver_v1_1.usda | #usda 1.0
(
)
def World "World"
{
def ComputeNode "NoOp"
{
custom token node:type = "omni.graph.nodes.Noop"
custom int node:typeVersion = 1
}
over "layeredGraph"
{
def ComputeGraph "innerGraph"
{
def ComputeGraphSettings "computegraphSettings"
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/lbs_custom_joint_ordering.usda | #usda 1.0
(
defaultPrim = "Root"
endTimeCode = 30
startTimeCode = 1
timeCodesPerSecond = 24
upAxis = "Y"
)
over "Root" (
prepend references = @./lbs.usda@
)
{
over "Mesh_Skinned"
{
uniform token[] skel:joints = ["joint1/joint2/joint3", "joint1", "joint1/joint2"]
}
over ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithBadConnections.usda | #usda 1.0
(
)
def Xform "World"
{
def Mesh "Cube"
{
int[] faceVertexCounts = [4, 4, 4, 4, 4, 4]
int[] faceVertexIndices = [0, 1, 3, 2, 0, 4, 5, 1, 1, 5, 6, 3, 2, 3, 6, 7, 0, 2, 7, 4, 4, 7, 6, 5]
normal3f[] normals = [(0, -1, 0), (0, -1, 0), (0, -1, 0), (0, -1, 0), (0, 0, -1), (0, 0, -1... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsMissingFromGraph_postSchema.usda | #usda 1.0
(
)
def OmniGraph "defaultGraph"
{
}
|
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithoutGraph_v1_1.usda | #usda 1.0
(
)
def ComputeGraphSettings "computegraphSettings"
{
custom token evaluator:type = "push"
custom int2 fileFormatVersion = (1, 1)
custom token flatCacheBacking = "StageWithHistory"
custom token pipelineStage = "pipelineStagePreRender"
}
def ComputeNode "NoOp"
{
custom token node:type = ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithGraph_v1_3.usda | #usda 1.0
(
)
def OmniGraph "pushGraph"
{
custom token evaluator:type = "push"
custom int2 fileFormatVersion = (1, 3)
custom token fabricCacheBacking = "StageWithHistory"
custom token pipelineStage = "pipelineStagePreRender"
def OmniGraphNode "NoOp"
{
custom token node:type = "omni.gr... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithOldPrims.usda | #usda 1.0
(
)
def ComputeGraph "pullGraph"
{
def ComputeGraphSettings "computegraphSettings"
{
custom token evaluator:type = "pull"
custom int2 fileFormatVersion = (1, 1)
custom token flatCacheBacking = "StageWithHistory"
custom token pipelineStage = "pipelineStagePreRender"
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestFindPrimsNode_v1.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500, 500, 500)
double3 ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestReadPrimNode_targetMPiB.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500, 500, 500)
double3 ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithGraph_postSchema.usda | #usda 1.0
(
)
def OmniGraph "pushGraph"
{
custom token evaluator:type = "push"
custom int2 fileFormatVersion = (1, 4)
custom token fabricCacheBacking = "StageWithHistory"
custom token pipelineStage = "pipelineStagePreRender"
def OmniGraphNode "NoOp"
{
custom token node:type = "omni.gr... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/lbs.usda | #usda 1.0
(
defaultPrim = "Root"
endTimeCode = 30
startTimeCode = 1
timeCodesPerSecond = 24
upAxis = "Y"
)
def SkelRoot "Root" (
kind = "component"
prepend apiSchemas = ["SkelBindingAPI"]
)
{
rel skel:skeleton = </Root/Skeleton>
# If we have an extentsHint defined, baking skinning ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithChildGraph_v1_1.usda | #usda 1.0
(
)
def World "World"
{
def ComputeGraphSettings "computegraphSettings"
{
custom token evaluator:type = "push"
custom int2 fileFormatVersion = (1, 1)
custom token flatCacheBacking = "StageWithHistory"
custom token pipelineStage = "pipelineStagePreRender"
}
de... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestBundleAttributeNodes.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50020)
double radius = 500
}
dictionary Perspective = {
double3 position = (212.6994512590177, 212.69945125901776, ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/skelcylinder.usda | #usda 1.0
(
defaultPrim = "Root"
endTimeCode = 30
startTimeCode = 1
timeCodesPerSecond = 24
upAxis = "Z"
)
def "Root" (
kind = "component"
)
{
def SkelRoot "group1"
{
matrix4d xformOp:transform = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) )
uniform token[] ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsMissingFromGraph_v1_1.usda | #usda 1.0
(
)
def ComputeGraph "defaultGraph"
{
}
|
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsMissingFromGraph_v1_3.usda | #usda 1.0
(
)
def OmniGraph "defaultGraph"
{
}
|
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/SettingsWithGraph_v1_1.usda | #usda 1.0
(
)
def ComputeGraph "pushGraph"
{
def ComputeGraphSettings "computegraphSettings"
{
custom token evaluator:type = "push"
custom int2 fileFormatVersion = (1, 1)
custom token flatCacheBacking = "StageWithHistory"
custom token pipelineStage = "pipelineStagePreRender"
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestPrimRelationshipLoad.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500.0000000000001, 500.0000000000001, 4... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/tests/data/TestReadPrimNode_pathMPiB.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500, 500, 500)
double3 ... |
omniverse-code/kit/exts/omni.graph.nodes/docs/CHANGELOG.md | # Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.48.3] - 2022-12-02
### Fixed
- Forces WriteVa... |
omniverse-code/kit/exts/omni.graph.nodes/docs/README.md | # OmniGraph Nodes [omni.graph.nodes]
This is a collection of simple nodes that exercise some of the functionality of the Omniverse Graph. They serve
as illustration of some features and as a common library of utility nodes.
|
omniverse-code/kit/exts/omni.graph.nodes/docs/index.rst | .. _ogn_omni_graph_nodes:
OmniGraph Built-In Nodes
########################
.. tabularcolumns:: |L|R|
.. csv-table::
:width: 100%
**Extension**: omni.graph.nodes,**Documentation Generated**: |today|
.. toctree::
:maxdepth: 1
CHANGELOG
This is a collection of OmniGraph nodes that can be used in a var... |
omniverse-code/kit/exts/omni.graph.nodes/docs/Overview.md | # OmniGraph Built-In Nodes
```{csv-table}
**Extension**: omni.graph.nodes,**Documentation Generated**: {sub-ref}`today`
```
This is a collection of OmniGraph nodes that can be used in a variety of graph types.
For comprehensive examples targeted at explaining the use of OmniGraph features in detail see
{ref}`ogn_use... |
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/__init__.py | from .scripts import *
|
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/scripts/style.py | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... |
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/scripts/__init__.py | from .context_menu import *
from .viewport_menu import *
|
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/scripts/context_menu.py | # Copyright (c) 2020-2020, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software an... |
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/scripts/singleton.py | # Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software an... |
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/scripts/viewport_menu.py | ## Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
##
## NVIDIA CORPORATION and its licensors retain all intellectual property
## and proprietary rights in and to this software, related documentation
## and any modifications thereto. Any use, reproduction, disclosure or
## distribution of this software a... |
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/tests/test_assign_material.py | ## Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
##
## NVIDIA CORPORATION and its licensors retain all intellectual property
## and proprietary rights in and to this software, related documentation
## and any modifications thereto. Any use, reproduction, disclosure or
## distribution of this software a... |
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/tests/test_prim_mesh_children_stage.py | ## Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
##
## NVIDIA CORPORATION and its licensors retain all intellectual property
## and proprietary rights in and to this software, related documentation
## and any modifications thereto. Any use, reproduction, disclosure or
## distribution of this software a... |
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/tests/test_populate_fn.py | ## Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
##
## NVIDIA CORPORATION and its licensors retain all intellectual property
## and proprietary rights in and to this software, related documentation
## and any modifications thereto. Any use, reproduction, disclosure or
## distribution of this software a... |
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/tests/test_prim_copy_paste.py | ## Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
##
## NVIDIA CORPORATION and its licensors retain all intellectual property
## and proprietary rights in and to this software, related documentation
## and any modifications thereto. Any use, reproduction, disclosure or
## distribution of this software a... |
omniverse-code/kit/exts/omni.kit.context_menu/omni/kit/context_menu/tests/test_prim_shape_children.py | ## Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
##
## NVIDIA CORPORATION and its licensors retain all intellectual property
## and proprietary rights in and to this software, related documentation
## and any modifications thereto. Any use, reproduction, disclosure or
## distribution of this software a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.