Update Robot-Body packages to 3.0.2 (17/17)
Browse files- yahboom_dofbot/materials/mdl/OmniPBR.mdl +0 -396
- yahboom_dofbot/materials/mdl/OmniPBRBase.mdl +0 -470
- yahboom_dofbot/materials/mdl/OmniPBR_ClearCoat.mdl +0 -711
- yahboom_dofbot/materials/mdl/aux_definitions.mdl +0 -0
- yahboom_dofbot/materials/mdl/core_definitions.mdl +0 -0
- yahboom_dofbot/materials/mdl/license.txt +0 -73
- yahboom_dofbot/materials/mdl/support_definitions.mdl +0 -0
- yahboom_dofbot/payloads/Physics/mujoco.usda +0 -226
- yahboom_dofbot/payloads/Physics/physics.usda +0 -665
- yahboom_dofbot/payloads/Physics/physx.usda +0 -242
- yahboom_dofbot/payloads/base.usda +0 -405
- yahboom_dofbot/payloads/geometries.usd +0 -3
- yahboom_dofbot/payloads/instances.usda +0 -0
- yahboom_dofbot/payloads/materials.usda +0 -0
- yahboom_dofbot/payloads/robot.usda +0 -179
- yahboom_dofbot/runnables/physics/mujoco.usda +0 -410
- yahboom_dofbot/runnables/physics/newton.usda +0 -305
- yahboom_dofbot/runnables/physics/physics.usda +0 -137
- yahboom_dofbot/runnables/physics/physx.usda +0 -0
yahboom_dofbot/materials/mdl/OmniPBR.mdl
DELETED
|
@@ -1,396 +0,0 @@
|
|
| 1 |
-
/*
|
| 2 |
-
* SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 3 |
-
* SPDX-License-Identifier: BSD-3-Clause
|
| 4 |
-
*/
|
| 5 |
-
|
| 6 |
-
mdl 1.7;
|
| 7 |
-
|
| 8 |
-
import ::df::*;
|
| 9 |
-
import ::state::*;
|
| 10 |
-
import ::math::*;
|
| 11 |
-
import ::base::*;
|
| 12 |
-
import ::state::*;
|
| 13 |
-
import ::tex::*;
|
| 14 |
-
import ::anno::*;
|
| 15 |
-
|
| 16 |
-
import ::debug::*;
|
| 17 |
-
|
| 18 |
-
import core_definitions::file_texture;
|
| 19 |
-
import core_definitions::normalmap_texture;
|
| 20 |
-
|
| 21 |
-
import OmniPBR_ClearCoat::*;
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
// OmniPBR //
|
| 25 |
-
|
| 26 |
-
export material OmniPBR(
|
| 27 |
-
|
| 28 |
-
// Albdeo //
|
| 29 |
-
|
| 30 |
-
color diffuse_color_constant = color(0.2) [[
|
| 31 |
-
anno::display_name("Albedo Color"),
|
| 32 |
-
anno::description("This is the albedo base color"),
|
| 33 |
-
anno::in_group("Albedo")
|
| 34 |
-
]],
|
| 35 |
-
uniform texture_2d diffuse_texture = texture_2d() [[
|
| 36 |
-
anno::display_name("Albedo Map"),
|
| 37 |
-
anno::in_group("Albedo")
|
| 38 |
-
]],
|
| 39 |
-
float albedo_desaturation = float(0.0) [[
|
| 40 |
-
anno::display_name("Albedo Map Desaturation"),
|
| 41 |
-
anno::description("Desaturates the albedo map"),
|
| 42 |
-
anno::in_group("Albedo"),
|
| 43 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 44 |
-
]],
|
| 45 |
-
float albedo_add = float(0.0) [[
|
| 46 |
-
anno::display_name("Albedo Add"),
|
| 47 |
-
anno::description("Adds a constant value to the diffuse color "),
|
| 48 |
-
anno::in_group("Albedo"),
|
| 49 |
-
anno::soft_range(float(-1.0), float(1.0))
|
| 50 |
-
]],
|
| 51 |
-
float albedo_brightness = float(1.0) [[
|
| 52 |
-
anno::display_name("Albedo Brightness"),
|
| 53 |
-
anno::description("Multiplier for the diffuse color "),
|
| 54 |
-
anno::in_group("Albedo"),
|
| 55 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 56 |
-
]],
|
| 57 |
-
color diffuse_tint = color(1.0) [[
|
| 58 |
-
anno::display_name("Color Tint"),
|
| 59 |
-
anno::description("When enabled, this color value is multiplied over the final albedo color"),
|
| 60 |
-
anno::in_group("Albedo")
|
| 61 |
-
]],
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
// Reflectivity //
|
| 65 |
-
|
| 66 |
-
float reflection_roughness_constant = float(0.5) [[
|
| 67 |
-
anno::display_name("Roughness Amount"),
|
| 68 |
-
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 69 |
-
anno::in_group("Reflectivity"),
|
| 70 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 71 |
-
]],
|
| 72 |
-
float reflection_roughness_texture_influence = float(0.0) [[
|
| 73 |
-
anno::display_name("Roughness Map Influence"),
|
| 74 |
-
anno::description("Blends between the constant value and the lookup of the roughness texture"),
|
| 75 |
-
anno::in_group("Reflectivity"),
|
| 76 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 77 |
-
]],
|
| 78 |
-
uniform texture_2d reflectionroughness_texture = texture_2d() [[
|
| 79 |
-
anno::display_name("Roughness Map"),
|
| 80 |
-
anno::in_group("Reflectivity"),
|
| 81 |
-
anno::usage("roughness")
|
| 82 |
-
]],
|
| 83 |
-
float metallic_constant = float(0.0) [[
|
| 84 |
-
anno::display_name("Metallic Amount"),
|
| 85 |
-
anno::description("Metallic Material"),
|
| 86 |
-
anno::in_group("Reflectivity"),
|
| 87 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 88 |
-
]],
|
| 89 |
-
float metallic_texture_influence = float(0.0) [[
|
| 90 |
-
anno::display_name("Metallic Map Influence"),
|
| 91 |
-
anno::description("Blends between the constant value and the lookup of the metallic texture"),
|
| 92 |
-
anno::in_group("Reflectivity"),
|
| 93 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 94 |
-
]],
|
| 95 |
-
uniform texture_2d metallic_texture = texture_2d() [[
|
| 96 |
-
anno::display_name("Metallic Map"),
|
| 97 |
-
anno::in_group("Reflectivity"),
|
| 98 |
-
anno::usage("metalness")
|
| 99 |
-
]],
|
| 100 |
-
float specular_level = float(0.5) [[
|
| 101 |
-
anno::display_name("Specular"),
|
| 102 |
-
anno::description("The specular level (intensity) of the material"),
|
| 103 |
-
anno::in_group("Reflectivity"),
|
| 104 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 105 |
-
]],
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
// ORM //
|
| 109 |
-
|
| 110 |
-
uniform bool enable_ORM_texture = false [[
|
| 111 |
-
anno::display_name("Enable ORM Texture"),
|
| 112 |
-
anno::description("The ORM texture will be used to extract the Occlusion, Roughness and Metallic textures from R,G,B channels"),
|
| 113 |
-
anno::in_group("Reflectivity")
|
| 114 |
-
]],
|
| 115 |
-
uniform texture_2d ORM_texture = texture_2d() [[
|
| 116 |
-
anno::display_name("ORM Map"),
|
| 117 |
-
anno::description("Texture that has Occlusion, Roughness and Metallic maps stored in their respective R, G and B channels"),
|
| 118 |
-
anno::in_group("Reflectivity"),
|
| 119 |
-
anno::usage("roughness")
|
| 120 |
-
]],
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
// AO Group //
|
| 124 |
-
|
| 125 |
-
float ao_to_diffuse = 0.0 [[
|
| 126 |
-
anno::display_name("AO to diffuse"),
|
| 127 |
-
anno::description("Controls the amount of ambient occlusion multiplied against the diffuse color channel"),
|
| 128 |
-
anno::in_group("AO"),
|
| 129 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 130 |
-
]],
|
| 131 |
-
uniform texture_2d ao_texture = texture_2d() [[
|
| 132 |
-
anno::display_name("Ambient Occlusion Map"),
|
| 133 |
-
anno::description("The ambient occlusion texture for the material"),
|
| 134 |
-
anno::in_group("AO"),
|
| 135 |
-
anno::usage("occlusion")
|
| 136 |
-
]],
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
// Emission //
|
| 140 |
-
|
| 141 |
-
uniform bool enable_emission = false [[
|
| 142 |
-
anno::display_name("Enable Emission"),
|
| 143 |
-
anno::description("Enables the emission of light from the material"),
|
| 144 |
-
anno::in_group("Emissive")
|
| 145 |
-
]],
|
| 146 |
-
color emissive_color = color(1.0,0.1,0.1) [[
|
| 147 |
-
anno::display_name("Emissive Color"),
|
| 148 |
-
anno::description("The emission color"),
|
| 149 |
-
anno::in_group("Emissive"),
|
| 150 |
-
anno::enable_if("enable_emission == true")
|
| 151 |
-
]],
|
| 152 |
-
uniform texture_2d emissive_color_texture = texture_2d() [[
|
| 153 |
-
anno::display_name("Emissive Color map"),
|
| 154 |
-
anno::in_group("Emissive"),
|
| 155 |
-
anno::description("The emissive color texture"),
|
| 156 |
-
anno::enable_if("enable_emission == true")
|
| 157 |
-
]],
|
| 158 |
-
uniform texture_2d emissive_mask_texture = texture_2d() [[
|
| 159 |
-
anno::display_name("Emissive Mask map"),
|
| 160 |
-
anno::description("The texture masking the emissive color"),
|
| 161 |
-
anno::in_group("Emissive"),
|
| 162 |
-
anno::enable_if("enable_emission == true"),
|
| 163 |
-
anno::usage("occlusion")
|
| 164 |
-
]],
|
| 165 |
-
float emissive_intensity = float(40.0) [[
|
| 166 |
-
anno::display_name("Emissive Intensity"),
|
| 167 |
-
anno::description("Intensity of the emission"),
|
| 168 |
-
anno::in_group("Emissive"),
|
| 169 |
-
anno::enable_if("enable_emission == true")
|
| 170 |
-
]],
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
// Cutout Opacity //
|
| 174 |
-
|
| 175 |
-
uniform bool enable_opacity = false [[
|
| 176 |
-
anno::display_name("Enable Opacity"),
|
| 177 |
-
anno::description("Enables the use of cutout opacity"),
|
| 178 |
-
anno::in_group("Opacity")
|
| 179 |
-
]],
|
| 180 |
-
uniform texture_2d opacity_texture = texture_2d() [[
|
| 181 |
-
anno::display_name("Opacity Map"),
|
| 182 |
-
anno::in_group("Opacity"),
|
| 183 |
-
anno::usage("opacity")
|
| 184 |
-
]],
|
| 185 |
-
float opacity_constant = float(1.0) [[
|
| 186 |
-
anno::display_name("Opacity Amount"),
|
| 187 |
-
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 188 |
-
anno::in_group("Opacity"),
|
| 189 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 190 |
-
]],
|
| 191 |
-
uniform bool enable_opacity_texture = false [[
|
| 192 |
-
anno::display_name("Enable Opacity Texture"),
|
| 193 |
-
anno::description("Enables or disables the usage of the opacity texture map"),
|
| 194 |
-
anno::in_group("Opacity")
|
| 195 |
-
]],
|
| 196 |
-
uniform base::mono_mode opacity_mode = base::mono_average [[
|
| 197 |
-
anno::display_name("Opacity Mono Source"),
|
| 198 |
-
anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
|
| 199 |
-
anno::in_group("Opacity")
|
| 200 |
-
]],
|
| 201 |
-
uniform float opacity_threshold = float(0.0) [[
|
| 202 |
-
anno::hard_range(0.0, 1.0),
|
| 203 |
-
anno::display_name("Opacity Threshold"),
|
| 204 |
-
anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 205 |
-
anno::in_group("Opacity")
|
| 206 |
-
]],
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
// Normal //
|
| 210 |
-
|
| 211 |
-
uniform float geometry_normal_roughness_strength = 1.f
|
| 212 |
-
[[
|
| 213 |
-
anno::hard_range(0.0, 1.0),
|
| 214 |
-
anno::display_name("Normal map to roughness weight"),
|
| 215 |
-
anno::description("Enables and weights roughness induced by normal maps"),
|
| 216 |
-
anno::in_group("Normal")
|
| 217 |
-
]],
|
| 218 |
-
uniform float bump_factor = float(1.0) [[
|
| 219 |
-
anno::display_name("Normal Strength"),
|
| 220 |
-
anno::description("Strength of normal map"),
|
| 221 |
-
anno::in_group("Normal"),
|
| 222 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 223 |
-
]],
|
| 224 |
-
uniform texture_2d normalmap_texture = texture_2d() [[
|
| 225 |
-
anno::display_name("Normal Map"),
|
| 226 |
-
anno::in_group("Normal"),
|
| 227 |
-
anno::usage("normal")
|
| 228 |
-
]],
|
| 229 |
-
uniform float detail_bump_factor = float(0.3) [[
|
| 230 |
-
anno::display_name("Detail Normal Strength"),
|
| 231 |
-
anno::in_group("Normal"),
|
| 232 |
-
anno::description("Strength of the detail normal"),
|
| 233 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 234 |
-
]],
|
| 235 |
-
uniform texture_2d detail_normalmap_texture = texture_2d() [[
|
| 236 |
-
anno::display_name("Detail Normal Map"),
|
| 237 |
-
anno::in_group("Normal"),
|
| 238 |
-
anno::usage("normal")
|
| 239 |
-
]],
|
| 240 |
-
uniform bool flip_tangent_u = false [[
|
| 241 |
-
anno::display_name("Normal Map Flip U Tangent"),
|
| 242 |
-
anno::in_group("Normal")
|
| 243 |
-
]],
|
| 244 |
-
uniform bool flip_tangent_v = true [[
|
| 245 |
-
anno::display_name("Normal Map Flip V Tangent"),
|
| 246 |
-
anno::in_group("Normal")
|
| 247 |
-
]],
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
// UVW Projection Group //
|
| 251 |
-
|
| 252 |
-
uniform bool project_uvw = false [[
|
| 253 |
-
anno::display_name("Enable Project UVW Coordinates"),
|
| 254 |
-
anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
|
| 255 |
-
anno::in_group("UV")
|
| 256 |
-
]],
|
| 257 |
-
uniform bool world_or_object = false [[
|
| 258 |
-
anno::display_name("Enable World Space"),
|
| 259 |
-
anno::description("When enabled, uses world space for projection, otherwise object space is used"),
|
| 260 |
-
anno::in_group("UV"),
|
| 261 |
-
anno::enable_if("project_uvw == true")
|
| 262 |
-
]],
|
| 263 |
-
uniform int uv_space_index = 0 [[
|
| 264 |
-
anno::display_name("UV Space Index"),
|
| 265 |
-
anno::description("UV Space Index."),
|
| 266 |
-
anno::in_group("UV"),
|
| 267 |
-
anno::enable_if("project_uvw == true"),
|
| 268 |
-
anno::hard_range(int(0), int(3))
|
| 269 |
-
]],
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
// UVW Adjustments Group //
|
| 273 |
-
|
| 274 |
-
uniform float2 texture_translate = float2(0.0) [[
|
| 275 |
-
anno::display_name("Texture Translate"),
|
| 276 |
-
anno::description("Controls position of texture."),
|
| 277 |
-
anno::in_group("UV"),
|
| 278 |
-
anno::enable_if("project_uvw == true")
|
| 279 |
-
]],
|
| 280 |
-
uniform float texture_rotate = float(0.0) [[
|
| 281 |
-
anno::display_name("Texture Rotate"),
|
| 282 |
-
anno::description("Rotates angle of texture in degrees."),
|
| 283 |
-
anno::in_group("UV"),
|
| 284 |
-
anno::enable_if("project_uvw == true")
|
| 285 |
-
]],
|
| 286 |
-
uniform float2 texture_scale = float2(1.0) [[
|
| 287 |
-
anno::display_name("Texture Tiling"),
|
| 288 |
-
anno::description("Controls the repetition of the texture."),
|
| 289 |
-
anno::in_group("UV"),
|
| 290 |
-
anno::enable_if("project_uvw == true")
|
| 291 |
-
]],
|
| 292 |
-
uniform float2 detail_texture_translate = float2(0.0) [[
|
| 293 |
-
anno::display_name("Detail Texture Translate"),
|
| 294 |
-
anno::description("Controls the position of the detail texture."),
|
| 295 |
-
anno::in_group("UV"),
|
| 296 |
-
anno::enable_if("project_uvw == true")
|
| 297 |
-
]],
|
| 298 |
-
uniform float detail_texture_rotate = float(0.0) [[
|
| 299 |
-
anno::display_name("Detail Texture Rotate"),
|
| 300 |
-
anno::description("Rotates angle of the detail texture in degrees."),
|
| 301 |
-
anno::in_group("UV"),
|
| 302 |
-
anno::enable_if("project_uvw == true")
|
| 303 |
-
]],
|
| 304 |
-
uniform float2 detail_texture_scale = float2(1.0) [[
|
| 305 |
-
anno::display_name("Detail Texture Tiling"),
|
| 306 |
-
anno::description("Controls the repetition of the detail texture."),
|
| 307 |
-
anno::in_group("UV"),
|
| 308 |
-
anno::enable_if("project_uvw == true")
|
| 309 |
-
]],
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
// Geometry //
|
| 313 |
-
|
| 314 |
-
uniform float round_edges_radius = float(0.0) [[
|
| 315 |
-
anno::display_name("Round Edge Radius"),
|
| 316 |
-
anno::description("Influence radius around the edges in meters"),
|
| 317 |
-
anno::in_group("Geometry"),
|
| 318 |
-
anno::soft_range(0.0, 1.0)
|
| 319 |
-
]],
|
| 320 |
-
uniform float round_edges_roundness = float(1.0) [[
|
| 321 |
-
anno::display_name("Round Edge Roundness"),
|
| 322 |
-
anno::description("Determines how round the edge will look"),
|
| 323 |
-
anno::in_group("Geometry"),
|
| 324 |
-
anno::hard_range(0.0, 1.0)
|
| 325 |
-
]],
|
| 326 |
-
uniform bool round_edges_across_materials = false [[
|
| 327 |
-
anno::display_name("Round Edge Across Materials"),
|
| 328 |
-
anno::description("Normal smoothing happens only between facets of equal material, \n"
|
| 329 |
-
"\t\tunless this parameter is set true, in which case the smoothing \n"
|
| 330 |
-
"\t\thappens between facets irrespective of their materials"),
|
| 331 |
-
anno::in_group("Geometry")
|
| 332 |
-
]]
|
| 333 |
-
)
|
| 334 |
-
[[
|
| 335 |
-
anno::display_name("OmniPBR"),
|
| 336 |
-
anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
|
| 337 |
-
anno::in_group("Base"),
|
| 338 |
-
anno::version( 2, 1, 2),
|
| 339 |
-
anno::author("NVIDIA CORPORATION"),
|
| 340 |
-
anno::key_words(string[]("omni", "PBR", "opacity", "omniverse", "generic"))
|
| 341 |
-
]] = let {
|
| 342 |
-
|
| 343 |
-
material base = OmniPBR_ClearCoat::OmniPBR_ClearCoat(
|
| 344 |
-
diffuse_color_constant: diffuse_color_constant,
|
| 345 |
-
diffuse_texture: diffuse_texture,
|
| 346 |
-
albedo_desaturation: albedo_desaturation,
|
| 347 |
-
albedo_add: albedo_add,
|
| 348 |
-
albedo_brightness: albedo_brightness,
|
| 349 |
-
diffuse_tint: diffuse_tint,
|
| 350 |
-
reflection_roughness_constant: reflection_roughness_constant,
|
| 351 |
-
reflection_roughness_texture_influence: reflection_roughness_texture_influence,
|
| 352 |
-
reflectionroughness_texture: reflectionroughness_texture,
|
| 353 |
-
metallic_constant: metallic_constant,
|
| 354 |
-
metallic_texture_influence: metallic_texture_influence,
|
| 355 |
-
metallic_texture: metallic_texture,
|
| 356 |
-
specular_level: specular_level,
|
| 357 |
-
enable_ORM_texture: enable_ORM_texture,
|
| 358 |
-
ORM_texture: ORM_texture,
|
| 359 |
-
ao_to_diffuse: ao_to_diffuse,
|
| 360 |
-
ao_texture: ao_texture,
|
| 361 |
-
enable_emission: enable_emission,
|
| 362 |
-
emissive_color: emissive_color,
|
| 363 |
-
emissive_color_texture: emissive_color_texture,
|
| 364 |
-
emissive_mask_texture: emissive_mask_texture,
|
| 365 |
-
emissive_intensity: emissive_intensity,
|
| 366 |
-
enable_opacity: enable_opacity,
|
| 367 |
-
opacity_texture: opacity_texture,
|
| 368 |
-
opacity_constant: opacity_constant,
|
| 369 |
-
enable_opacity_texture: enable_opacity_texture,
|
| 370 |
-
opacity_mode: opacity_mode,
|
| 371 |
-
opacity_threshold: opacity_threshold,
|
| 372 |
-
geometry_normal_roughness_strength: geometry_normal_roughness_strength,
|
| 373 |
-
bump_factor: bump_factor,
|
| 374 |
-
normalmap_texture: normalmap_texture,
|
| 375 |
-
detail_bump_factor: detail_bump_factor,
|
| 376 |
-
detail_normalmap_texture: detail_normalmap_texture,
|
| 377 |
-
flip_tangent_u: flip_tangent_u,
|
| 378 |
-
flip_tangent_v: flip_tangent_v,
|
| 379 |
-
project_uvw: project_uvw,
|
| 380 |
-
world_or_object: world_or_object,
|
| 381 |
-
uv_space_index: uv_space_index,
|
| 382 |
-
texture_translate: texture_translate,
|
| 383 |
-
texture_rotate: texture_rotate,
|
| 384 |
-
texture_scale: texture_scale,
|
| 385 |
-
detail_texture_translate: detail_texture_translate,
|
| 386 |
-
detail_texture_rotate: detail_texture_rotate,
|
| 387 |
-
detail_texture_scale: detail_texture_scale,
|
| 388 |
-
round_edges_radius: round_edges_radius,
|
| 389 |
-
round_edges_roundness: round_edges_roundness,
|
| 390 |
-
round_edges_across_materials: round_edges_across_materials
|
| 391 |
-
);
|
| 392 |
-
|
| 393 |
-
} in material(
|
| 394 |
-
surface: base.surface,
|
| 395 |
-
geometry: base.geometry
|
| 396 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/materials/mdl/OmniPBRBase.mdl
DELETED
|
@@ -1,470 +0,0 @@
|
|
| 1 |
-
/*
|
| 2 |
-
* SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 3 |
-
* SPDX-License-Identifier: BSD-3-Clause
|
| 4 |
-
*/
|
| 5 |
-
|
| 6 |
-
mdl 1.7;
|
| 7 |
-
|
| 8 |
-
import ::df::*;
|
| 9 |
-
import ::state::*;
|
| 10 |
-
import ::math::*;
|
| 11 |
-
import ::base::*;
|
| 12 |
-
import ::tex::*;
|
| 13 |
-
import ::anno::*;
|
| 14 |
-
import ::anno::*;
|
| 15 |
-
|
| 16 |
-
export float3 HemiOctahedronToUnitVector( float2 Oct ) [[
|
| 17 |
-
anno::hidden()
|
| 18 |
-
]]
|
| 19 |
-
{
|
| 20 |
-
Oct = float2( Oct.x + Oct.y, Oct.x - Oct.y ) * 0.5;
|
| 21 |
-
float3 N = float3( Oct.x, Oct.y, 1.0 - math::dot( float2(1.0), math::abs(Oct) ) );
|
| 22 |
-
return math::normalize(N);
|
| 23 |
-
}
|
| 24 |
-
|
| 25 |
-
export struct NormalData [[
|
| 26 |
-
anno::hidden()
|
| 27 |
-
]]
|
| 28 |
-
{
|
| 29 |
-
float3 normal;
|
| 30 |
-
float2 roughness;
|
| 31 |
-
};
|
| 32 |
-
|
| 33 |
-
export NormalData tangent_space_normal_roughness_texture(
|
| 34 |
-
uniform texture_2d texture
|
| 35 |
-
[[
|
| 36 |
-
anno::description("The input texture"),
|
| 37 |
-
anno::usage("normal")
|
| 38 |
-
]],
|
| 39 |
-
uniform float factor = 1.0f
|
| 40 |
-
[[ anno::description("Determines the degree of bumpiness") ]],
|
| 41 |
-
uniform bool flip_tangent_u = false
|
| 42 |
-
[[ anno::description("Can be used to fix mismatches between the object's tangent space and the normal map's tangent space") ]],
|
| 43 |
-
uniform bool flip_tangent_v = false
|
| 44 |
-
[[ anno::description("Can be used to fix mismatches between the object's tangent space and the normal map's tangent space") ]],
|
| 45 |
-
base::texture_coordinate_info uvw = base::texture_coordinate_info()
|
| 46 |
-
[[ anno::description("Parameterization to be used for texture mapping. Defaults to texture channel 0.") ]],
|
| 47 |
-
uniform float2 crop_u = float2( 0.0, 1.0)
|
| 48 |
-
[[ anno::description("Restricts the texture access to sub-domain of the texture in the u direction") ]],
|
| 49 |
-
uniform float2 crop_v = float2( 0.0, 1.0)
|
| 50 |
-
[[ anno::description("Restricts the texture access to sub-domain of the texture in the v direction") ]],
|
| 51 |
-
uniform tex::wrap_mode wrap_u = tex::wrap_repeat
|
| 52 |
-
[[ anno::description("Wrapping mode in the u direction") ]],
|
| 53 |
-
uniform tex::wrap_mode wrap_v = tex::wrap_repeat
|
| 54 |
-
[[ anno::description("Wrapping mode in the v direction") ]],
|
| 55 |
-
uniform bool clip = false
|
| 56 |
-
[[
|
| 57 |
-
anno::description("deprecated, usewrap_mode=tex::wrap_clip. Defines wrap_clamp behavior. If true, lookup outside [0,1] results in no bump"),
|
| 58 |
-
anno::hidden()
|
| 59 |
-
]],
|
| 60 |
-
uniform float scale = 1.
|
| 61 |
-
[[
|
| 62 |
-
anno::description("Scales the value red from the texture file. Can be used to adapt to different normal map formats"),
|
| 63 |
-
anno::unused()
|
| 64 |
-
]],
|
| 65 |
-
uniform float offset = 0.
|
| 66 |
-
[[
|
| 67 |
-
anno::description("Offset applied to the value red from the texture file. Can be used to adapt to different normal map formats"),
|
| 68 |
-
anno::unused()
|
| 69 |
-
]],
|
| 70 |
-
uniform float animation_start_time = 0.
|
| 71 |
-
[[ anno::description("When to start playing first frame of the animation ") ]],
|
| 72 |
-
uniform int2 animation_crop = int2(0, 0)
|
| 73 |
-
[[ anno::description("If the texture is an animation, the range of frames to be played can be specified.") ]],
|
| 74 |
-
uniform tex::wrap_mode animation_wrap = tex::wrap_repeat
|
| 75 |
-
[[ anno::description("Defines what to do outside of regular animation time") ]],
|
| 76 |
-
uniform float animation_fps = 30
|
| 77 |
-
[[ anno::description("Framerate to use for animation playback") ]]
|
| 78 |
-
)
|
| 79 |
-
[[
|
| 80 |
-
anno::description("Interprets the color values of a bitmap as a vector in tangent space"),
|
| 81 |
-
anno::hidden(),
|
| 82 |
-
anno::noinline()
|
| 83 |
-
]]
|
| 84 |
-
{
|
| 85 |
-
NormalData normalData;
|
| 86 |
-
normalData.roughness = float2(0);
|
| 87 |
-
normalData.normal = state::normal();
|
| 88 |
-
|
| 89 |
-
float frame = 0.0;
|
| 90 |
-
if(animation_crop != int2(0,0)) //only if we have an animation
|
| 91 |
-
{
|
| 92 |
-
frame = (::state::animation_time()-animation_start_time) * animation_fps ; //start playing at first frame of the animation
|
| 93 |
-
switch ( animation_wrap) {
|
| 94 |
-
case tex::wrap_repeat:
|
| 95 |
-
frame=frame>0? math::fmod(frame,animation_crop.y-animation_crop.x)+animation_crop.x:
|
| 96 |
-
math::fmod(frame,animation_crop.y-animation_crop.x)+animation_crop.y;
|
| 97 |
-
break;
|
| 98 |
-
case tex::wrap_mirrored_repeat:
|
| 99 |
-
float animation_crop_2y = 2.0*animation_crop.y;
|
| 100 |
-
frame=frame>0? math::fmod(frame,(animation_crop.y-animation_crop.x)*2.0)+animation_crop.x:
|
| 101 |
-
math::fmod(frame,(animation_crop.y-animation_crop.x)*2.0)+animation_crop_2y-animation_crop.x;
|
| 102 |
-
if(frame>animation_crop.y)
|
| 103 |
-
frame = animation_crop_2y-frame;
|
| 104 |
-
break;
|
| 105 |
-
case tex::wrap_clamp:
|
| 106 |
-
frame = math::clamp( frame+animation_crop.x, animation_crop.x, animation_crop.y);
|
| 107 |
-
break;
|
| 108 |
-
case tex::wrap_clip:
|
| 109 |
-
frame += animation_crop.x;
|
| 110 |
-
if(frame < animation_crop.x || frame > animation_crop.y) return normalData;
|
| 111 |
-
break;
|
| 112 |
-
}
|
| 113 |
-
}
|
| 114 |
-
|
| 115 |
-
if (tex::width(texture) == 0 || tex::height(texture) == 0 || // avoid division by zero in texremapu for invalid resource
|
| 116 |
-
factor == 0.0f)
|
| 117 |
-
return normalData;
|
| 118 |
-
{
|
| 119 |
-
if (clip) {
|
| 120 |
-
if (wrap_u == tex::wrap_clamp && (uvw.position.x < 0. || uvw.position.x > 1.)) {
|
| 121 |
-
return normalData;
|
| 122 |
-
}
|
| 123 |
-
if (wrap_v == tex::wrap_clamp && (uvw.position.y < 0. || uvw.position.y > 1.)) {
|
| 124 |
-
return normalData;
|
| 125 |
-
}
|
| 126 |
-
}
|
| 127 |
-
if (wrap_u == tex::wrap_clip && (uvw.position.x < 0. || uvw.position.x > 1.)) {
|
| 128 |
-
return normalData;
|
| 129 |
-
}
|
| 130 |
-
if (wrap_v == tex::wrap_clip && (uvw.position.y < 0. || uvw.position.y > 1.)) {
|
| 131 |
-
return normalData;
|
| 132 |
-
}
|
| 133 |
-
}
|
| 134 |
-
bool pixel_flip_u = flip_tangent_u;
|
| 135 |
-
bool pixel_flip_v = flip_tangent_v;
|
| 136 |
-
//if we mirror repeat a tangent space texture, tangent space needs to be flipped for every other tile
|
| 137 |
-
if (wrap_u == tex::wrap_mirrored_repeat) {
|
| 138 |
-
if( uvw.position.x > 0. && int(uvw.position.x) % 2 == 1)
|
| 139 |
-
pixel_flip_u = ! pixel_flip_u;
|
| 140 |
-
else if( uvw.position.x < 0. && int(uvw.position.x) % 2 == 0)
|
| 141 |
-
pixel_flip_u = ! pixel_flip_u;
|
| 142 |
-
}
|
| 143 |
-
if (wrap_v == tex::wrap_mirrored_repeat) {
|
| 144 |
-
if( uvw.position.y > 0. && int(uvw.position.y) % 2 == 1)
|
| 145 |
-
pixel_flip_v = ! pixel_flip_v;
|
| 146 |
-
else if( uvw.position.y < 0. && int(uvw.position.y) % 2 == 0)
|
| 147 |
-
pixel_flip_v = ! pixel_flip_v;
|
| 148 |
-
}
|
| 149 |
-
|
| 150 |
-
float3 transformed_tangent_u = uvw.tangent_u;
|
| 151 |
-
float3 transformed_tangent_v = uvw.tangent_v;
|
| 152 |
-
|
| 153 |
-
if (pixel_flip_u)
|
| 154 |
-
transformed_tangent_u=-transformed_tangent_u;
|
| 155 |
-
if (pixel_flip_v)
|
| 156 |
-
transformed_tangent_v=-transformed_tangent_v;
|
| 157 |
-
|
| 158 |
-
float3 tangent_space_normal;
|
| 159 |
-
float4 normal_raw = tex::lookup_float4(texture,float2(uvw.position.x,uvw.position.y), wrap_u, wrap_v, crop_u, crop_v, frame);
|
| 160 |
-
if(normal_raw.x > 1.5)
|
| 161 |
-
{
|
| 162 |
-
// octahedron packed by OV
|
| 163 |
-
normal_raw.x -= 2.0;
|
| 164 |
-
normal_raw.x -= 0.5;
|
| 165 |
-
normal_raw.y -= 0.5;
|
| 166 |
-
tangent_space_normal = HemiOctahedronToUnitVector(float2(normal_raw.x, normal_raw.y) * 2.0);
|
| 167 |
-
normalData.roughness = float2(normal_raw.z, normal_raw.w);
|
| 168 |
-
}
|
| 169 |
-
else
|
| 170 |
-
{
|
| 171 |
-
// regular
|
| 172 |
-
tangent_space_normal = (float3(normal_raw.x, normal_raw.y, normal_raw.z) - float3(0.5)) * 2.0;
|
| 173 |
-
normalData.roughness = float2(0);
|
| 174 |
-
}
|
| 175 |
-
|
| 176 |
-
normalData.normal = math::normalize(
|
| 177 |
-
transformed_tangent_u * tangent_space_normal.x * factor +
|
| 178 |
-
transformed_tangent_v * tangent_space_normal.y * factor +
|
| 179 |
-
state::normal() * tangent_space_normal.z);
|
| 180 |
-
|
| 181 |
-
return normalData;
|
| 182 |
-
}
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
export material OmniPBRBase(
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
// Albdeo //
|
| 189 |
-
|
| 190 |
-
color diffuse_reflection_color = color(0.2) [[
|
| 191 |
-
anno::display_name("Albedo Color"),
|
| 192 |
-
anno::description("This is the albedo base color"),
|
| 193 |
-
anno::in_group("Albedo")
|
| 194 |
-
]],
|
| 195 |
-
color diffuse_tint = color(1.0) [[
|
| 196 |
-
anno::display_name("Albedo Tint"),
|
| 197 |
-
anno::description("When enabled, this color value is multiplied over the final albedo color"),
|
| 198 |
-
anno::in_group("Albedo")
|
| 199 |
-
]],
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
// Reflecitivity //
|
| 203 |
-
|
| 204 |
-
float specular_reflection_roughness = float(0.0) [[
|
| 205 |
-
anno::display_name("Roughness"),
|
| 206 |
-
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 207 |
-
anno::in_group("Reflectivity"),
|
| 208 |
-
anno::hard_range(0.0, 1.0)
|
| 209 |
-
]],
|
| 210 |
-
float2 specular_reflection_aniso_roughness = float2(0.0, 0.0) [[
|
| 211 |
-
anno::display_name("Aniso roughness"),
|
| 212 |
-
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 213 |
-
anno::in_group("Reflectivity"),
|
| 214 |
-
anno::hidden()
|
| 215 |
-
]],
|
| 216 |
-
float metalness = float(0.0) [[
|
| 217 |
-
anno::display_name("Metalness"),
|
| 218 |
-
anno::description("Bias towards pure specular reflection"),
|
| 219 |
-
anno::in_group("Reflectivity"),
|
| 220 |
-
anno::hard_range(0.0, 1.0)
|
| 221 |
-
]],
|
| 222 |
-
float specular_level = float(0.5) [[
|
| 223 |
-
anno::display_name("Specular"),
|
| 224 |
-
anno::description("The specular level (intensity) of the material"),
|
| 225 |
-
anno::in_group("Reflectivity"),
|
| 226 |
-
anno::soft_range(0.0, 1.0)
|
| 227 |
-
]],
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
// Emission //
|
| 231 |
-
|
| 232 |
-
uniform bool enable_emission = false [[
|
| 233 |
-
anno::display_name("Enable Emission"),
|
| 234 |
-
anno::description("Enables the emission of light from the material"),
|
| 235 |
-
anno::in_group("Emissive")
|
| 236 |
-
]],
|
| 237 |
-
color emission_color = color(1.0,0.1,0.1) [[
|
| 238 |
-
anno::display_name("Emissive Color"),
|
| 239 |
-
anno::description("The emission color"),
|
| 240 |
-
anno::in_group("Emissive"),
|
| 241 |
-
anno::enable_if("enable_emission == true")
|
| 242 |
-
]],
|
| 243 |
-
float emission_intensity = float(40.0) [[
|
| 244 |
-
anno::display_name("Emissive Intensity"),
|
| 245 |
-
anno::description("Intensity of the emission"),
|
| 246 |
-
anno::in_group("Emissive"),
|
| 247 |
-
anno::soft_range(0.0, 1000.0),
|
| 248 |
-
anno::enable_if("enable_emission == true")
|
| 249 |
-
]],
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
// Geometry Opacity //
|
| 253 |
-
|
| 254 |
-
uniform bool enable_opacity = false [[
|
| 255 |
-
anno::display_name("Enable Opacity"),
|
| 256 |
-
anno::description("Enables the use of cutout opacity"),
|
| 257 |
-
anno::in_group("Opacity")
|
| 258 |
-
]],
|
| 259 |
-
float geometry_opacity = float(1.0) [[
|
| 260 |
-
anno::display_name("Opacity Amount"),
|
| 261 |
-
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 262 |
-
anno::in_group("Opacity"),
|
| 263 |
-
anno::hard_range(0.0, 1.0)
|
| 264 |
-
]],
|
| 265 |
-
uniform float geometry_opacity_threshold = 0.f
|
| 266 |
-
[[
|
| 267 |
-
anno::display_name("Opacity Threshold"),
|
| 268 |
-
anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 269 |
-
anno::in_group("Opacity"),
|
| 270 |
-
anno::hard_range(0.0, 1.0)
|
| 271 |
-
]],
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
// Clearcoat //
|
| 275 |
-
|
| 276 |
-
uniform bool enable_coat = false [[
|
| 277 |
-
anno::display_name("Enable Clearcoat Layer"),
|
| 278 |
-
anno::description("Adds a coat layer on top of the material when enabled"),
|
| 279 |
-
anno::in_group("Clearcoat")
|
| 280 |
-
]],
|
| 281 |
-
float coat_weight = float(1.0) [[
|
| 282 |
-
anno::display_name("Clearcoat Weight"),
|
| 283 |
-
anno::description("Sets the weight for coat layer"),
|
| 284 |
-
anno::in_group("Clearcoat"),
|
| 285 |
-
anno::hard_range(0.0, 1.0)
|
| 286 |
-
]],
|
| 287 |
-
color coat_color = color(1.0) [[
|
| 288 |
-
anno::display_name("Clearcoat Tint"),
|
| 289 |
-
anno::description("Clearcoat is tinted and affects the underlying material"),
|
| 290 |
-
anno::in_group("Clearcoat")
|
| 291 |
-
]],
|
| 292 |
-
float coat_transparency = float(1.0) [[
|
| 293 |
-
anno::display_name("Clearcoat Transparency"),
|
| 294 |
-
anno::description("Adjusts the transparency of the coat. Can be turned into a fully opaque coat covering the underlying layer"),
|
| 295 |
-
anno::in_group("Clearcoat"),
|
| 296 |
-
anno::hard_range(0.0, 1.0)
|
| 297 |
-
]],
|
| 298 |
-
float coat_roughness = float(0.0) [[
|
| 299 |
-
anno::display_name("Clearcoat Roughness"),
|
| 300 |
-
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 301 |
-
anno::in_group("Clearcoat"),
|
| 302 |
-
anno::hard_range(0.0, 1.0)
|
| 303 |
-
]],
|
| 304 |
-
float2 coat_aniso_roughness = float2(0.0, 0.0) [[
|
| 305 |
-
anno::display_name("Clearcoat aniso roughness"),
|
| 306 |
-
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 307 |
-
anno::in_group("Clearcoat"),
|
| 308 |
-
anno::hidden()
|
| 309 |
-
]],
|
| 310 |
-
float coat_ior = float(1.56) [[
|
| 311 |
-
anno::display_name("Clearcoat IOR"),
|
| 312 |
-
anno::description("Sets the Index of refraction for the coat layer"),
|
| 313 |
-
anno::in_group("Clearcoat"),
|
| 314 |
-
anno::soft_range(0.0, 4.0)
|
| 315 |
-
]],
|
| 316 |
-
float3 clearcoat_geometry_normal = state::normal() [[
|
| 317 |
-
anno::display_name("Clearcoat Normal"),
|
| 318 |
-
anno::in_group("Clearcoat"),
|
| 319 |
-
anno::usage("normal")
|
| 320 |
-
]],
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
// Geometry //
|
| 324 |
-
|
| 325 |
-
uniform float round_edges_radius = float(0.0) [[
|
| 326 |
-
anno::display_name("Round Edge Radius"),
|
| 327 |
-
anno::description("Influence radius around the edges in meters"),
|
| 328 |
-
anno::in_group("Geometry"),
|
| 329 |
-
anno::soft_range(0.0, 1.0)
|
| 330 |
-
]],
|
| 331 |
-
uniform float round_edges_roundness = float(1.0) [[
|
| 332 |
-
anno::display_name("Round Edge Roundness"),
|
| 333 |
-
anno::description("Determines how round the edge will look"),
|
| 334 |
-
anno::in_group("Geometry"),
|
| 335 |
-
anno::hard_range(0.0, 1.0)
|
| 336 |
-
]],
|
| 337 |
-
uniform bool round_edges_across_materials = false [[
|
| 338 |
-
anno::display_name("Round Edge Across Materials"),
|
| 339 |
-
anno::description("Normal smoothing happens only between facets of equal material, \n"
|
| 340 |
-
"\t\tunless this parameter is set true, in which case the smoothing \n"
|
| 341 |
-
"\t\thappens between facets irrespective of their materials"),
|
| 342 |
-
anno::in_group("Geometry")
|
| 343 |
-
]],
|
| 344 |
-
float3 geometry_normal = state::normal() [[
|
| 345 |
-
anno::display_name("Geometry Normal"),
|
| 346 |
-
anno::in_group("Geometry"),
|
| 347 |
-
anno::usage("normal")
|
| 348 |
-
]]
|
| 349 |
-
|
| 350 |
-
)
|
| 351 |
-
[[
|
| 352 |
-
anno::display_name("OmniPBR Base"),
|
| 353 |
-
anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
|
| 354 |
-
anno::in_group("Omni Materials"),
|
| 355 |
-
anno::version( 2, 1, 1),
|
| 356 |
-
anno::author("NVIDIA CORPORATION"),
|
| 357 |
-
anno::key_words(string[]("omni", "PBR", "opacity", "omniverse", "generic"))
|
| 358 |
-
]]
|
| 359 |
-
= let{
|
| 360 |
-
|
| 361 |
-
// Diffuse Bsdf //
|
| 362 |
-
|
| 363 |
-
color tinted_diffuse_color = diffuse_reflection_color * diffuse_tint;
|
| 364 |
-
|
| 365 |
-
color base_color = tinted_diffuse_color;
|
| 366 |
-
|
| 367 |
-
bsdf diffuse_bsdf = df::weighted_layer(
|
| 368 |
-
weight: 1.0,
|
| 369 |
-
layer: df::diffuse_reflection_bsdf(
|
| 370 |
-
tint: base_color,
|
| 371 |
-
roughness: float(0.0)
|
| 372 |
-
),
|
| 373 |
-
base: bsdf(),
|
| 374 |
-
normal: geometry_normal
|
| 375 |
-
);
|
| 376 |
-
|
| 377 |
-
// Glossy Reflection Bsdf //
|
| 378 |
-
|
| 379 |
-
float roughness_u = math::clamp(specular_reflection_roughness * specular_reflection_roughness
|
| 380 |
-
+ specular_reflection_aniso_roughness.x * specular_reflection_aniso_roughness.x, 0, 1);
|
| 381 |
-
float roughness_v = math::clamp(specular_reflection_roughness * specular_reflection_roughness
|
| 382 |
-
+ specular_reflection_aniso_roughness.y * specular_reflection_aniso_roughness.y, 0, 1);
|
| 383 |
-
bsdf ggx_smith_bsdf = df::microfacet_ggx_smith_bsdf(
|
| 384 |
-
roughness_u: roughness_u,
|
| 385 |
-
roughness_v: roughness_v,
|
| 386 |
-
tint: color(1.0),
|
| 387 |
-
mode: df::scatter_reflect
|
| 388 |
-
);
|
| 389 |
-
|
| 390 |
-
bsdf custom_curve_layer_bsdf = df::custom_curve_layer(
|
| 391 |
-
normal_reflectivity: 0.08,
|
| 392 |
-
grazing_reflectivity: 1.0,
|
| 393 |
-
exponent: 5.0,
|
| 394 |
-
weight: specular_level,
|
| 395 |
-
layer: ggx_smith_bsdf,
|
| 396 |
-
base: diffuse_bsdf,
|
| 397 |
-
normal: geometry_normal
|
| 398 |
-
);
|
| 399 |
-
|
| 400 |
-
bsdf directional_factor_bsdf = df::tint(base_color, ggx_smith_bsdf);
|
| 401 |
-
|
| 402 |
-
bsdf omni_PBR_bsdf = df::weighted_layer(
|
| 403 |
-
weight: metalness,
|
| 404 |
-
layer: directional_factor_bsdf,
|
| 405 |
-
base: custom_curve_layer_bsdf,
|
| 406 |
-
normal: geometry_normal
|
| 407 |
-
);
|
| 408 |
-
|
| 409 |
-
// Clear Coat //
|
| 410 |
-
|
| 411 |
-
float coat_roughness_u = math::clamp(coat_roughness * coat_roughness
|
| 412 |
-
+ coat_aniso_roughness.x * coat_aniso_roughness.x, 0, 1);
|
| 413 |
-
float coat_roughness_v = math::clamp(coat_roughness * coat_roughness
|
| 414 |
-
+ coat_aniso_roughness.y * coat_aniso_roughness.y, 0, 1);
|
| 415 |
-
bsdf coat_bsdf = df::microfacet_ggx_smith_bsdf(
|
| 416 |
-
roughness_u: coat_roughness_u,
|
| 417 |
-
roughness_v: coat_roughness_v,
|
| 418 |
-
tint: color(1.0),
|
| 419 |
-
mode: df::scatter_reflect
|
| 420 |
-
);
|
| 421 |
-
|
| 422 |
-
bsdf opaque_coat = df::weighted_layer(
|
| 423 |
-
weight: coat_transparency,
|
| 424 |
-
layer: ::df::tint(
|
| 425 |
-
tint: coat_color,
|
| 426 |
-
base: omni_PBR_bsdf
|
| 427 |
-
),
|
| 428 |
-
base: ::df::diffuse_reflection_bsdf(
|
| 429 |
-
tint: coat_color
|
| 430 |
-
)
|
| 431 |
-
);
|
| 432 |
-
|
| 433 |
-
bsdf omni_PBR_coated_bsdf = df::fresnel_layer(
|
| 434 |
-
ior: coat_ior,
|
| 435 |
-
weight: coat_weight,
|
| 436 |
-
layer: coat_bsdf,
|
| 437 |
-
base: opaque_coat,
|
| 438 |
-
normal: clearcoat_geometry_normal
|
| 439 |
-
);
|
| 440 |
-
|
| 441 |
-
bsdf final_bsdf = enable_coat ? omni_PBR_coated_bsdf : omni_PBR_bsdf;
|
| 442 |
-
|
| 443 |
-
color emission_value = enable_emission ? emission_color * color(emission_intensity) : color(0.0);
|
| 444 |
-
|
| 445 |
-
float opacity_value = geometry_opacity;
|
| 446 |
-
float cutout_opacity = enable_opacity ? ((geometry_opacity_threshold == 0.0) ? opacity_value : ((opacity_value >= geometry_opacity_threshold) ? 1.0 : 0)) : 1.0;
|
| 447 |
-
|
| 448 |
-
material_emission emission = material_emission(
|
| 449 |
-
df::diffuse_edf(),
|
| 450 |
-
intensity: emission_value
|
| 451 |
-
);
|
| 452 |
-
|
| 453 |
-
material_surface surface = material_surface(
|
| 454 |
-
scattering: final_bsdf,
|
| 455 |
-
emission: emission
|
| 456 |
-
);
|
| 457 |
-
|
| 458 |
-
material_geometry geometry = material_geometry(
|
| 459 |
-
normal: state::rounded_corner_normal(
|
| 460 |
-
radius: round_edges_radius,
|
| 461 |
-
across_materials: round_edges_across_materials,
|
| 462 |
-
roundness: round_edges_roundness
|
| 463 |
-
),
|
| 464 |
-
cutout_opacity: cutout_opacity
|
| 465 |
-
);
|
| 466 |
-
|
| 467 |
-
} in material(
|
| 468 |
-
surface: surface,
|
| 469 |
-
geometry: geometry
|
| 470 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/materials/mdl/OmniPBR_ClearCoat.mdl
DELETED
|
@@ -1,711 +0,0 @@
|
|
| 1 |
-
/*
|
| 2 |
-
* SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 3 |
-
* SPDX-License-Identifier: BSD-3-Clause
|
| 4 |
-
*/
|
| 5 |
-
|
| 6 |
-
mdl 1.7;
|
| 7 |
-
|
| 8 |
-
import ::df::*;
|
| 9 |
-
import ::state::*;
|
| 10 |
-
import ::math::*;
|
| 11 |
-
import ::base::*;
|
| 12 |
-
import ::state::*;
|
| 13 |
-
import ::tex::*;
|
| 14 |
-
import ::anno::*;
|
| 15 |
-
|
| 16 |
-
import ::debug::*;
|
| 17 |
-
|
| 18 |
-
import core_definitions::file_texture;
|
| 19 |
-
import core_definitions::normalmap_texture;
|
| 20 |
-
|
| 21 |
-
import OmniPBRBase::*;
|
| 22 |
-
|
| 23 |
-
// Functions //
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
// Returns a matrix from R,T,S. inputs //
|
| 27 |
-
|
| 28 |
-
uniform float4x4 rotation_translation_scale(
|
| 29 |
-
uniform float3 rotation = float3(0.)
|
| 30 |
-
[[ anno::description("Rotation applied to every UVW coordinate") ]],
|
| 31 |
-
uniform float3 translation = float3(0.)
|
| 32 |
-
[[ anno::description("Offset applied to every UVW coordinate") ]],
|
| 33 |
-
uniform float3 scaling = float3(1.)
|
| 34 |
-
[[ anno::description("Scale applied to every UVW coordinate") ]]
|
| 35 |
-
)
|
| 36 |
-
[[
|
| 37 |
-
anno::description("Construct a transformation matrix from euler rotation, translation and scale"),
|
| 38 |
-
anno::hidden()
|
| 39 |
-
]]
|
| 40 |
-
{
|
| 41 |
-
float4x4 scale =
|
| 42 |
-
float4x4(scaling.x , 0.0 , 0.0 , 0.0,
|
| 43 |
-
0.0 , scaling.y , 0.0 , 0.0,
|
| 44 |
-
0.0 , 0.0 , scaling.z , 0.0,
|
| 45 |
-
translation.x , translation.y , translation.z , 1.0);
|
| 46 |
-
|
| 47 |
-
float3 s = math::sin(rotation);
|
| 48 |
-
float3 c = math::cos(rotation);
|
| 49 |
-
|
| 50 |
-
float4x4 rotate =
|
| 51 |
-
float4x4( c.y*c.z , -c.x*s.z + s.x*s.y*c.z , s.x*s.z + c.x*s.y*c.z , 0.0,
|
| 52 |
-
c.y*s.z , c.x*c.z + s.x*s.y*s.z , -s.x*c.z + c.x*s.y*s.z , 0.0,
|
| 53 |
-
-s.y , s.x*c.y , c.x*c.y , 0.0,
|
| 54 |
-
0.0 , 0.0 , 0 , 1.0);
|
| 55 |
-
|
| 56 |
-
return scale * rotate;
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
-
// Returns the normal n in tangent space, given n is in internal space. //
|
| 60 |
-
|
| 61 |
-
float3 transform_internal_to_tangent(float3 n)
|
| 62 |
-
{
|
| 63 |
-
/* flip_tangent_v */
|
| 64 |
-
return
|
| 65 |
-
n.x* float3(state::texture_tangent_u(0).x,-state::texture_tangent_v(0).x,state::normal().x)+
|
| 66 |
-
n.y* float3(state::texture_tangent_u(0).y,-state::texture_tangent_v(0).y,state::normal().y)+
|
| 67 |
-
n.z* float3(state::texture_tangent_u(0).z,-state::texture_tangent_v(0).z,state::normal().z);
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
// Returns the normal n in internal space, given n is in tangent space.
|
| 71 |
-
float3 transform_tangent_to_internal(float3 n)
|
| 72 |
-
{
|
| 73 |
-
return state::texture_tangent_u(0) * n.x -
|
| 74 |
-
state::texture_tangent_v(0) * n.y + /* flip_tangent_v */
|
| 75 |
-
state::normal() * n.z;
|
| 76 |
-
}
|
| 77 |
-
|
| 78 |
-
// Returns a normal by adding a detail normal to a global normal.
|
| 79 |
-
export float3 add_detail_normal(float3 nd = state::normal(), float3 n = state::normal())
|
| 80 |
-
{
|
| 81 |
-
// http://blog.selfshadow.com/publications/blending-in-detail/
|
| 82 |
-
float3 n_t = transform_internal_to_tangent(n);
|
| 83 |
-
float3 nd_t = transform_internal_to_tangent(nd);
|
| 84 |
-
n_t = n_t + float3(0.,0.,1.);
|
| 85 |
-
nd_t = nd_t * float3(-1.,-1.,1.);
|
| 86 |
-
n = n_t * math::dot(n_t, nd_t)/n_t.z - nd_t;
|
| 87 |
-
return math::normalize(transform_tangent_to_internal(n));
|
| 88 |
-
}
|
| 89 |
-
|
| 90 |
-
base::texture_return multiply_colors(
|
| 91 |
-
color color_1 = color(1.0, 1.0, 1.0),
|
| 92 |
-
color color_2 = color(.5, .5, .5),
|
| 93 |
-
float weight = 1.0
|
| 94 |
-
)
|
| 95 |
-
[[
|
| 96 |
-
anno::hidden()
|
| 97 |
-
]]
|
| 98 |
-
{
|
| 99 |
-
return base::blend_color_layers(
|
| 100 |
-
layers: base::color_layer[](
|
| 101 |
-
base::color_layer(
|
| 102 |
-
layer_color: color_2,
|
| 103 |
-
weight: weight,
|
| 104 |
-
mode: base::color_layer_multiply
|
| 105 |
-
)),
|
| 106 |
-
base: color_1
|
| 107 |
-
);
|
| 108 |
-
}
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
// OmniPBR Clearcoat //
|
| 112 |
-
|
| 113 |
-
export material OmniPBR_ClearCoat(
|
| 114 |
-
|
| 115 |
-
// Albdeo //
|
| 116 |
-
|
| 117 |
-
color diffuse_color_constant = color(0.2) [[
|
| 118 |
-
anno::display_name("Albedo Color"),
|
| 119 |
-
anno::description("This is the albedo base color"),
|
| 120 |
-
anno::in_group("Albedo")
|
| 121 |
-
]],
|
| 122 |
-
uniform texture_2d diffuse_texture = texture_2d() [[
|
| 123 |
-
anno::display_name("Albedo Map"),
|
| 124 |
-
anno::in_group("Albedo")
|
| 125 |
-
]],
|
| 126 |
-
float albedo_desaturation = float(0.0) [[
|
| 127 |
-
anno::display_name("Albedo Map Desaturation"),
|
| 128 |
-
anno::description("Desaturates the albedo map"),
|
| 129 |
-
anno::in_group("Albedo"),
|
| 130 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 131 |
-
]],
|
| 132 |
-
float albedo_add = float(0.0) [[
|
| 133 |
-
anno::display_name("Albedo Add"),
|
| 134 |
-
anno::description("Adds a constant value to the diffuse color "),
|
| 135 |
-
anno::in_group("Albedo"),
|
| 136 |
-
anno::soft_range(float(-1.0), float(1.0))
|
| 137 |
-
]],
|
| 138 |
-
float albedo_brightness = float(1.0) [[
|
| 139 |
-
anno::display_name("Albedo Brightness"),
|
| 140 |
-
anno::description("Multiplier for the diffuse color "),
|
| 141 |
-
anno::in_group("Albedo"),
|
| 142 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 143 |
-
]],
|
| 144 |
-
color diffuse_tint = color(1.0) [[
|
| 145 |
-
anno::display_name("Color Tint"),
|
| 146 |
-
anno::description("When enabled, this color value is multiplied over the final albedo color"),
|
| 147 |
-
anno::in_group("Albedo")
|
| 148 |
-
]],
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
// Reflectivity //
|
| 152 |
-
|
| 153 |
-
float reflection_roughness_constant = float(0.5) [[
|
| 154 |
-
anno::display_name("Roughness Amount"),
|
| 155 |
-
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 156 |
-
anno::in_group("Reflectivity"),
|
| 157 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 158 |
-
]],
|
| 159 |
-
float reflection_roughness_texture_influence = float(0.0) [[
|
| 160 |
-
anno::display_name("Roughness Map Influence"),
|
| 161 |
-
anno::description("Blends between the constant value and the lookup of the roughness texture"),
|
| 162 |
-
anno::in_group("Reflectivity"),
|
| 163 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 164 |
-
]],
|
| 165 |
-
uniform texture_2d reflectionroughness_texture = texture_2d() [[
|
| 166 |
-
anno::display_name("Roughness Map"),
|
| 167 |
-
anno::in_group("Reflectivity"),
|
| 168 |
-
anno::usage("roughness")
|
| 169 |
-
]],
|
| 170 |
-
float metallic_constant = float(0.0) [[
|
| 171 |
-
anno::display_name("Metallic Amount"),
|
| 172 |
-
anno::description("Metallic Material"),
|
| 173 |
-
anno::in_group("Reflectivity"),
|
| 174 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 175 |
-
]],
|
| 176 |
-
float metallic_texture_influence = float(0.0) [[
|
| 177 |
-
anno::display_name("Metallic Map Influence"),
|
| 178 |
-
anno::description("Blends between the constant value and the lookup of the metallic texture"),
|
| 179 |
-
anno::in_group("Reflectivity"),
|
| 180 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 181 |
-
]],
|
| 182 |
-
uniform texture_2d metallic_texture = texture_2d() [[
|
| 183 |
-
anno::display_name("Metallic Map"),
|
| 184 |
-
anno::in_group("Reflectivity"),
|
| 185 |
-
anno::usage("metalness")
|
| 186 |
-
]],
|
| 187 |
-
float specular_level = float(0.5) [[
|
| 188 |
-
anno::display_name("Specular"),
|
| 189 |
-
anno::description("The specular level (intensity) of the material"),
|
| 190 |
-
anno::in_group("Reflectivity"),
|
| 191 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 192 |
-
]],
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
// ORM //
|
| 196 |
-
|
| 197 |
-
uniform bool enable_ORM_texture = false [[
|
| 198 |
-
anno::display_name("Enable ORM Texture"),
|
| 199 |
-
anno::description("The ORM texture will be used to extract the Occlusion, Roughness and Metallic textures from R,G,B channels"),
|
| 200 |
-
anno::in_group("Reflectivity")
|
| 201 |
-
]],
|
| 202 |
-
uniform texture_2d ORM_texture = texture_2d() [[
|
| 203 |
-
anno::display_name("ORM Map"),
|
| 204 |
-
anno::description("Texture that has Occlusion, Roughness and Metallic maps stored in their respective R, G and B channels"),
|
| 205 |
-
anno::in_group("Reflectivity"),
|
| 206 |
-
anno::usage("roughness")
|
| 207 |
-
]],
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
// AO Group //
|
| 211 |
-
|
| 212 |
-
float ao_to_diffuse = 0.0 [[
|
| 213 |
-
anno::display_name("AO to diffuse"),
|
| 214 |
-
anno::description("Controls the amount of ambient occlusion multiplied against the diffuse color channel"),
|
| 215 |
-
anno::in_group("AO"),
|
| 216 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 217 |
-
]],
|
| 218 |
-
uniform texture_2d ao_texture = texture_2d() [[
|
| 219 |
-
anno::display_name("Ambient Occlusion Map"),
|
| 220 |
-
anno::description("The ambient occlusion texture for the material"),
|
| 221 |
-
anno::in_group("AO"),
|
| 222 |
-
anno::usage("occlusion")
|
| 223 |
-
]],
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
// Emission //
|
| 227 |
-
|
| 228 |
-
uniform bool enable_emission = false [[
|
| 229 |
-
anno::display_name("Enable Emission"),
|
| 230 |
-
anno::description("Enables the emission of light from the material"),
|
| 231 |
-
anno::in_group("Emissive")
|
| 232 |
-
]],
|
| 233 |
-
color emissive_color = color(1.0,0.1,0.1) [[
|
| 234 |
-
anno::display_name("Emissive Color"),
|
| 235 |
-
anno::description("The emission color"),
|
| 236 |
-
anno::in_group("Emissive"),
|
| 237 |
-
anno::enable_if("enable_emission == true")
|
| 238 |
-
]],
|
| 239 |
-
uniform texture_2d emissive_color_texture = texture_2d() [[
|
| 240 |
-
anno::display_name("Emissive Color map"),
|
| 241 |
-
anno::in_group("Emissive"),
|
| 242 |
-
anno::description("The emissive color texture"),
|
| 243 |
-
anno::enable_if("enable_emission == true")
|
| 244 |
-
]],
|
| 245 |
-
uniform texture_2d emissive_mask_texture = texture_2d() [[
|
| 246 |
-
anno::display_name("Emissive Mask map"),
|
| 247 |
-
anno::description("The texture masking the emissive color"),
|
| 248 |
-
anno::in_group("Emissive"),
|
| 249 |
-
anno::enable_if("enable_emission == true"),
|
| 250 |
-
anno::usage("occlusion")
|
| 251 |
-
]],
|
| 252 |
-
float emissive_intensity = float(40.0) [[
|
| 253 |
-
anno::display_name("Emissive Intensity"),
|
| 254 |
-
anno::description("Intensity of the emission"),
|
| 255 |
-
anno::in_group("Emissive"),
|
| 256 |
-
anno::enable_if("enable_emission == true")
|
| 257 |
-
]],
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
// Cutout Opacity //
|
| 261 |
-
|
| 262 |
-
uniform bool enable_opacity = false [[
|
| 263 |
-
anno::display_name("Enable Opacity"),
|
| 264 |
-
anno::description("Enables the use of cutout opacity"),
|
| 265 |
-
anno::in_group("Opacity")
|
| 266 |
-
]],
|
| 267 |
-
uniform texture_2d opacity_texture = texture_2d() [[
|
| 268 |
-
anno::display_name("Opacity Map"),
|
| 269 |
-
anno::in_group("Opacity"),
|
| 270 |
-
anno::usage("opacity")
|
| 271 |
-
]],
|
| 272 |
-
float opacity_constant = float(1.0) [[
|
| 273 |
-
anno::display_name("Opacity Amount"),
|
| 274 |
-
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 275 |
-
anno::in_group("Opacity"),
|
| 276 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 277 |
-
]],
|
| 278 |
-
uniform bool enable_opacity_texture = false [[
|
| 279 |
-
anno::display_name("Enable Opacity Texture"),
|
| 280 |
-
anno::description("Enables or disables the usage of the opacity texture map"),
|
| 281 |
-
anno::in_group("Opacity")
|
| 282 |
-
]],
|
| 283 |
-
uniform base::mono_mode opacity_mode = base::mono_average [[
|
| 284 |
-
anno::display_name("Opacity Mono Source"),
|
| 285 |
-
anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
|
| 286 |
-
anno::in_group("Opacity")
|
| 287 |
-
]],
|
| 288 |
-
uniform float opacity_threshold = float(0.0) [[
|
| 289 |
-
anno::display_name("Opacity Threshold"),
|
| 290 |
-
anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 291 |
-
anno::in_group("Opacity"),
|
| 292 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 293 |
-
]],
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
// Clearcoat //
|
| 297 |
-
|
| 298 |
-
uniform bool enable_clearcoat = false [[
|
| 299 |
-
anno::display_name("Enable Clearcoat Layer"),
|
| 300 |
-
anno::description("Adds a clearcoat layer on top of the material when enabled"),
|
| 301 |
-
anno::in_group("Clearcoat")
|
| 302 |
-
]],
|
| 303 |
-
float clearcoat_weight = float(1.0) [[
|
| 304 |
-
anno::display_name("Clearcoat Weight"),
|
| 305 |
-
anno::description("Sets the weight for clearcoat layer"),
|
| 306 |
-
anno::in_group("Clearcoat"),
|
| 307 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 308 |
-
]],
|
| 309 |
-
color clearcoat_tint = color(1.0) [[
|
| 310 |
-
anno::display_name("Clearcoat Tint"),
|
| 311 |
-
anno::description("Clearcoat is tinted and affects the underlying material"),
|
| 312 |
-
anno::in_group("Clearcoat")
|
| 313 |
-
]],
|
| 314 |
-
float clearcoat_transparency = float(1.0) [[
|
| 315 |
-
anno::display_name("Clearcoat Transparency"),
|
| 316 |
-
anno::description("Adjusts the transparency of the clearcoat. Can be turned into a fully opaque clearcoat covering the underlying layer"),
|
| 317 |
-
anno::in_group("Clearcoat"),
|
| 318 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 319 |
-
]],
|
| 320 |
-
float clearcoat_reflection_roughness = float(0.0) [[
|
| 321 |
-
anno::display_name("Clearcoat Roughness"),
|
| 322 |
-
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 323 |
-
anno::in_group("Clearcoat"),
|
| 324 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 325 |
-
]],
|
| 326 |
-
float clearcoat_ior = float(1.56) [[
|
| 327 |
-
anno::display_name("Clearcoat IOR"),
|
| 328 |
-
anno::description("Sets the Index of refraction for the clearcoat layer"),
|
| 329 |
-
anno::in_group("Clearcoat"),
|
| 330 |
-
anno::soft_range(float(0.0), float(4.0))
|
| 331 |
-
]],
|
| 332 |
-
uniform float clearcoat_bump_factor = float(1.0) [[
|
| 333 |
-
anno::display_name("Clearcoat Normal Map Strength"),
|
| 334 |
-
anno::description("Strength of normal map."),
|
| 335 |
-
anno::in_group("Clearcoat"),
|
| 336 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 337 |
-
]],
|
| 338 |
-
uniform texture_2d clearcoat_normalmap_texture = texture_2d() [[
|
| 339 |
-
anno::display_name("Clearcoat Normal Map"),
|
| 340 |
-
anno::description("Enables the usage of the normalmap texture"),
|
| 341 |
-
anno::in_group("Clearcoat"),
|
| 342 |
-
anno::usage("normal")
|
| 343 |
-
]],
|
| 344 |
-
uniform float2 clearcoat_texture_translate = float2(0.0) [[
|
| 345 |
-
anno::display_name("Clearcoat Texture Translate"),
|
| 346 |
-
anno::description("Controls the position of the clearcoat texture"),
|
| 347 |
-
anno::ui_order(1),
|
| 348 |
-
anno::in_group("UV")
|
| 349 |
-
]],
|
| 350 |
-
uniform float clearcoat_texture_rotate = float(0.0) [[
|
| 351 |
-
anno::display_name("Clearcoat Texture Rotate"),
|
| 352 |
-
anno::description("Rotates angle of the clearcoat texture in degrees"),
|
| 353 |
-
anno::ui_order(2),
|
| 354 |
-
anno::in_group("UV")
|
| 355 |
-
]],
|
| 356 |
-
uniform float2 clearcoat_texture_scale = float2(1.0) [[
|
| 357 |
-
anno::display_name("Clearcoat Texture Tiling"),
|
| 358 |
-
anno::description("Controls the repetition of the clearcoat texture"),
|
| 359 |
-
anno::ui_order(3),
|
| 360 |
-
anno::in_group("UV")
|
| 361 |
-
]],
|
| 362 |
-
float clearcoat_flatten = float(1.0) [[
|
| 363 |
-
anno::display_name("Clearcoat Flatten"),
|
| 364 |
-
anno::description("Flattens the clearcoat to even out the underlying bump maps"),
|
| 365 |
-
anno::in_group("Clearcoat"),
|
| 366 |
-
anno::hard_range(float(0.0), float(1.0))
|
| 367 |
-
]],
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
// Normal //
|
| 371 |
-
|
| 372 |
-
uniform float geometry_normal_roughness_strength = 1.f
|
| 373 |
-
[[
|
| 374 |
-
anno::hard_range(0.0, 1.0),
|
| 375 |
-
anno::display_name("Normal map to roughness weight"),
|
| 376 |
-
anno::description("Enables and weights roughness induced by normal maps"),
|
| 377 |
-
anno::in_group("Normal")
|
| 378 |
-
]],
|
| 379 |
-
uniform float bump_factor = float(1.0) [[
|
| 380 |
-
anno::display_name("Normal Strength"),
|
| 381 |
-
anno::description("Strength of normal map"),
|
| 382 |
-
anno::in_group("Normal"),
|
| 383 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 384 |
-
]],
|
| 385 |
-
uniform texture_2d normalmap_texture = texture_2d() [[
|
| 386 |
-
anno::display_name("Normal Map"),
|
| 387 |
-
anno::in_group("Normal"),
|
| 388 |
-
anno::usage("normal")
|
| 389 |
-
]],
|
| 390 |
-
uniform float detail_bump_factor = float(0.3) [[
|
| 391 |
-
anno::display_name("Detail Normal Strength"),
|
| 392 |
-
anno::in_group("Normal"),
|
| 393 |
-
anno::description("Strength of the detail normal"),
|
| 394 |
-
anno::soft_range(float(0.0), float(1.0))
|
| 395 |
-
]],
|
| 396 |
-
uniform texture_2d detail_normalmap_texture = texture_2d() [[
|
| 397 |
-
anno::display_name("Detail Normal Map"),
|
| 398 |
-
anno::in_group("Normal"),
|
| 399 |
-
anno::usage("normal")
|
| 400 |
-
]],
|
| 401 |
-
uniform bool flip_tangent_u = false [[
|
| 402 |
-
anno::display_name("Normal Map Flip U Tangent"),
|
| 403 |
-
anno::in_group("Normal")
|
| 404 |
-
]],
|
| 405 |
-
uniform bool flip_tangent_v = true [[
|
| 406 |
-
anno::display_name("Normal Map Flip V Tangent"),
|
| 407 |
-
anno::in_group("Normal")
|
| 408 |
-
]],
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
// UVW Projection Group //
|
| 412 |
-
|
| 413 |
-
uniform bool project_uvw = false [[
|
| 414 |
-
anno::display_name("Enable Project UVW Coordinates"),
|
| 415 |
-
anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
|
| 416 |
-
anno::in_group("UV")
|
| 417 |
-
]],
|
| 418 |
-
uniform bool world_or_object = false [[
|
| 419 |
-
anno::display_name("Enable World Space"),
|
| 420 |
-
anno::description("When enabled, uses world space for projection, otherwise object space is used"),
|
| 421 |
-
anno::in_group("UV"),
|
| 422 |
-
anno::enable_if("project_uvw == true")
|
| 423 |
-
]],
|
| 424 |
-
uniform int uv_space_index = 0 [[
|
| 425 |
-
anno::display_name("UV Space Index"),
|
| 426 |
-
anno::description("UV Space Index"),
|
| 427 |
-
anno::in_group("UV"),
|
| 428 |
-
anno::enable_if("project_uvw == true"),
|
| 429 |
-
anno::hard_range(int(0), int(3))
|
| 430 |
-
]],
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
// UVW Adjustments Group //
|
| 434 |
-
|
| 435 |
-
uniform float2 texture_translate = float2(0.0) [[
|
| 436 |
-
anno::display_name("Texture Translate"),
|
| 437 |
-
anno::description("Controls position of texture."),
|
| 438 |
-
anno::in_group("UV"),
|
| 439 |
-
anno::enable_if("project_uvw == true")
|
| 440 |
-
]],
|
| 441 |
-
uniform float texture_rotate = float(0.0) [[
|
| 442 |
-
anno::display_name("Texture Rotate"),
|
| 443 |
-
anno::description("Rotates angle of texture in degrees."),
|
| 444 |
-
anno::in_group("UV"),
|
| 445 |
-
anno::enable_if("project_uvw == true")
|
| 446 |
-
]],
|
| 447 |
-
uniform float2 texture_scale = float2(1.0) [[
|
| 448 |
-
anno::display_name("Texture Tiling"),
|
| 449 |
-
anno::description("Controls repetition of the texture."),
|
| 450 |
-
anno::in_group("UV"),
|
| 451 |
-
anno::enable_if("project_uvw == true")
|
| 452 |
-
]],
|
| 453 |
-
uniform float2 detail_texture_translate = float2(0.0) [[
|
| 454 |
-
anno::display_name("Detail Texture Translate"),
|
| 455 |
-
anno::description("Controls the position of the detail texture."),
|
| 456 |
-
anno::in_group("UV"),
|
| 457 |
-
anno::enable_if("project_uvw == true")
|
| 458 |
-
]],
|
| 459 |
-
uniform float detail_texture_rotate = float(0.0) [[
|
| 460 |
-
anno::display_name("Detail Texture Rotate"),
|
| 461 |
-
anno::description("Rotates angle of the detail texture in degrees."),
|
| 462 |
-
anno::in_group("UV"),
|
| 463 |
-
anno::enable_if("project_uvw == true")
|
| 464 |
-
]],
|
| 465 |
-
uniform float2 detail_texture_scale = float2(1.0) [[
|
| 466 |
-
anno::display_name("Detail Texture Tiling"),
|
| 467 |
-
anno::description("Controls repetition of the detail texture."),
|
| 468 |
-
anno::in_group("UV"),
|
| 469 |
-
anno::enable_if("project_uvw == true")
|
| 470 |
-
]],
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
// Geometry //
|
| 474 |
-
|
| 475 |
-
uniform float round_edges_radius = float(0.0) [[
|
| 476 |
-
anno::display_name("Round Edge Radius"),
|
| 477 |
-
anno::description("Influence radius around the edges in meters"),
|
| 478 |
-
anno::in_group("Geometry"),
|
| 479 |
-
anno::soft_range(0.0, 1.0)
|
| 480 |
-
]],
|
| 481 |
-
uniform float round_edges_roundness = float(1.0) [[
|
| 482 |
-
anno::display_name("Round Edge Roundness"),
|
| 483 |
-
anno::description("Determines how round the edge will look"),
|
| 484 |
-
anno::in_group("Geometry"),
|
| 485 |
-
anno::hard_range(0.0, 1.0)
|
| 486 |
-
]],
|
| 487 |
-
uniform bool round_edges_across_materials = false [[
|
| 488 |
-
anno::display_name("Round Edge Across Materials"),
|
| 489 |
-
anno::description("Normal smoothing happens only between facets of equal material, \n"
|
| 490 |
-
"\t\tunless this parameter is set true, in which case the smoothing \n"
|
| 491 |
-
"\t\thappens between facets irrespective of their materials"),
|
| 492 |
-
anno::in_group("Geometry")
|
| 493 |
-
]]
|
| 494 |
-
)
|
| 495 |
-
[[
|
| 496 |
-
anno::display_name("OmniPBR ClearCoat "),
|
| 497 |
-
anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
|
| 498 |
-
anno::in_group("Base"),
|
| 499 |
-
anno::version( 2, 1, 1),
|
| 500 |
-
anno::author("NVIDIA CORPORATION"),
|
| 501 |
-
anno::key_words(string[]("omni", "PBR", "opacity", "clearcoat", "omniverse", "generic"))
|
| 502 |
-
]] = let {
|
| 503 |
-
|
| 504 |
-
// UVW lookup and transformation //
|
| 505 |
-
base::texture_coordinate_system the_system = world_or_object ? base::texture_coordinate_world : base::texture_coordinate_object;
|
| 506 |
-
|
| 507 |
-
base::texture_coordinate_info uvw = project_uvw ? base::coordinate_projection(
|
| 508 |
-
coordinate_system: the_system,
|
| 509 |
-
texture_space: uv_space_index,
|
| 510 |
-
projection_type: base::projection_cubic
|
| 511 |
-
) :
|
| 512 |
-
base::coordinate_source(
|
| 513 |
-
coordinate_system: base::texture_coordinate_uvw,
|
| 514 |
-
texture_space: uv_space_index
|
| 515 |
-
);
|
| 516 |
-
|
| 517 |
-
base::texture_coordinate_info transformed_uvw = base::transform_coordinate(
|
| 518 |
-
transform: rotation_translation_scale(
|
| 519 |
-
scaling: float3(texture_scale.x, texture_scale.y, 1.0),
|
| 520 |
-
rotation: float3(0.0, 0.0, texture_rotate/180.*math::PI ),
|
| 521 |
-
translation: float3(texture_translate.x, texture_translate.y, 0.0)
|
| 522 |
-
),
|
| 523 |
-
coordinate: uvw
|
| 524 |
-
);
|
| 525 |
-
|
| 526 |
-
base::texture_coordinate_info detail_transformed_uvw = base::transform_coordinate(
|
| 527 |
-
transform: rotation_translation_scale(
|
| 528 |
-
scaling: float3(detail_texture_scale.x, detail_texture_scale.y, 1.0),
|
| 529 |
-
rotation: float3(0.0, 0.0, detail_texture_rotate/180.*math::PI ),
|
| 530 |
-
translation: float3(detail_texture_translate.x, detail_texture_translate.y, 0.0)
|
| 531 |
-
),
|
| 532 |
-
coordinate: uvw
|
| 533 |
-
);
|
| 534 |
-
|
| 535 |
-
base::texture_coordinate_info clearcoat_transformed_uvw = base::transform_coordinate(
|
| 536 |
-
transform: rotation_translation_scale(
|
| 537 |
-
scaling: float3(clearcoat_texture_scale.x, clearcoat_texture_scale.y, 1.0),
|
| 538 |
-
rotation: float3(0.0, 0.0, clearcoat_texture_rotate/180.*math::PI ),
|
| 539 |
-
translation: float3(clearcoat_texture_translate.x, clearcoat_texture_translate.y, 0.f)
|
| 540 |
-
),
|
| 541 |
-
coordinate: uvw
|
| 542 |
-
);
|
| 543 |
-
|
| 544 |
-
// Normal calculations //
|
| 545 |
-
OmniPBRBase::NormalData defaultData = OmniPBRBase::NormalData(state::normal(), float2(0));
|
| 546 |
-
|
| 547 |
-
OmniPBRBase::NormalData normal_data = tex::texture_isvalid(normalmap_texture) ?
|
| 548 |
-
OmniPBRBase::tangent_space_normal_roughness_texture(
|
| 549 |
-
texture: normalmap_texture,
|
| 550 |
-
factor: bump_factor,
|
| 551 |
-
uvw: transformed_uvw,
|
| 552 |
-
flip_tangent_u: flip_tangent_u,
|
| 553 |
-
flip_tangent_v: flip_tangent_v // true for dx, false for opengl
|
| 554 |
-
//flip_tangent_v: true
|
| 555 |
-
|
| 556 |
-
) : defaultData;
|
| 557 |
-
float3 the_normal = normal_data.normal;
|
| 558 |
-
|
| 559 |
-
OmniPBRBase::NormalData detail_normal_data = tex::texture_isvalid(detail_normalmap_texture) ?
|
| 560 |
-
OmniPBRBase::tangent_space_normal_roughness_texture(
|
| 561 |
-
texture: detail_normalmap_texture,
|
| 562 |
-
factor: detail_bump_factor,
|
| 563 |
-
uvw: detail_transformed_uvw,
|
| 564 |
-
flip_tangent_u: flip_tangent_u,
|
| 565 |
-
flip_tangent_v: flip_tangent_v // true for dx, false for opengl
|
| 566 |
-
) : defaultData;
|
| 567 |
-
float3 detail_normal = detail_normal_data.normal;
|
| 568 |
-
|
| 569 |
-
OmniPBRBase::NormalData clearcoat_normal_data = tex::texture_isvalid(clearcoat_normalmap_texture) ?
|
| 570 |
-
OmniPBRBase::tangent_space_normal_roughness_texture(
|
| 571 |
-
texture: clearcoat_normalmap_texture,
|
| 572 |
-
factor: clearcoat_bump_factor,
|
| 573 |
-
uvw: clearcoat_transformed_uvw,
|
| 574 |
-
flip_tangent_u: flip_tangent_u,
|
| 575 |
-
flip_tangent_v: flip_tangent_v // true for dx, false for opengl
|
| 576 |
-
) : defaultData;
|
| 577 |
-
float3 clearcoat_normal = clearcoat_normal_data.normal;
|
| 578 |
-
|
| 579 |
-
|
| 580 |
-
float3 diffuse_gloss_normal = tex::texture_isvalid(detail_normalmap_texture) ? add_detail_normal(detail_normal, the_normal) : the_normal;
|
| 581 |
-
float3 flattened_clearcoat_normal = ::math::lerp(diffuse_gloss_normal, ::state::normal(), clearcoat_flatten);
|
| 582 |
-
float3 final_clearcoat_normal = tex::texture_isvalid(clearcoat_normalmap_texture) ? add_detail_normal(flattened_clearcoat_normal, clearcoat_normal)
|
| 583 |
-
: flattened_clearcoat_normal;
|
| 584 |
-
|
| 585 |
-
|
| 586 |
-
// ORM Handling //
|
| 587 |
-
|
| 588 |
-
float3 ORM_lookup = tex::lookup_float3(
|
| 589 |
-
tex: ORM_texture,
|
| 590 |
-
coord: float2(transformed_uvw.position.x, transformed_uvw.position.y)
|
| 591 |
-
);
|
| 592 |
-
|
| 593 |
-
|
| 594 |
-
float3 roughness_lookup = tex::lookup_float3(
|
| 595 |
-
tex: reflectionroughness_texture,
|
| 596 |
-
coord: float2(transformed_uvw.position.x, transformed_uvw.position.y)
|
| 597 |
-
);
|
| 598 |
-
|
| 599 |
-
float roughness_selection = enable_ORM_texture ? ORM_lookup.y : roughness_lookup.x;
|
| 600 |
-
float reflection_roughness_s = math::lerp(reflection_roughness_constant, roughness_selection, reflection_roughness_texture_influence);
|
| 601 |
-
float2 reflection_roughness = float2(math::sqrt(reflection_roughness_s*reflection_roughness_s + (geometry_normal_roughness_strength * normal_data.roughness.x * normal_data.roughness.x)),
|
| 602 |
-
math::sqrt(reflection_roughness_s*reflection_roughness_s + (geometry_normal_roughness_strength * normal_data.roughness.y * normal_data.roughness.y)));
|
| 603 |
-
|
| 604 |
-
float2 clearcoat_reflection_roughness2 = float2(math::sqrt(clearcoat_reflection_roughness*clearcoat_reflection_roughness + (geometry_normal_roughness_strength * clearcoat_normal_data.roughness.x * clearcoat_normal_data.roughness.x)),
|
| 605 |
-
math::sqrt(clearcoat_reflection_roughness*clearcoat_reflection_roughness + (geometry_normal_roughness_strength * clearcoat_normal_data.roughness.y * clearcoat_normal_data.roughness.y)));
|
| 606 |
-
|
| 607 |
-
// Diffuse Color Lookup and AO //
|
| 608 |
-
|
| 609 |
-
base::texture_return base_lookup = base::file_texture(
|
| 610 |
-
texture: diffuse_texture,
|
| 611 |
-
color_offset: color(albedo_add),
|
| 612 |
-
color_scale: color(albedo_brightness),
|
| 613 |
-
mono_source: base::mono_luminance,
|
| 614 |
-
uvw: transformed_uvw,
|
| 615 |
-
clip: false
|
| 616 |
-
);
|
| 617 |
-
|
| 618 |
-
base::texture_return ao_lookup = base::file_texture(
|
| 619 |
-
texture: ao_texture,
|
| 620 |
-
color_offset: color(0.0, 0.0, 0.0),
|
| 621 |
-
color_scale: color(1.0, 1.0, 1.0),
|
| 622 |
-
mono_source: base::mono_average,
|
| 623 |
-
uvw: transformed_uvw,
|
| 624 |
-
clip: false
|
| 625 |
-
);
|
| 626 |
-
|
| 627 |
-
|
| 628 |
-
color ao_color = enable_ORM_texture ? color(ORM_lookup.x) : ao_lookup.tint;
|
| 629 |
-
color desaturated_base = math::lerp(base_lookup.tint, color(base_lookup.mono), albedo_desaturation);
|
| 630 |
-
color diffuse = tex::texture_isvalid(diffuse_texture)? desaturated_base : diffuse_color_constant;
|
| 631 |
-
color tinted_diffuse = multiply_colors(diffuse, diffuse_tint, 1.0).tint;
|
| 632 |
-
|
| 633 |
-
color base_color = multiply_colors(
|
| 634 |
-
color_1: tinted_diffuse,
|
| 635 |
-
color_2: ao_color,
|
| 636 |
-
weight: ao_to_diffuse
|
| 637 |
-
).tint;
|
| 638 |
-
|
| 639 |
-
|
| 640 |
-
// Metalness //
|
| 641 |
-
|
| 642 |
-
float3 metallic_lookup = tex::lookup_float3(
|
| 643 |
-
tex: metallic_texture,
|
| 644 |
-
coord: float2(transformed_uvw.position.x, transformed_uvw.position.y)
|
| 645 |
-
);
|
| 646 |
-
|
| 647 |
-
float metallic_selection = enable_ORM_texture ? ORM_lookup.z : metallic_lookup.x;
|
| 648 |
-
float metallic = math::lerp(metallic_constant, metallic_selection, metallic_texture_influence);
|
| 649 |
-
|
| 650 |
-
|
| 651 |
-
// Emission //
|
| 652 |
-
|
| 653 |
-
color emission_color_texture = tex::texture_isvalid(emissive_color_texture) ?
|
| 654 |
-
base::file_texture(
|
| 655 |
-
texture: emissive_color_texture,
|
| 656 |
-
color_offset: color(0.0, 0.0, 0.0),
|
| 657 |
-
color_scale: color(1.0, 1.0, 1.0),
|
| 658 |
-
mono_source: base::mono_average,
|
| 659 |
-
uvw: transformed_uvw,
|
| 660 |
-
clip: false
|
| 661 |
-
).tint : emissive_color;
|
| 662 |
-
|
| 663 |
-
color emission_mask_texture = tex::texture_isvalid(emissive_mask_texture) ?
|
| 664 |
-
base::file_texture(
|
| 665 |
-
texture: emissive_mask_texture,
|
| 666 |
-
color_offset: color(0.0, 0.0, 0.0),
|
| 667 |
-
color_scale: color(1.0, 1.0, 1.0),
|
| 668 |
-
mono_source: base::mono_average,
|
| 669 |
-
uvw: transformed_uvw,
|
| 670 |
-
clip: false
|
| 671 |
-
).tint : color(1.0);
|
| 672 |
-
|
| 673 |
-
color final_emission_color = enable_emission ? emission_color_texture * emission_mask_texture: color(0.0);
|
| 674 |
-
|
| 675 |
-
// Opacity //
|
| 676 |
-
|
| 677 |
-
float opacity_value = enable_opacity_texture ? base::file_texture(
|
| 678 |
-
texture: opacity_texture,
|
| 679 |
-
mono_source: opacity_mode,
|
| 680 |
-
uvw: transformed_uvw
|
| 681 |
-
).mono : opacity_constant;
|
| 682 |
-
|
| 683 |
-
float cutout_opacity = enable_opacity ? ((opacity_threshold == 0.0) ? opacity_value : ((opacity_value >= opacity_threshold) ? 1.0 : 0)) : 1.0;
|
| 684 |
-
|
| 685 |
-
material base = OmniPBRBase::OmniPBRBase(
|
| 686 |
-
diffuse_reflection_color: base_color,
|
| 687 |
-
specular_reflection_aniso_roughness: reflection_roughness,
|
| 688 |
-
specular_level: specular_level,
|
| 689 |
-
metalness: metallic,
|
| 690 |
-
enable_emission: enable_emission,
|
| 691 |
-
emission_color: final_emission_color,
|
| 692 |
-
emission_intensity: emissive_intensity,
|
| 693 |
-
enable_coat: enable_clearcoat,
|
| 694 |
-
coat_weight: clearcoat_weight,
|
| 695 |
-
coat_color: clearcoat_tint,
|
| 696 |
-
coat_transparency: clearcoat_transparency,
|
| 697 |
-
coat_aniso_roughness: clearcoat_reflection_roughness2,
|
| 698 |
-
coat_ior: clearcoat_ior,
|
| 699 |
-
enable_opacity: enable_opacity,
|
| 700 |
-
geometry_opacity: cutout_opacity,
|
| 701 |
-
clearcoat_geometry_normal: final_clearcoat_normal,
|
| 702 |
-
round_edges_radius: round_edges_radius,
|
| 703 |
-
round_edges_roundness: round_edges_roundness,
|
| 704 |
-
round_edges_across_materials: round_edges_across_materials,
|
| 705 |
-
geometry_normal: diffuse_gloss_normal
|
| 706 |
-
);
|
| 707 |
-
|
| 708 |
-
} in material(
|
| 709 |
-
surface: base.surface,
|
| 710 |
-
geometry: base.geometry
|
| 711 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/materials/mdl/aux_definitions.mdl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
yahboom_dofbot/materials/mdl/core_definitions.mdl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
yahboom_dofbot/materials/mdl/license.txt
DELETED
|
@@ -1,73 +0,0 @@
|
|
| 1 |
-
# NVIDIA Omniverse Core Materials Licenses
|
| 2 |
-
|
| 3 |
-
## Primary License
|
| 4 |
-
This project is primarily licensed under the BSD-3-Clause License.
|
| 5 |
-
|
| 6 |
-
```
|
| 7 |
-
Copyright (c) 1986-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 8 |
-
|
| 9 |
-
Redistribution and use in source and binary forms, with or without
|
| 10 |
-
modification, are permitted provided that the following conditions are met:
|
| 11 |
-
|
| 12 |
-
1. Redistributions of source code must retain the above copyright notice, this
|
| 13 |
-
list of conditions and the following disclaimer.
|
| 14 |
-
|
| 15 |
-
2. Redistributions in binary form must reproduce the above copyright notice,
|
| 16 |
-
this list of conditions and the following disclaimer in the documentation
|
| 17 |
-
and/or other materials provided with the distribution.
|
| 18 |
-
|
| 19 |
-
3. Neither the name of the copyright holder nor the names of its
|
| 20 |
-
contributors may be used to endorse or promote products derived from
|
| 21 |
-
this software without specific prior written permission.
|
| 22 |
-
|
| 23 |
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 24 |
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 25 |
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 26 |
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 27 |
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 28 |
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 29 |
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 30 |
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 31 |
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 32 |
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 33 |
-
```
|
| 34 |
-
|
| 35 |
-
## Third-Party Licenses
|
| 36 |
-
|
| 37 |
-
### Apache License 2.0
|
| 38 |
-
The following components are licensed under the Apache License 2.0:
|
| 39 |
-
|
| 40 |
-
#### MaterialX Components
|
| 41 |
-
Files in `/source/mdl/materialx` are licensed under Apache License 2.0 per the MaterialX project:
|
| 42 |
-
https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/LICENSE
|
| 43 |
-
|
| 44 |
-
```
|
| 45 |
-
Copyright Contributors to the MaterialX Project
|
| 46 |
-
|
| 47 |
-
Licensed under the Apache License, Version 2.0 (the "License");
|
| 48 |
-
you may not use this file except in compliance with the License.
|
| 49 |
-
You may obtain a copy of the License at
|
| 50 |
-
|
| 51 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
| 52 |
-
|
| 53 |
-
Unless required by applicable law or agreed to in writing, software
|
| 54 |
-
distributed under the License is distributed on an "AS IS" BASIS,
|
| 55 |
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 56 |
-
See the License for the specific language governing permissions and
|
| 57 |
-
limitations under the License.
|
| 58 |
-
```
|
| 59 |
-
|
| 60 |
-
## SPDX License Identifiers
|
| 61 |
-
Files in this project use the following SPDX license identifiers:
|
| 62 |
-
- `SPDX-License-Identifier: BSD-3-Clause` - Used for NVIDIA-owned code
|
| 63 |
-
- `SPDX-License-Identifier: Apache-2.0` - Used for MaterialX components
|
| 64 |
-
|
| 65 |
-
## License Attribution
|
| 66 |
-
This project contains code from multiple sources:
|
| 67 |
-
1. NVIDIA Corporation (BSD-3-Clause) - Primary codebase
|
| 68 |
-
2. Academy Software Foundation (Apache-2.0) - MaterialX components
|
| 69 |
-
|
| 70 |
-
## License Scope
|
| 71 |
-
- All files in the project are licensed under BSD-3-Clause unless explicitly stated otherwise
|
| 72 |
-
- Files in `/source/mdl/materialx` are licensed under Apache-2.0
|
| 73 |
-
- All other files are licensed under BSD-3-Clause
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/materials/mdl/support_definitions.mdl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
yahboom_dofbot/payloads/Physics/mujoco.usda
DELETED
|
@@ -1,226 +0,0 @@
|
|
| 1 |
-
#usda 1.0
|
| 2 |
-
(
|
| 3 |
-
customLayerData = {
|
| 4 |
-
}
|
| 5 |
-
endTimeCode = 100
|
| 6 |
-
metersPerUnit = 1
|
| 7 |
-
startTimeCode = 0
|
| 8 |
-
timeCodesPerSecond = 60
|
| 9 |
-
upAxis = "Z"
|
| 10 |
-
)
|
| 11 |
-
|
| 12 |
-
over "arm"
|
| 13 |
-
{
|
| 14 |
-
over "link5"
|
| 15 |
-
{
|
| 16 |
-
over "Finger_Left_03"
|
| 17 |
-
{
|
| 18 |
-
}
|
| 19 |
-
|
| 20 |
-
over "Finger_Right_03"
|
| 21 |
-
{
|
| 22 |
-
}
|
| 23 |
-
|
| 24 |
-
over "Finger_Left_02"
|
| 25 |
-
{
|
| 26 |
-
over "Finger_Left_02"
|
| 27 |
-
{
|
| 28 |
-
}
|
| 29 |
-
|
| 30 |
-
over "Finger_Left_02_SphericalJoint"
|
| 31 |
-
{
|
| 32 |
-
}
|
| 33 |
-
}
|
| 34 |
-
|
| 35 |
-
over "Finger_Right_02"
|
| 36 |
-
{
|
| 37 |
-
over "Finger_Right_02"
|
| 38 |
-
{
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
over "Finger_Right_02_SphericalJoint"
|
| 42 |
-
{
|
| 43 |
-
}
|
| 44 |
-
}
|
| 45 |
-
|
| 46 |
-
over "Wrist_Twist"
|
| 47 |
-
{
|
| 48 |
-
over "Wrist_Twist_RevoluteJoint" (
|
| 49 |
-
delete apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 50 |
-
)
|
| 51 |
-
{
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
over "Wrist_Twist"
|
| 55 |
-
{
|
| 56 |
-
}
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
-
over "Finger_Left_01"
|
| 60 |
-
{
|
| 61 |
-
over "Finger_Left_01"
|
| 62 |
-
{
|
| 63 |
-
}
|
| 64 |
-
|
| 65 |
-
over "Finger_Left_01_RevoluteJoint" (
|
| 66 |
-
delete apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 67 |
-
)
|
| 68 |
-
{
|
| 69 |
-
}
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
over "Finger_Right_01"
|
| 73 |
-
{
|
| 74 |
-
over "Finger_Right_01"
|
| 75 |
-
{
|
| 76 |
-
}
|
| 77 |
-
|
| 78 |
-
over "Finger_Right_01_RevoluteJoint" (
|
| 79 |
-
delete apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 80 |
-
)
|
| 81 |
-
{
|
| 82 |
-
}
|
| 83 |
-
}
|
| 84 |
-
|
| 85 |
-
over "Looks"
|
| 86 |
-
{
|
| 87 |
-
}
|
| 88 |
-
}
|
| 89 |
-
|
| 90 |
-
over "root_joint"
|
| 91 |
-
{
|
| 92 |
-
}
|
| 93 |
-
|
| 94 |
-
over "link4"
|
| 95 |
-
{
|
| 96 |
-
over "Wrist_Lift"
|
| 97 |
-
{
|
| 98 |
-
}
|
| 99 |
-
|
| 100 |
-
over "Camera"
|
| 101 |
-
{
|
| 102 |
-
over "OmniverseKitViewportCameraMesh"
|
| 103 |
-
{
|
| 104 |
-
}
|
| 105 |
-
}
|
| 106 |
-
}
|
| 107 |
-
|
| 108 |
-
over "link3"
|
| 109 |
-
{
|
| 110 |
-
over "joint4" (
|
| 111 |
-
delete apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 112 |
-
)
|
| 113 |
-
{
|
| 114 |
-
}
|
| 115 |
-
|
| 116 |
-
over "collisions"
|
| 117 |
-
{
|
| 118 |
-
}
|
| 119 |
-
|
| 120 |
-
over "visuals"
|
| 121 |
-
{
|
| 122 |
-
}
|
| 123 |
-
}
|
| 124 |
-
|
| 125 |
-
over "link2"
|
| 126 |
-
{
|
| 127 |
-
over "joint3" (
|
| 128 |
-
delete apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 129 |
-
)
|
| 130 |
-
{
|
| 131 |
-
}
|
| 132 |
-
|
| 133 |
-
over "Shoulder_Lift"
|
| 134 |
-
{
|
| 135 |
-
}
|
| 136 |
-
|
| 137 |
-
over "collisions"
|
| 138 |
-
{
|
| 139 |
-
}
|
| 140 |
-
|
| 141 |
-
over "visuals"
|
| 142 |
-
{
|
| 143 |
-
}
|
| 144 |
-
}
|
| 145 |
-
|
| 146 |
-
over "link1"
|
| 147 |
-
{
|
| 148 |
-
over "joint2" (
|
| 149 |
-
delete apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 150 |
-
)
|
| 151 |
-
{
|
| 152 |
-
}
|
| 153 |
-
|
| 154 |
-
over "collisions"
|
| 155 |
-
{
|
| 156 |
-
}
|
| 157 |
-
|
| 158 |
-
over "visuals"
|
| 159 |
-
{
|
| 160 |
-
}
|
| 161 |
-
}
|
| 162 |
-
|
| 163 |
-
over "base_link"
|
| 164 |
-
{
|
| 165 |
-
over "joint1" (
|
| 166 |
-
delete apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 167 |
-
)
|
| 168 |
-
{
|
| 169 |
-
}
|
| 170 |
-
|
| 171 |
-
over "visuals"
|
| 172 |
-
{
|
| 173 |
-
}
|
| 174 |
-
|
| 175 |
-
over "collisions"
|
| 176 |
-
{
|
| 177 |
-
}
|
| 178 |
-
|
| 179 |
-
over "PCB_01"
|
| 180 |
-
{
|
| 181 |
-
}
|
| 182 |
-
|
| 183 |
-
over "Base01_01"
|
| 184 |
-
{
|
| 185 |
-
}
|
| 186 |
-
|
| 187 |
-
over "Antennas_01"
|
| 188 |
-
{
|
| 189 |
-
}
|
| 190 |
-
}
|
| 191 |
-
|
| 192 |
-
over "Looks"
|
| 193 |
-
{
|
| 194 |
-
}
|
| 195 |
-
|
| 196 |
-
over "VisualMaterials"
|
| 197 |
-
{
|
| 198 |
-
}
|
| 199 |
-
}
|
| 200 |
-
|
| 201 |
-
over "World"
|
| 202 |
-
{
|
| 203 |
-
over "defaultLight"
|
| 204 |
-
{
|
| 205 |
-
}
|
| 206 |
-
|
| 207 |
-
over "GroundPlane"
|
| 208 |
-
{
|
| 209 |
-
over "CollisionMesh"
|
| 210 |
-
{
|
| 211 |
-
}
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/payloads/Physics/physics.usda
DELETED
|
@@ -1,665 +0,0 @@
|
|
| 1 |
-
#usda 1.0
|
| 2 |
-
(
|
| 3 |
-
customLayerData = {
|
| 4 |
-
}
|
| 5 |
-
defaultPrim = "arm"
|
| 6 |
-
endTimeCode = 100
|
| 7 |
-
metersPerUnit = 1
|
| 8 |
-
startTimeCode = 0
|
| 9 |
-
timeCodesPerSecond = 60
|
| 10 |
-
upAxis = "Z"
|
| 11 |
-
)
|
| 12 |
-
|
| 13 |
-
over "arm" (
|
| 14 |
-
prepend apiSchemas = ["PhysicsArticulationRootAPI"]
|
| 15 |
-
)
|
| 16 |
-
{
|
| 17 |
-
over "base_link" (
|
| 18 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 19 |
-
)
|
| 20 |
-
{
|
| 21 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 22 |
-
point3f physics:centerOfMass = (0, 0, 0)
|
| 23 |
-
float physics:density = 0
|
| 24 |
-
float physics:mass = 0.5
|
| 25 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 26 |
-
|
| 27 |
-
def PhysicsRevoluteJoint "joint1" (
|
| 28 |
-
prepend apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 29 |
-
)
|
| 30 |
-
{
|
| 31 |
-
float drive:angular:physics:damping = 53
|
| 32 |
-
float drive:angular:physics:maxForce = 5.2
|
| 33 |
-
float drive:angular:physics:stiffness = 1048
|
| 34 |
-
float drive:angular:physics:targetPosition = 0
|
| 35 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 36 |
-
custom string isaac:nameOverride
|
| 37 |
-
custom float[] isaac:physics:AccelerationLimit
|
| 38 |
-
custom float[] isaac:physics:JerkLimit
|
| 39 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 40 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 41 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 42 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 43 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 44 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 45 |
-
uniform token physics:axis = "X"
|
| 46 |
-
custom rel physics:body0 = </arm/base_link>
|
| 47 |
-
custom rel physics:body1 = </arm/link1>
|
| 48 |
-
float physics:breakForce = 3.4028233e36
|
| 49 |
-
float physics:breakTorque = 3.4028233e34
|
| 50 |
-
point3f physics:localPos0 = (0, 0, 0.06605)
|
| 51 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 52 |
-
quatf physics:localRot0 = (0.70709646, -0.0038201257, -0.70709646, 0.0038201257)
|
| 53 |
-
quatf physics:localRot1 = (0.70710677, 0, -0.70710677, 0)
|
| 54 |
-
float physics:lowerLimit = -90.000206
|
| 55 |
-
float physics:upperLimit = 90.000206
|
| 56 |
-
}
|
| 57 |
-
|
| 58 |
-
over "collisions" (
|
| 59 |
-
instanceable = false
|
| 60 |
-
)
|
| 61 |
-
{
|
| 62 |
-
over "visuals" (
|
| 63 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 64 |
-
)
|
| 65 |
-
{
|
| 66 |
-
}
|
| 67 |
-
}
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
over "link1" (
|
| 71 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 72 |
-
)
|
| 73 |
-
{
|
| 74 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 75 |
-
point3f physics:centerOfMass = (0, 0, 0)
|
| 76 |
-
float physics:density = 0
|
| 77 |
-
float physics:mass = 0.1
|
| 78 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 79 |
-
|
| 80 |
-
def PhysicsRevoluteJoint "joint2" (
|
| 81 |
-
prepend apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 82 |
-
)
|
| 83 |
-
{
|
| 84 |
-
float drive:angular:physics:damping = 53
|
| 85 |
-
float drive:angular:physics:maxForce = 5.2
|
| 86 |
-
float drive:angular:physics:stiffness = 1048
|
| 87 |
-
float drive:angular:physics:targetPosition = 0
|
| 88 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 89 |
-
custom string isaac:nameOverride
|
| 90 |
-
custom float[] isaac:physics:AccelerationLimit
|
| 91 |
-
custom float[] isaac:physics:JerkLimit
|
| 92 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 93 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 94 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 95 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 96 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 97 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 98 |
-
uniform token physics:axis = "X"
|
| 99 |
-
custom rel physics:body0 = </arm/link1>
|
| 100 |
-
custom rel physics:body1 = </arm/link2>
|
| 101 |
-
float physics:breakForce = 3.4028233e36
|
| 102 |
-
float physics:breakTorque = 3.4028233e34
|
| 103 |
-
point3f physics:localPos0 = (0, -0.00031873, 0.041449998)
|
| 104 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 105 |
-
quatf physics:localRot0 = (1, 0, 0.0000017881393, 0)
|
| 106 |
-
quatf physics:localRot1 = (0.70710677, 0, -0.70710677, 0)
|
| 107 |
-
float physics:lowerLimit = -90.000206
|
| 108 |
-
float physics:upperLimit = 90.000206
|
| 109 |
-
}
|
| 110 |
-
|
| 111 |
-
over "collisions" (
|
| 112 |
-
instanceable = false
|
| 113 |
-
)
|
| 114 |
-
{
|
| 115 |
-
over "collisions" (
|
| 116 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 117 |
-
)
|
| 118 |
-
{
|
| 119 |
-
}
|
| 120 |
-
}
|
| 121 |
-
}
|
| 122 |
-
|
| 123 |
-
over "link2" (
|
| 124 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 125 |
-
)
|
| 126 |
-
{
|
| 127 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 128 |
-
point3f physics:centerOfMass = (0, 0, 0)
|
| 129 |
-
float physics:density = 0
|
| 130 |
-
float physics:mass = 0.1
|
| 131 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 132 |
-
|
| 133 |
-
def PhysicsRevoluteJoint "joint3" (
|
| 134 |
-
prepend apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 135 |
-
)
|
| 136 |
-
{
|
| 137 |
-
float drive:angular:physics:damping = 53
|
| 138 |
-
float drive:angular:physics:maxForce = 5.2
|
| 139 |
-
float drive:angular:physics:stiffness = 1048
|
| 140 |
-
float drive:angular:physics:targetPosition = 0
|
| 141 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 142 |
-
custom string isaac:nameOverride
|
| 143 |
-
custom float[] isaac:physics:AccelerationLimit
|
| 144 |
-
custom float[] isaac:physics:JerkLimit
|
| 145 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 146 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 147 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 148 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 149 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 150 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 151 |
-
uniform token physics:axis = "X"
|
| 152 |
-
custom rel physics:body0 = </arm/link2>
|
| 153 |
-
custom rel physics:body1 = </arm/link3>
|
| 154 |
-
float physics:breakForce = 3.4028233e36
|
| 155 |
-
float physics:breakTorque = 3.4028233e34
|
| 156 |
-
point3f physics:localPos0 = (-0.082849994, 0, 0)
|
| 157 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 158 |
-
quatf physics:localRot0 = (0.70710677, 0, -0.70710677, 0)
|
| 159 |
-
quatf physics:localRot1 = (0.70710677, 0, -0.70710677, 0)
|
| 160 |
-
float physics:lowerLimit = -90.000206
|
| 161 |
-
float physics:upperLimit = 90.000206
|
| 162 |
-
}
|
| 163 |
-
|
| 164 |
-
over "collisions" (
|
| 165 |
-
instanceable = false
|
| 166 |
-
)
|
| 167 |
-
{
|
| 168 |
-
over "collisions_1" (
|
| 169 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 170 |
-
)
|
| 171 |
-
{
|
| 172 |
-
}
|
| 173 |
-
}
|
| 174 |
-
}
|
| 175 |
-
|
| 176 |
-
over "link3" (
|
| 177 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 178 |
-
)
|
| 179 |
-
{
|
| 180 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 181 |
-
point3f physics:centerOfMass = (0, 0, 0)
|
| 182 |
-
float physics:density = 0
|
| 183 |
-
float physics:mass = 0.1
|
| 184 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 185 |
-
|
| 186 |
-
def PhysicsRevoluteJoint "joint4" (
|
| 187 |
-
prepend apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 188 |
-
)
|
| 189 |
-
{
|
| 190 |
-
float drive:angular:physics:damping = 53
|
| 191 |
-
float drive:angular:physics:maxForce = 5.2
|
| 192 |
-
float drive:angular:physics:stiffness = 1048
|
| 193 |
-
float drive:angular:physics:targetPosition = 0
|
| 194 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 195 |
-
custom string isaac:nameOverride
|
| 196 |
-
custom float[] isaac:physics:AccelerationLimit
|
| 197 |
-
custom float[] isaac:physics:JerkLimit
|
| 198 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 199 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 200 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 201 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 202 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 203 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 204 |
-
uniform token physics:axis = "X"
|
| 205 |
-
custom rel physics:body0 = </arm/link3>
|
| 206 |
-
custom rel physics:body1 = </arm/link4>
|
| 207 |
-
float physics:breakForce = 3.4028233e36
|
| 208 |
-
float physics:breakTorque = 3.4028233e34
|
| 209 |
-
point3f physics:localPos0 = (-0.082849994, 0, 0)
|
| 210 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 211 |
-
quatf physics:localRot0 = (0.70710063, 0.002937348, -0.70710063, 0.002937348)
|
| 212 |
-
quatf physics:localRot1 = (0.70710677, 0, -0.70710677, 0)
|
| 213 |
-
float physics:lowerLimit = -90.000206
|
| 214 |
-
float physics:upperLimit = 90.000206
|
| 215 |
-
}
|
| 216 |
-
|
| 217 |
-
over "collisions" (
|
| 218 |
-
instanceable = false
|
| 219 |
-
)
|
| 220 |
-
{
|
| 221 |
-
over "collisions_2" (
|
| 222 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 223 |
-
)
|
| 224 |
-
{
|
| 225 |
-
}
|
| 226 |
-
}
|
| 227 |
-
}
|
| 228 |
-
|
| 229 |
-
over "link4" (
|
| 230 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 231 |
-
)
|
| 232 |
-
{
|
| 233 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 234 |
-
point3f physics:centerOfMass = (0, 0, 0)
|
| 235 |
-
float physics:density = 0
|
| 236 |
-
float physics:mass = 0.1
|
| 237 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 238 |
-
|
| 239 |
-
over "Wrist_Lift" (
|
| 240 |
-
instanceable = false
|
| 241 |
-
)
|
| 242 |
-
{
|
| 243 |
-
over "Wrist_Lift" (
|
| 244 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 245 |
-
)
|
| 246 |
-
{
|
| 247 |
-
bool physics:collisionEnabled = 1
|
| 248 |
-
}
|
| 249 |
-
}
|
| 250 |
-
}
|
| 251 |
-
|
| 252 |
-
over "link5"
|
| 253 |
-
{
|
| 254 |
-
over "Wrist_Twist" (
|
| 255 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 256 |
-
)
|
| 257 |
-
{
|
| 258 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 259 |
-
point3f physics:centerOfMass = (0, 0, 0)
|
| 260 |
-
bool physics:kinematicEnabled = 0
|
| 261 |
-
float physics:mass = 0.08
|
| 262 |
-
bool physics:rigidBodyEnabled = 1
|
| 263 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 264 |
-
|
| 265 |
-
def PhysicsRevoluteJoint "Wrist_Twist_RevoluteJoint" (
|
| 266 |
-
prepend apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 267 |
-
)
|
| 268 |
-
{
|
| 269 |
-
float drive:angular:physics:damping = 10
|
| 270 |
-
float drive:angular:physics:maxForce = 0.099999994
|
| 271 |
-
float drive:angular:physics:stiffness = 1000
|
| 272 |
-
float drive:angular:physics:targetPosition = 0
|
| 273 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 274 |
-
custom string isaac:nameOverride
|
| 275 |
-
custom float[] isaac:physics:AccelerationLimit
|
| 276 |
-
custom float[] isaac:physics:JerkLimit
|
| 277 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 278 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 279 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 280 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 281 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 282 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 283 |
-
uniform token physics:axis = "Z"
|
| 284 |
-
custom rel physics:body0 = </arm/link5/Wrist_Twist>
|
| 285 |
-
custom rel physics:body1 = </arm/link4>
|
| 286 |
-
float physics:breakForce = inf
|
| 287 |
-
float physics:breakTorque = inf
|
| 288 |
-
point3f physics:localPos0 = (0, 0, 0)
|
| 289 |
-
point3f physics:localPos1 = (-0.06549733, -0.0045318594, -0.00060643995)
|
| 290 |
-
quatf physics:localRot0 = (1, 0, 0, 0)
|
| 291 |
-
quatf physics:localRot1 = (-0.4988273, 0.49882996, 0.50117344, -0.50116396)
|
| 292 |
-
}
|
| 293 |
-
|
| 294 |
-
over "Wrist_Twist" (
|
| 295 |
-
instanceable = false
|
| 296 |
-
)
|
| 297 |
-
{
|
| 298 |
-
over "Wrist_Twist" (
|
| 299 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 300 |
-
)
|
| 301 |
-
{
|
| 302 |
-
bool physics:collisionEnabled = 1
|
| 303 |
-
}
|
| 304 |
-
}
|
| 305 |
-
}
|
| 306 |
-
|
| 307 |
-
over "Finger_Left_01" (
|
| 308 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsFilteredPairsAPI", "PhysicsMassAPI"]
|
| 309 |
-
)
|
| 310 |
-
{
|
| 311 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 312 |
-
point3f physics:centerOfMass = (0, 0, 0)
|
| 313 |
-
rel physics:filteredPairs = </arm/link5/Finger_Right_01/Finger_Right_01>
|
| 314 |
-
bool physics:kinematicEnabled = 0
|
| 315 |
-
float physics:mass = 0.02
|
| 316 |
-
bool physics:rigidBodyEnabled = 1
|
| 317 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 318 |
-
|
| 319 |
-
def PhysicsRevoluteJoint "Finger_Left_01_RevoluteJoint" (
|
| 320 |
-
prepend apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 321 |
-
)
|
| 322 |
-
{
|
| 323 |
-
float drive:angular:physics:damping = 1000
|
| 324 |
-
float drive:angular:physics:maxForce = 0.12
|
| 325 |
-
float drive:angular:physics:stiffness = 6000
|
| 326 |
-
float drive:angular:physics:targetPosition = 0
|
| 327 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 328 |
-
custom string isaac:nameOverride
|
| 329 |
-
custom float[] isaac:physics:AccelerationLimit
|
| 330 |
-
custom float[] isaac:physics:JerkLimit
|
| 331 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 332 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 333 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 334 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 335 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 336 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 337 |
-
uniform token physics:axis = "X"
|
| 338 |
-
custom rel physics:body0 = </arm/link5/Finger_Left_01>
|
| 339 |
-
custom rel physics:body1 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 340 |
-
float physics:breakForce = inf
|
| 341 |
-
float physics:breakTorque = inf
|
| 342 |
-
point3f physics:localPos0 = (0, 0, 0)
|
| 343 |
-
point3f physics:localPos1 = (-0.29220235, 1.2149862, 4.1918764)
|
| 344 |
-
quatf physics:localRot0 = (1, 0, 0, 0)
|
| 345 |
-
quatf physics:localRot1 = (1, -1e-45, 6.162976e-33, -0)
|
| 346 |
-
float physics:lowerLimit = -30
|
| 347 |
-
float physics:upperLimit = 30
|
| 348 |
-
}
|
| 349 |
-
|
| 350 |
-
over "Finger_Left_01" (
|
| 351 |
-
instanceable = false
|
| 352 |
-
)
|
| 353 |
-
{
|
| 354 |
-
over "Finger_Left_01" (
|
| 355 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 356 |
-
)
|
| 357 |
-
{
|
| 358 |
-
bool physics:collisionEnabled = 1
|
| 359 |
-
}
|
| 360 |
-
}
|
| 361 |
-
}
|
| 362 |
-
|
| 363 |
-
over "Finger_Right_01" (
|
| 364 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 365 |
-
)
|
| 366 |
-
{
|
| 367 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 368 |
-
point3f physics:centerOfMass = (0, 0, 0)
|
| 369 |
-
bool physics:kinematicEnabled = 0
|
| 370 |
-
float physics:mass = 0.02
|
| 371 |
-
bool physics:rigidBodyEnabled = 1
|
| 372 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 373 |
-
|
| 374 |
-
def PhysicsRevoluteJoint "Finger_Right_01_RevoluteJoint" (
|
| 375 |
-
prepend apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 376 |
-
)
|
| 377 |
-
{
|
| 378 |
-
float drive:angular:physics:damping = 1000
|
| 379 |
-
float drive:angular:physics:maxForce = 0.12
|
| 380 |
-
float drive:angular:physics:stiffness = 6000
|
| 381 |
-
float drive:angular:physics:targetPosition = 0
|
| 382 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 383 |
-
custom string isaac:nameOverride
|
| 384 |
-
custom float[] isaac:physics:AccelerationLimit
|
| 385 |
-
custom float[] isaac:physics:JerkLimit
|
| 386 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 387 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 388 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 389 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 390 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 391 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 392 |
-
uniform token physics:axis = "X"
|
| 393 |
-
custom rel physics:body0 = </arm/link5/Finger_Right_01>
|
| 394 |
-
custom rel physics:body1 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 395 |
-
float physics:breakForce = inf
|
| 396 |
-
float physics:breakTorque = inf
|
| 397 |
-
point3f physics:localPos0 = (0, 0, 0)
|
| 398 |
-
point3f physics:localPos1 = (-0.29220113, -1.240003, 4.1918764)
|
| 399 |
-
quatf physics:localRot0 = (1, 0, 0, 0)
|
| 400 |
-
quatf physics:localRot1 = (1, -1e-45, 6.162985e-33, -0)
|
| 401 |
-
float physics:lowerLimit = -30
|
| 402 |
-
float physics:upperLimit = 30
|
| 403 |
-
}
|
| 404 |
-
|
| 405 |
-
over "Finger_Right_01" (
|
| 406 |
-
instanceable = false
|
| 407 |
-
)
|
| 408 |
-
{
|
| 409 |
-
over "Finger_Right_01" (
|
| 410 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 411 |
-
)
|
| 412 |
-
{
|
| 413 |
-
bool physics:collisionEnabled = 1
|
| 414 |
-
}
|
| 415 |
-
}
|
| 416 |
-
}
|
| 417 |
-
|
| 418 |
-
over "Finger_Left_03" (
|
| 419 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 420 |
-
instanceable = false
|
| 421 |
-
)
|
| 422 |
-
{
|
| 423 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 424 |
-
bool physics:kinematicEnabled = 0
|
| 425 |
-
float physics:mass = 0.0033898563 (
|
| 426 |
-
customData = {
|
| 427 |
-
dictionary agentfix = {
|
| 428 |
-
string massConfidence = "estimate with user-authorized material guesses and aluminium fallback, not verified hardware mass"
|
| 429 |
-
string massMethod = "CORE Artist Tools material shell estimate with source component masses retained"
|
| 430 |
-
}
|
| 431 |
-
}
|
| 432 |
-
)
|
| 433 |
-
bool physics:rigidBodyEnabled = 1
|
| 434 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 435 |
-
|
| 436 |
-
over "Finger_Left_03" (
|
| 437 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 438 |
-
)
|
| 439 |
-
{
|
| 440 |
-
bool physics:collisionEnabled = 1
|
| 441 |
-
}
|
| 442 |
-
}
|
| 443 |
-
|
| 444 |
-
over "Finger_Right_03" (
|
| 445 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 446 |
-
instanceable = false
|
| 447 |
-
)
|
| 448 |
-
{
|
| 449 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 450 |
-
bool physics:kinematicEnabled = 0
|
| 451 |
-
float physics:mass = 0.003950518 (
|
| 452 |
-
customData = {
|
| 453 |
-
dictionary agentfix = {
|
| 454 |
-
string massConfidence = "estimate with user-authorized material guesses and aluminium fallback, not verified hardware mass"
|
| 455 |
-
string massMethod = "CORE Artist Tools material shell estimate with source component masses retained"
|
| 456 |
-
}
|
| 457 |
-
}
|
| 458 |
-
)
|
| 459 |
-
bool physics:rigidBodyEnabled = 1
|
| 460 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 461 |
-
|
| 462 |
-
over "Finger_Right_03" (
|
| 463 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 464 |
-
)
|
| 465 |
-
{
|
| 466 |
-
bool physics:collisionEnabled = 1
|
| 467 |
-
}
|
| 468 |
-
}
|
| 469 |
-
|
| 470 |
-
over "Finger_Left_02" (
|
| 471 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 472 |
-
)
|
| 473 |
-
{
|
| 474 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 475 |
-
bool physics:kinematicEnabled = 0
|
| 476 |
-
float physics:mass = 0.002549749 (
|
| 477 |
-
customData = {
|
| 478 |
-
dictionary agentfix = {
|
| 479 |
-
string massConfidence = "estimate with user-authorized material guesses and aluminium fallback, not verified hardware mass"
|
| 480 |
-
string massMethod = "CORE Artist Tools material shell estimate with source component masses retained"
|
| 481 |
-
}
|
| 482 |
-
}
|
| 483 |
-
)
|
| 484 |
-
bool physics:rigidBodyEnabled = 1
|
| 485 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 486 |
-
|
| 487 |
-
def PhysicsSphericalJoint "Finger_Left_02_SphericalJoint"
|
| 488 |
-
{
|
| 489 |
-
uniform token physics:axis = "X"
|
| 490 |
-
custom rel physics:body0 = </arm/link5/Finger_Left_03/Finger_Left_03>
|
| 491 |
-
custom rel physics:body1 = </arm/link5/Finger_Left_02/Finger_Left_02>
|
| 492 |
-
float physics:breakForce = inf
|
| 493 |
-
float physics:breakTorque = inf
|
| 494 |
-
uniform bool physics:excludeFromArticulation = 1
|
| 495 |
-
point3f physics:localPos0 = (-1.4452124e-7, -0.79711, 1.83944)
|
| 496 |
-
point3f physics:localPos1 = (1.4409475e-8, 1.77985, 2.43045)
|
| 497 |
-
quatf physics:localRot0 = (1, -2.6163723e-13, 2.7813916e-11, 6.980623e-14)
|
| 498 |
-
quatf physics:localRot1 = (1, -1.12632634e-7, 9.658924e-9, -2.9698487e-8)
|
| 499 |
-
}
|
| 500 |
-
|
| 501 |
-
over "Finger_Left_02" (
|
| 502 |
-
instanceable = false
|
| 503 |
-
)
|
| 504 |
-
{
|
| 505 |
-
over "Finger_Left_02" (
|
| 506 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 507 |
-
)
|
| 508 |
-
{
|
| 509 |
-
bool physics:collisionEnabled = 1
|
| 510 |
-
}
|
| 511 |
-
}
|
| 512 |
-
}
|
| 513 |
-
|
| 514 |
-
over "Finger_Right_02" (
|
| 515 |
-
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 516 |
-
)
|
| 517 |
-
{
|
| 518 |
-
vector3f physics:angularVelocity = (0, 0, 0)
|
| 519 |
-
bool physics:kinematicEnabled = 0
|
| 520 |
-
float physics:mass = 0.002549749 (
|
| 521 |
-
customData = {
|
| 522 |
-
dictionary agentfix = {
|
| 523 |
-
string massConfidence = "estimate with user-authorized material guesses and aluminium fallback, not verified hardware mass"
|
| 524 |
-
string massMethod = "CORE Artist Tools material shell estimate with source component masses retained"
|
| 525 |
-
}
|
| 526 |
-
}
|
| 527 |
-
)
|
| 528 |
-
bool physics:rigidBodyEnabled = 1
|
| 529 |
-
vector3f physics:velocity = (0, 0, 0)
|
| 530 |
-
|
| 531 |
-
def PhysicsSphericalJoint "Finger_Right_02_SphericalJoint"
|
| 532 |
-
{
|
| 533 |
-
uniform token physics:axis = "X"
|
| 534 |
-
custom rel physics:body0 = </arm/link5/Finger_Right_03/Finger_Right_03>
|
| 535 |
-
custom rel physics:body1 = </arm/link5/Finger_Right_02/Finger_Right_02>
|
| 536 |
-
float physics:breakForce = inf
|
| 537 |
-
float physics:breakTorque = inf
|
| 538 |
-
uniform bool physics:excludeFromArticulation = 1
|
| 539 |
-
point3f physics:localPos0 = (-8.870277e-9, 0.81077, 1.81201)
|
| 540 |
-
point3f physics:localPos1 = (-2.9491831e-9, -0.01149, -0.01115)
|
| 541 |
-
quatf physics:localRot0 = (1, -1.975757e-12, 2.7470394e-11, 4.412854e-14)
|
| 542 |
-
quatf physics:localRot1 = (1, -1.9409395e-8, -1.2668238e-9, -6.4225496e-8)
|
| 543 |
-
}
|
| 544 |
-
|
| 545 |
-
over "Finger_Right_02" (
|
| 546 |
-
instanceable = false
|
| 547 |
-
)
|
| 548 |
-
{
|
| 549 |
-
over "Finger_Right_02" (
|
| 550 |
-
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 551 |
-
)
|
| 552 |
-
{
|
| 553 |
-
bool physics:collisionEnabled = 1
|
| 554 |
-
}
|
| 555 |
-
}
|
| 556 |
-
}
|
| 557 |
-
|
| 558 |
-
def PhysicsRevoluteJoint "Finger_Left_02_RevoluteJoint" (
|
| 559 |
-
prepend apiSchemas = ["PhysicsJointStateAPI:angular", "PhysicsDriveAPI:angular"]
|
| 560 |
-
)
|
| 561 |
-
{
|
| 562 |
-
float drive:angular:physics:damping = 0
|
| 563 |
-
float drive:angular:physics:maxForce = 0.12
|
| 564 |
-
float drive:angular:physics:stiffness = 0
|
| 565 |
-
float drive:angular:physics:targetPosition = 0
|
| 566 |
-
float drive:angular:physics:targetVelocity = 0
|
| 567 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 568 |
-
token physics:axis = "X"
|
| 569 |
-
custom rel physics:body0 = </arm/link5/Finger_Left_02/Finger_Left_02>
|
| 570 |
-
custom rel physics:body1 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 571 |
-
float physics:breakForce = inf
|
| 572 |
-
float physics:breakTorque = inf
|
| 573 |
-
point3f physics:localPos0 = (0, 0, 0)
|
| 574 |
-
point3f physics:localPos1 = (-0.16869655, 0.4503985, 5.992106)
|
| 575 |
-
quatf physics:localRot0 = (1, 0, 0, 0)
|
| 576 |
-
quatf physics:localRot1 = (1, -0.00011703074, 0.0000049658033, -3.4355e-8)
|
| 577 |
-
}
|
| 578 |
-
|
| 579 |
-
def PhysicsRevoluteJoint "Finger_Left_03_RevoluteJoint" (
|
| 580 |
-
prepend apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 581 |
-
)
|
| 582 |
-
{
|
| 583 |
-
float drive:angular:physics:damping = 0
|
| 584 |
-
float drive:angular:physics:maxForce = 0.12
|
| 585 |
-
float drive:angular:physics:stiffness = 0
|
| 586 |
-
float drive:angular:physics:targetPosition = 0
|
| 587 |
-
float drive:angular:physics:targetVelocity = 0
|
| 588 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 589 |
-
token physics:axis = "X"
|
| 590 |
-
custom rel physics:body0 = </arm/link5/Finger_Left_03/Finger_Left_03>
|
| 591 |
-
custom rel physics:body1 = </arm/link5/Finger_Left_01/Finger_Left_01>
|
| 592 |
-
float physics:breakForce = inf
|
| 593 |
-
float physics:breakTorque = inf
|
| 594 |
-
point3f physics:localPos0 = (0, 0, 0)
|
| 595 |
-
point3f physics:localPos1 = (0.12363685, 1.8119415, 2.3910213)
|
| 596 |
-
quatf physics:localRot0 = (1, 0, 0, 0)
|
| 597 |
-
quatf physics:localRot1 = (1, 8.7435e-9, -7.463727e-10, 1.3773865e-9)
|
| 598 |
-
float physics:lowerLimit = -30
|
| 599 |
-
float physics:upperLimit = 30
|
| 600 |
-
}
|
| 601 |
-
|
| 602 |
-
def PhysicsRevoluteJoint "Finger_Right_02_RevoluteJoint" (
|
| 603 |
-
prepend apiSchemas = ["PhysicsJointStateAPI:angular", "PhysicsDriveAPI:angular"]
|
| 604 |
-
)
|
| 605 |
-
{
|
| 606 |
-
float drive:angular:physics:damping = 0
|
| 607 |
-
float drive:angular:physics:maxForce = 0.12
|
| 608 |
-
float drive:angular:physics:stiffness = 0
|
| 609 |
-
float drive:angular:physics:targetPosition = 0
|
| 610 |
-
float drive:angular:physics:targetVelocity = 0
|
| 611 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 612 |
-
token physics:axis = "X"
|
| 613 |
-
custom rel physics:body0 = </arm/link5/Finger_Right_02/Finger_Right_02>
|
| 614 |
-
custom rel physics:body1 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 615 |
-
float physics:breakForce = inf
|
| 616 |
-
float physics:breakTorque = inf
|
| 617 |
-
point3f physics:localPos0 = (-5.173299e-7, 1.7269789, -2.4491472)
|
| 618 |
-
point3f physics:localPos1 = (-0.16868919, -0.45649478, 5.9916687)
|
| 619 |
-
quatf physics:localRot0 = (1, 1.9229503e-12, 1.4099211e-11, -1.479941e-14)
|
| 620 |
-
quatf physics:localRot1 = (1, 0.00009905596, 0.0000035586138, -3.2006255e-8)
|
| 621 |
-
}
|
| 622 |
-
|
| 623 |
-
def PhysicsRevoluteJoint "Finger_Right_03_RevoluteJoint" (
|
| 624 |
-
prepend apiSchemas = ["PhysicsDriveAPI:angular", "PhysicsJointStateAPI:angular"]
|
| 625 |
-
)
|
| 626 |
-
{
|
| 627 |
-
float drive:angular:physics:damping = 0
|
| 628 |
-
float drive:angular:physics:maxForce = 0.12
|
| 629 |
-
float drive:angular:physics:stiffness = 0
|
| 630 |
-
float drive:angular:physics:targetPosition = 0
|
| 631 |
-
float drive:angular:physics:targetVelocity = 0
|
| 632 |
-
uniform token drive:angular:physics:type = "acceleration"
|
| 633 |
-
token physics:axis = "X"
|
| 634 |
-
custom rel physics:body0 = </arm/link5/Finger_Right_03/Finger_Right_03>
|
| 635 |
-
custom rel physics:body1 = </arm/link5/Finger_Right_01/Finger_Right_01>
|
| 636 |
-
float physics:breakForce = inf
|
| 637 |
-
float physics:breakTorque = inf
|
| 638 |
-
point3f physics:localPos0 = (0, 0, 0)
|
| 639 |
-
point3f physics:localPos1 = (0.12363637, -1.7653793, 2.4256)
|
| 640 |
-
quatf physics:localRot0 = (1, 0, 0, 0)
|
| 641 |
-
quatf physics:localRot1 = (1, 1.12872264e-7, 8.302244e-9, -1.2118254e-7)
|
| 642 |
-
float physics:lowerLimit = -30
|
| 643 |
-
float physics:upperLimit = 30
|
| 644 |
-
}
|
| 645 |
-
}
|
| 646 |
-
|
| 647 |
-
def PhysicsFixedJoint "root_joint"
|
| 648 |
-
{
|
| 649 |
-
custom rel physics:body1 = </arm/base_link>
|
| 650 |
-
float physics:breakForce = inf
|
| 651 |
-
float physics:breakTorque = inf
|
| 652 |
-
point3f physics:localPos0 = (0, 0, 0)
|
| 653 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 654 |
-
}
|
| 655 |
-
}
|
| 656 |
-
|
| 657 |
-
over "World"
|
| 658 |
-
{
|
| 659 |
-
def PhysicsScene "physicsScene"
|
| 660 |
-
{
|
| 661 |
-
vector3f physics:gravityDirection = (0, 0, -1)
|
| 662 |
-
float physics:gravityMagnitude = 9.81
|
| 663 |
-
}
|
| 664 |
-
}
|
| 665 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/payloads/Physics/physx.usda
DELETED
|
@@ -1,242 +0,0 @@
|
|
| 1 |
-
#usda 1.0
|
| 2 |
-
(
|
| 3 |
-
customLayerData = {
|
| 4 |
-
}
|
| 5 |
-
defaultPrim = "arm"
|
| 6 |
-
endTimeCode = 100
|
| 7 |
-
metersPerUnit = 1
|
| 8 |
-
startTimeCode = 0
|
| 9 |
-
subLayers = [
|
| 10 |
-
@./physics.usda@
|
| 11 |
-
]
|
| 12 |
-
timeCodesPerSecond = 60
|
| 13 |
-
upAxis = "Z"
|
| 14 |
-
)
|
| 15 |
-
|
| 16 |
-
over "arm" (
|
| 17 |
-
prepend apiSchemas = ["PhysxArticulationAPI"]
|
| 18 |
-
)
|
| 19 |
-
{
|
| 20 |
-
bool physxArticulation:enabledSelfCollisions = 0
|
| 21 |
-
int physxArticulation:solverVelocityIterationCount = 32
|
| 22 |
-
|
| 23 |
-
over "base_link" (
|
| 24 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 25 |
-
)
|
| 26 |
-
{
|
| 27 |
-
bool physxRigidBody:disableGravity = 1 (
|
| 28 |
-
allowedTokens = []
|
| 29 |
-
)
|
| 30 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.049999997
|
| 31 |
-
float physxRigidBody:maxLinearVelocity = inf
|
| 32 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 33 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 34 |
-
|
| 35 |
-
over "joint1" (
|
| 36 |
-
prepend apiSchemas = ["PhysxJointAPI"]
|
| 37 |
-
)
|
| 38 |
-
{
|
| 39 |
-
float physxJoint:jointFriction = 0
|
| 40 |
-
float physxJoint:maxJointVelocity = 57.29578
|
| 41 |
-
}
|
| 42 |
-
}
|
| 43 |
-
|
| 44 |
-
over "link1" (
|
| 45 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 46 |
-
)
|
| 47 |
-
{
|
| 48 |
-
bool physxRigidBody:disableGravity = 1 (
|
| 49 |
-
allowedTokens = []
|
| 50 |
-
)
|
| 51 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.049999997
|
| 52 |
-
float physxRigidBody:maxLinearVelocity = inf
|
| 53 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 54 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 55 |
-
|
| 56 |
-
over "joint2" (
|
| 57 |
-
prepend apiSchemas = ["PhysxJointAPI"]
|
| 58 |
-
)
|
| 59 |
-
{
|
| 60 |
-
float physxJoint:jointFriction = 0
|
| 61 |
-
float physxJoint:maxJointVelocity = 57.29578
|
| 62 |
-
}
|
| 63 |
-
}
|
| 64 |
-
|
| 65 |
-
over "link2" (
|
| 66 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 67 |
-
)
|
| 68 |
-
{
|
| 69 |
-
bool physxRigidBody:disableGravity = 1 (
|
| 70 |
-
allowedTokens = []
|
| 71 |
-
)
|
| 72 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.049999997
|
| 73 |
-
float physxRigidBody:maxLinearVelocity = inf
|
| 74 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 75 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 76 |
-
|
| 77 |
-
over "joint3" (
|
| 78 |
-
prepend apiSchemas = ["PhysxJointAPI"]
|
| 79 |
-
)
|
| 80 |
-
{
|
| 81 |
-
float physxJoint:jointFriction = 0
|
| 82 |
-
float physxJoint:maxJointVelocity = 57.29578
|
| 83 |
-
}
|
| 84 |
-
}
|
| 85 |
-
|
| 86 |
-
over "link3" (
|
| 87 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 88 |
-
)
|
| 89 |
-
{
|
| 90 |
-
bool physxRigidBody:disableGravity = 1 (
|
| 91 |
-
allowedTokens = []
|
| 92 |
-
)
|
| 93 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.049999997
|
| 94 |
-
float physxRigidBody:maxLinearVelocity = inf
|
| 95 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 96 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 97 |
-
|
| 98 |
-
over "joint4" (
|
| 99 |
-
prepend apiSchemas = ["PhysxJointAPI"]
|
| 100 |
-
)
|
| 101 |
-
{
|
| 102 |
-
float physxJoint:jointFriction = 0
|
| 103 |
-
float physxJoint:maxJointVelocity = 57.29578
|
| 104 |
-
}
|
| 105 |
-
}
|
| 106 |
-
|
| 107 |
-
over "link4" (
|
| 108 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 109 |
-
)
|
| 110 |
-
{
|
| 111 |
-
bool physxRigidBody:disableGravity = 1 (
|
| 112 |
-
allowedTokens = []
|
| 113 |
-
)
|
| 114 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.049999997
|
| 115 |
-
float physxRigidBody:maxLinearVelocity = inf
|
| 116 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 117 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 118 |
-
}
|
| 119 |
-
|
| 120 |
-
over "link5"
|
| 121 |
-
{
|
| 122 |
-
bool physxArticulation:enabledSelfCollisions = 0
|
| 123 |
-
int physxArticulation:solverPositionIterationCount = 64
|
| 124 |
-
int physxArticulation:solverVelocityIterationCount = 16
|
| 125 |
-
float physxArticulation:stabilizationThreshold = 1000
|
| 126 |
-
|
| 127 |
-
over "Wrist_Twist" (
|
| 128 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 129 |
-
)
|
| 130 |
-
{
|
| 131 |
-
float physxRigidBody:maxAngularVelocity = 100
|
| 132 |
-
float physxRigidBody:maxContactImpulse = 100
|
| 133 |
-
float physxRigidBody:maxDepenetrationVelocity = 1
|
| 134 |
-
float physxRigidBody:maxLinearVelocity = 1 (
|
| 135 |
-
allowedTokens = []
|
| 136 |
-
)
|
| 137 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 138 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 139 |
-
}
|
| 140 |
-
|
| 141 |
-
over "Finger_Left_01" (
|
| 142 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 143 |
-
)
|
| 144 |
-
{
|
| 145 |
-
float physxRigidBody:maxAngularVelocity = 10
|
| 146 |
-
float physxRigidBody:maxContactImpulse = 10
|
| 147 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.099999994
|
| 148 |
-
float physxRigidBody:maxLinearVelocity = 0.099999994 (
|
| 149 |
-
allowedTokens = []
|
| 150 |
-
)
|
| 151 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 152 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 153 |
-
}
|
| 154 |
-
|
| 155 |
-
over "Finger_Right_01" (
|
| 156 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 157 |
-
)
|
| 158 |
-
{
|
| 159 |
-
float physxRigidBody:maxAngularVelocity = 10
|
| 160 |
-
float physxRigidBody:maxContactImpulse = 10
|
| 161 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.099999994
|
| 162 |
-
float physxRigidBody:maxLinearVelocity = 0.099999994 (
|
| 163 |
-
allowedTokens = []
|
| 164 |
-
)
|
| 165 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 166 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 167 |
-
}
|
| 168 |
-
|
| 169 |
-
over "Finger_Left_03" (
|
| 170 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 171 |
-
)
|
| 172 |
-
{
|
| 173 |
-
float physxRigidBody:maxAngularVelocity = 10
|
| 174 |
-
float physxRigidBody:maxContactImpulse = 10
|
| 175 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.099999994
|
| 176 |
-
float physxRigidBody:maxLinearVelocity = 0.099999994 (
|
| 177 |
-
allowedTokens = []
|
| 178 |
-
)
|
| 179 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 180 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 181 |
-
}
|
| 182 |
-
|
| 183 |
-
over "Finger_Right_03" (
|
| 184 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 185 |
-
)
|
| 186 |
-
{
|
| 187 |
-
float physxRigidBody:maxAngularVelocity = 10
|
| 188 |
-
float physxRigidBody:maxContactImpulse = 10
|
| 189 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.099999994
|
| 190 |
-
float physxRigidBody:maxLinearVelocity = 0.099999994 (
|
| 191 |
-
allowedTokens = []
|
| 192 |
-
)
|
| 193 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 194 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 195 |
-
}
|
| 196 |
-
|
| 197 |
-
over "Finger_Left_02" (
|
| 198 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 199 |
-
)
|
| 200 |
-
{
|
| 201 |
-
float physxRigidBody:maxAngularVelocity = 10
|
| 202 |
-
float physxRigidBody:maxContactImpulse = 10
|
| 203 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.099999994
|
| 204 |
-
float physxRigidBody:maxLinearVelocity = 0.099999994 (
|
| 205 |
-
allowedTokens = []
|
| 206 |
-
)
|
| 207 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 208 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 209 |
-
}
|
| 210 |
-
|
| 211 |
-
over "Finger_Right_02" (
|
| 212 |
-
prepend apiSchemas = ["PhysxRigidBodyAPI"]
|
| 213 |
-
)
|
| 214 |
-
{
|
| 215 |
-
float physxRigidBody:maxAngularVelocity = 10
|
| 216 |
-
float physxRigidBody:maxContactImpulse = 10
|
| 217 |
-
float physxRigidBody:maxDepenetrationVelocity = 0.099999994
|
| 218 |
-
float physxRigidBody:maxLinearVelocity = 0.099999994 (
|
| 219 |
-
allowedTokens = []
|
| 220 |
-
)
|
| 221 |
-
float physxRigidBody:sleepThreshold = 5e-7
|
| 222 |
-
float physxRigidBody:stabilizationThreshold = 1e-9
|
| 223 |
-
}
|
| 224 |
-
}
|
| 225 |
-
}
|
| 226 |
-
|
| 227 |
-
over "World"
|
| 228 |
-
{
|
| 229 |
-
over "physicsScene" (
|
| 230 |
-
prepend apiSchemas = ["PhysxSceneAPI"]
|
| 231 |
-
)
|
| 232 |
-
{
|
| 233 |
-
uniform token physxScene:broadphaseType = "MBP"
|
| 234 |
-
bool physxScene:enableCCD = 1
|
| 235 |
-
bool physxScene:enableGPUDynamics = 0
|
| 236 |
-
bool physxScene:enableStabilization = 1
|
| 237 |
-
float physxScene:frictionCorrelationDistance = 0.00025
|
| 238 |
-
float physxScene:frictionOffsetThreshold = 0.0004
|
| 239 |
-
uniform token physxScene:solverType = "TGS"
|
| 240 |
-
}
|
| 241 |
-
}
|
| 242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/payloads/base.usda
DELETED
|
@@ -1,405 +0,0 @@
|
|
| 1 |
-
#usda 1.0
|
| 2 |
-
(
|
| 3 |
-
customLayerData = {
|
| 4 |
-
}
|
| 5 |
-
defaultPrim = "arm"
|
| 6 |
-
endTimeCode = 100
|
| 7 |
-
metersPerUnit = 1
|
| 8 |
-
startTimeCode = 0
|
| 9 |
-
subLayers = [
|
| 10 |
-
@./robot.usda@
|
| 11 |
-
]
|
| 12 |
-
timeCodesPerSecond = 60
|
| 13 |
-
upAxis = "Z"
|
| 14 |
-
)
|
| 15 |
-
|
| 16 |
-
def Xform "arm"
|
| 17 |
-
{
|
| 18 |
-
custom string isaac:description
|
| 19 |
-
custom string isaac:namespace
|
| 20 |
-
custom rel isaac:physics:robotJoints
|
| 21 |
-
prepend rel isaac:physics:robotJoints = [
|
| 22 |
-
</arm/base_link/joint1>,
|
| 23 |
-
</arm/link1/joint2>,
|
| 24 |
-
</arm/link2/joint3>,
|
| 25 |
-
</arm/link3/joint4>,
|
| 26 |
-
</arm/link5/Wrist_Twist/Wrist_Twist_RevoluteJoint>,
|
| 27 |
-
</arm/link5/Finger_Left_01/Finger_Left_01_RevoluteJoint>,
|
| 28 |
-
</arm/link5/Finger_Right_01/Finger_Right_01_RevoluteJoint>,
|
| 29 |
-
</arm/link5/Finger_Left_02/Finger_Left_02_SphericalJoint>,
|
| 30 |
-
</arm/link5/Finger_Right_02/Finger_Right_02_SphericalJoint>,
|
| 31 |
-
]
|
| 32 |
-
custom rel isaac:physics:robotLinks
|
| 33 |
-
prepend rel isaac:physics:robotLinks = [
|
| 34 |
-
</arm/base_link>,
|
| 35 |
-
</arm/link1>,
|
| 36 |
-
</arm/link2>,
|
| 37 |
-
</arm/link3>,
|
| 38 |
-
</arm/link4>,
|
| 39 |
-
</arm/link5/Wrist_Twist>,
|
| 40 |
-
</arm/link5/Finger_Left_01>,
|
| 41 |
-
</arm/link5/Finger_Right_01>,
|
| 42 |
-
</arm/link5/Finger_Left_03>,
|
| 43 |
-
</arm/link5/Finger_Right_03>,
|
| 44 |
-
</arm/link5/Finger_Left_02>,
|
| 45 |
-
</arm/link5/Finger_Right_02>,
|
| 46 |
-
]
|
| 47 |
-
|
| 48 |
-
def Xform "base_link"
|
| 49 |
-
{
|
| 50 |
-
custom string isaac:nameOverride
|
| 51 |
-
quatf xformOp:orient = (1, 0, 0, 0)
|
| 52 |
-
double3 xformOp:scale = (1, 1, 1)
|
| 53 |
-
float3 xformOp:translate = (1.5459954e-9, 7.4386594e-7, -5.7220456e-7)
|
| 54 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 55 |
-
|
| 56 |
-
def Xform "visuals" (
|
| 57 |
-
instanceable = true
|
| 58 |
-
prepend references = @./instances.usda@</Instances/visuals>
|
| 59 |
-
)
|
| 60 |
-
{
|
| 61 |
-
}
|
| 62 |
-
|
| 63 |
-
def Xform "collisions" (
|
| 64 |
-
instanceable = true
|
| 65 |
-
prepend references = @./instances.usda@</Instances/visuals_1>
|
| 66 |
-
)
|
| 67 |
-
{
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
def Xform "PCB_01" (
|
| 71 |
-
instanceable = true
|
| 72 |
-
prepend references = @./instances.usda@</Instances/PCB_01>
|
| 73 |
-
)
|
| 74 |
-
{
|
| 75 |
-
quatd xformOp:orient = (0.7071067812, 0, 0, 0.7071067812)
|
| 76 |
-
double3 xformOp:scale = (0.009999999776, 0.01000000693, 0.01000000693)
|
| 77 |
-
double3 xformOp:translate = (-1.51339915e-9, -7.247924643e-7, 5.578994626e-7)
|
| 78 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 79 |
-
}
|
| 80 |
-
|
| 81 |
-
def Xform "Base01_01" (
|
| 82 |
-
instanceable = true
|
| 83 |
-
prepend references = @./instances.usda@</Instances/Base01_01>
|
| 84 |
-
)
|
| 85 |
-
{
|
| 86 |
-
quatd xformOp:orient = (0.7071067812, 0, 0, 0.7071067812)
|
| 87 |
-
double3 xformOp:scale = (0.009999999776, 0.01000000693, 0.01000000693)
|
| 88 |
-
double3 xformOp:translate = (-1.51339915e-9, -7.247924643e-7, 5.578994626e-7)
|
| 89 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 90 |
-
}
|
| 91 |
-
|
| 92 |
-
def Xform "Antennas_01" (
|
| 93 |
-
instanceable = true
|
| 94 |
-
prepend references = @./instances.usda@</Instances/Antennas_01>
|
| 95 |
-
)
|
| 96 |
-
{
|
| 97 |
-
quatd xformOp:orient = (0.7071067812, 0, 0, 0.7071067812)
|
| 98 |
-
double3 xformOp:scale = (0.009999999776, 0.01000000693, 0.01000000693)
|
| 99 |
-
double3 xformOp:translate = (-1.51339915e-9, -7.247924643e-7, 5.578994626e-7)
|
| 100 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 101 |
-
}
|
| 102 |
-
}
|
| 103 |
-
|
| 104 |
-
def Xform "link1"
|
| 105 |
-
{
|
| 106 |
-
custom string isaac:nameOverride
|
| 107 |
-
quatf xformOp:orient = (0.9999854, -0.0054042637, 2.9373043e-8, 3.0267986e-9)
|
| 108 |
-
double3 xformOp:scale = (1, 0.999999999998871, 0.999999999998871)
|
| 109 |
-
float3 xformOp:translate = (1.5366822e-9, 1.8024816e-7, 0.066049896)
|
| 110 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 111 |
-
|
| 112 |
-
def Xform "collisions" (
|
| 113 |
-
instanceable = true
|
| 114 |
-
prepend references = @./instances.usda@</Instances/collisions>
|
| 115 |
-
)
|
| 116 |
-
{
|
| 117 |
-
}
|
| 118 |
-
|
| 119 |
-
def Xform "visuals" (
|
| 120 |
-
instanceable = true
|
| 121 |
-
prepend references = @./instances.usda@</Instances/visuals_1_1>
|
| 122 |
-
)
|
| 123 |
-
{
|
| 124 |
-
quatd xformOp:orient = (0.7070964573, 0.003821370514, -0.003821412054, 0.7070964532)
|
| 125 |
-
double3 xformOp:scale = (0.009999999776, 0.01000000335, 0.01000000335)
|
| 126 |
-
double3 xformOp:translate = (-2.0054154e-9, -0.00009151267273, 0.008449656489)
|
| 127 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 128 |
-
}
|
| 129 |
-
}
|
| 130 |
-
|
| 131 |
-
def Xform "link2"
|
| 132 |
-
{
|
| 133 |
-
custom string isaac:nameOverride
|
| 134 |
-
quatf xformOp:orient = (0.70709515, -0.0038200808, 0.70709777, -0.003820095)
|
| 135 |
-
double3 xformOp:scale = (1.0000000713880137, 1, 1.0000000713880137)
|
| 136 |
-
float3 xformOp:translate = (8.0359165e-8, 0.00012933864, 0.107500926)
|
| 137 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 138 |
-
|
| 139 |
-
def Xform "collisions" (
|
| 140 |
-
instanceable = true
|
| 141 |
-
prepend references = @./instances.usda@</Instances/collisions_1>
|
| 142 |
-
)
|
| 143 |
-
{
|
| 144 |
-
}
|
| 145 |
-
|
| 146 |
-
def Xform "Shoulder_Lift"
|
| 147 |
-
{
|
| 148 |
-
double3 xformOp:rotateXYZ = (-90, 0.0000026183336103713373, 90)
|
| 149 |
-
double3 xformOp:scale = (1.0000004768371582, 1, 1)
|
| 150 |
-
double3 xformOp:translate = (0, 0, -7.78784860728042e-8)
|
| 151 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
|
| 152 |
-
}
|
| 153 |
-
|
| 154 |
-
def Xform "visuals" (
|
| 155 |
-
instanceable = true
|
| 156 |
-
prepend references = @./instances.usda@</Instances/visuals_2>
|
| 157 |
-
)
|
| 158 |
-
{
|
| 159 |
-
quatd xformOp:orient = (0.4999999886, -0.5000000114, -0.4999999886, 0.5000000114)
|
| 160 |
-
double3 xformOp:scale = (0.01000000454, 0.009999999776, 0.009999999776)
|
| 161 |
-
double3 xformOp:translate = (-3.552713599e-17, -1.38777875e-19, -7.787848607e-8)
|
| 162 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 163 |
-
}
|
| 164 |
-
}
|
| 165 |
-
|
| 166 |
-
def Xform "link3"
|
| 167 |
-
{
|
| 168 |
-
custom string isaac:nameOverride
|
| 169 |
-
quatf xformOp:orient = (0.70709515, -0.0038200254, 0.70709777, -0.003820039)
|
| 170 |
-
double3 xformOp:scale = (1.0000000713880137, 1, 1.0000000713880137)
|
| 171 |
-
float3 xformOp:translate = (3.2719225e-7, 0.0010245029, 0.19034551)
|
| 172 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 173 |
-
|
| 174 |
-
def Xform "collisions" (
|
| 175 |
-
instanceable = true
|
| 176 |
-
prepend references = @./instances.usda@</Instances/collisions_2>
|
| 177 |
-
)
|
| 178 |
-
{
|
| 179 |
-
}
|
| 180 |
-
|
| 181 |
-
def Xform "visuals" (
|
| 182 |
-
instanceable = true
|
| 183 |
-
prepend references = @./instances.usda@</Instances/visuals_3>
|
| 184 |
-
)
|
| 185 |
-
{
|
| 186 |
-
quatd xformOp:orient = (0.5, -0.5, -0.5, 0.5)
|
| 187 |
-
double3 xformOp:scale = (0.009999999776, 0.01000001408, 0.009999986067)
|
| 188 |
-
double3 xformOp:translate = (3.552709921e-17, 6.938889845e-19, 0)
|
| 189 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 190 |
-
}
|
| 191 |
-
}
|
| 192 |
-
|
| 193 |
-
def Xform "link4"
|
| 194 |
-
{
|
| 195 |
-
custom string isaac:nameOverride
|
| 196 |
-
quatf xformOp:orient = (0.7071009, -0.0008825615, 0.70711154, -0.00088266656)
|
| 197 |
-
double3 xformOp:scale = (0.9999999228219483, 0.9999999999999999, 0.9999999228219483)
|
| 198 |
-
float3 xformOp:translate = (5.00977e-7, 0.001919632, 0.27319115)
|
| 199 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 200 |
-
|
| 201 |
-
def Xform "Wrist_Lift" (
|
| 202 |
-
instanceable = true
|
| 203 |
-
prepend references = @./instances.usda@</Instances/Wrist_Lift>
|
| 204 |
-
)
|
| 205 |
-
{
|
| 206 |
-
quatd xformOp:orient = (0.5, -0.5, -0.5, 0.5)
|
| 207 |
-
double3 xformOp:scale = (0.009999999776, 0.009999999776, 0.009999999776)
|
| 208 |
-
double3 xformOp:translate = (0, 0, 0)
|
| 209 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 210 |
-
}
|
| 211 |
-
|
| 212 |
-
def Camera "Camera" (
|
| 213 |
-
hide_in_stage_window = false
|
| 214 |
-
kind = "model"
|
| 215 |
-
no_delete = false
|
| 216 |
-
)
|
| 217 |
-
{
|
| 218 |
-
float2 clippingRange = (0.01, 10000)
|
| 219 |
-
float focalLength = 0.24
|
| 220 |
-
float focusDistance = 4
|
| 221 |
-
float horizontalAperture = 0.20955
|
| 222 |
-
float horizontalApertureOffset = 0
|
| 223 |
-
float verticalAperture = 0.152908
|
| 224 |
-
float verticalApertureOffset = 0
|
| 225 |
-
double3 xformOp:rotateXYZ = (0, -90, 180)
|
| 226 |
-
double3 xformOp:scale = (1.000001311302185, 0.9999985098838806, 1.0000008344650269)
|
| 227 |
-
double3 xformOp:translate = (-0.06957090357886422, -0.04809993689687652, -0.0006000007241970178)
|
| 228 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
|
| 229 |
-
|
| 230 |
-
def Xform "OmniverseKitViewportCameraMesh" (
|
| 231 |
-
always_pick_model = true
|
| 232 |
-
hide_in_stage_window = true
|
| 233 |
-
instanceable = true
|
| 234 |
-
kind = "subcomponent"
|
| 235 |
-
no_delete = true
|
| 236 |
-
prepend references = @./instances.usda@</Instances/CameraModel>
|
| 237 |
-
)
|
| 238 |
-
{
|
| 239 |
-
float3[] extent = [(3.4028235e38, 3.4028235e38, 3.4028235e38), (-3.4028235e38, -3.4028235e38, -3.4028235e38)]
|
| 240 |
-
bool primvars:doNotCastShadows = 1
|
| 241 |
-
token visibility = "invisible"
|
| 242 |
-
quatd xformOp:orient = (1, 0, 0, 0)
|
| 243 |
-
double3 xformOp:scale = (0.1422010362, 0.1422010362, 0.1422010362)
|
| 244 |
-
double3 xformOp:translate = (0, 0, 0)
|
| 245 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 246 |
-
}
|
| 247 |
-
}
|
| 248 |
-
}
|
| 249 |
-
|
| 250 |
-
def Xform "link5" (
|
| 251 |
-
apiSchemas = None
|
| 252 |
-
instanceable = false
|
| 253 |
-
)
|
| 254 |
-
{
|
| 255 |
-
token visibility = "inherited"
|
| 256 |
-
float3 xformOp:rotateXYZ = (0, 0, 90)
|
| 257 |
-
float3 xformOp:scale = (1, 1, 1)
|
| 258 |
-
double3 xformOp:translate = (0, 0, 0)
|
| 259 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
|
| 260 |
-
|
| 261 |
-
def Xform "Wrist_Twist"
|
| 262 |
-
{
|
| 263 |
-
custom string isaac:nameOverride
|
| 264 |
-
token visibility = "inherited"
|
| 265 |
-
quatf xformOp:orient = (0.9999994, 5.9269006e-8, -0.0010918181, -0.0000031299985)
|
| 266 |
-
double3 xformOp:scale = (0.999999463558197, 1, 1.0000005960464478)
|
| 267 |
-
double3 xformOp:translate = (-0.0024486922670448052, 0.000605108277385496, 0.33869979101345393)
|
| 268 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 269 |
-
|
| 270 |
-
def Xform "Wrist_Twist" (
|
| 271 |
-
instanceable = true
|
| 272 |
-
prepend references = @./instances.usda@</Instances/Wrist_Twist>
|
| 273 |
-
)
|
| 274 |
-
{
|
| 275 |
-
quatd xformOp:orient = (1, 0, 0, 0)
|
| 276 |
-
double3 xformOp:scale = (0.009999999776, 0.009999999776, 0.009999999776)
|
| 277 |
-
double3 xformOp:translate = (-2.7755575e-19, 0, -7.105427199e-17)
|
| 278 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 279 |
-
}
|
| 280 |
-
}
|
| 281 |
-
|
| 282 |
-
def Xform "Finger_Left_01"
|
| 283 |
-
{
|
| 284 |
-
custom string isaac:nameOverride
|
| 285 |
-
token visibility = "inherited"
|
| 286 |
-
quatf xformOp:orient = (0.99999934, -0.00035134863, -0.0010898734, -0.0000032389833)
|
| 287 |
-
double3 xformOp:scale = (0.999999463558197, 1, 1.0000004768371582)
|
| 288 |
-
double3 xformOp:translate = (-0.005462167140942057, 0.01275498361688143, 0.38061209781589866)
|
| 289 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 290 |
-
|
| 291 |
-
def Xform "Finger_Left_01" (
|
| 292 |
-
instanceable = true
|
| 293 |
-
prepend references = @./instances.usda@</Instances/Finger_Left_01>
|
| 294 |
-
)
|
| 295 |
-
{
|
| 296 |
-
quatd xformOp:orient = (1, 0, 0, 0)
|
| 297 |
-
double3 xformOp:scale = (0.009999999776, 0.009999999776, 0.009999999776)
|
| 298 |
-
double3 xformOp:translate = (0, 0, 0)
|
| 299 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 300 |
-
}
|
| 301 |
-
}
|
| 302 |
-
|
| 303 |
-
def Xform "Finger_Right_01"
|
| 304 |
-
{
|
| 305 |
-
custom string isaac:nameOverride
|
| 306 |
-
token visibility = "inherited"
|
| 307 |
-
quatf xformOp:orient = (0.99999934, 0.00038074935, -0.0010799972, -0.0000024802955)
|
| 308 |
-
double3 xformOp:scale = (1.0000008344650269, 0.9999991059303284, 1)
|
| 309 |
-
double3 xformOp:translate = (-0.005462308403947011, -0.011794907783085675, 0.38061209781589866)
|
| 310 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 311 |
-
|
| 312 |
-
def Xform "Finger_Right_01" (
|
| 313 |
-
instanceable = true
|
| 314 |
-
prepend references = @./instances.usda@</Instances/Finger_Right_01>
|
| 315 |
-
)
|
| 316 |
-
{
|
| 317 |
-
quatd xformOp:orient = (1, 0, 0, 0)
|
| 318 |
-
double3 xformOp:scale = (0.009999999776, 0.009999999776, 0.009999999776)
|
| 319 |
-
double3 xformOp:translate = (-1.110223e-18, 2.220446e-18, 0)
|
| 320 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 321 |
-
}
|
| 322 |
-
}
|
| 323 |
-
|
| 324 |
-
def Xform "Finger_Left_03" (
|
| 325 |
-
instanceable = true
|
| 326 |
-
prepend references = @./instances.usda@</Instances/Finger_Left_03>
|
| 327 |
-
)
|
| 328 |
-
{
|
| 329 |
-
custom string isaac:nameOverride
|
| 330 |
-
token visibility = "inherited"
|
| 331 |
-
quatd xformOp:orient = (0.999999404, -0.0001229924869, -0.001084876315, -0.000002961403791)
|
| 332 |
-
double3 xformOp:scale = (0.009999994412, 0.009999999776, 0.01000000454)
|
| 333 |
-
double3 xformOp:translate = (-0.004276864135, 0.03089094808, 0.4045123964)
|
| 334 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 335 |
-
}
|
| 336 |
-
|
| 337 |
-
def Xform "Finger_Right_03" (
|
| 338 |
-
instanceable = true
|
| 339 |
-
prepend references = @./instances.usda@</Instances/Finger_Right_03>
|
| 340 |
-
)
|
| 341 |
-
{
|
| 342 |
-
custom string isaac:nameOverride
|
| 343 |
-
token visibility = "inherited"
|
| 344 |
-
quatd xformOp:orient = (0.999999404, 0.0001006576781, -0.001087176068, -0.000002961403158)
|
| 345 |
-
double3 xformOp:scale = (0.009999994412, 0.009999999776, 0.01000000454)
|
| 346 |
-
double3 xformOp:translate = (-0.004277966225, -0.02946700746, 0.4048573976)
|
| 347 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 348 |
-
}
|
| 349 |
-
|
| 350 |
-
def Xform "Finger_Left_02"
|
| 351 |
-
{
|
| 352 |
-
custom string isaac:nameOverride
|
| 353 |
-
token visibility = "inherited"
|
| 354 |
-
quatf xformOp:orient = (0.99999934, -0.0003527731, -0.0010893947, -0.0000034918837)
|
| 355 |
-
double3 xformOp:scale = (0.999999463558197, 1, 1.0000004768371582)
|
| 356 |
-
double3 xformOp:translate = (-0.004264077150879565, 0.005108910088786999, 0.39861651483290217)
|
| 357 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 358 |
-
|
| 359 |
-
def Xform "Finger_Left_02" (
|
| 360 |
-
instanceable = true
|
| 361 |
-
prepend references = @./instances.usda@</Instances/Finger_Left_02>
|
| 362 |
-
)
|
| 363 |
-
{
|
| 364 |
-
quatd xformOp:orient = (1, 0, 0, 0)
|
| 365 |
-
double3 xformOp:scale = (0.009999999776, 0.009999999776, 0.009999999776)
|
| 366 |
-
double3 xformOp:translate = (-5.551114999e-19, -1.110223e-18, 0)
|
| 367 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 368 |
-
}
|
| 369 |
-
}
|
| 370 |
-
|
| 371 |
-
def Xform "Finger_Right_02"
|
| 372 |
-
{
|
| 373 |
-
custom string isaac:nameOverride
|
| 374 |
-
token visibility = "inherited"
|
| 375 |
-
quatf xformOp:orient = (0.99999934, 0.00038121297, -0.001079797, -0.0000026489224)
|
| 376 |
-
double3 xformOp:scale = (0.999999463558197, 1, 1.0000004768371582)
|
| 377 |
-
double3 xformOp:translate = (-0.004316289924466084, -0.021248104097363996, 0.4230906201208242)
|
| 378 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 379 |
-
|
| 380 |
-
def Xform "Finger_Right_02" (
|
| 381 |
-
instanceable = true
|
| 382 |
-
prepend references = @./instances.usda@</Instances/Finger_Right_02>
|
| 383 |
-
)
|
| 384 |
-
{
|
| 385 |
-
quatd xformOp:orient = (1, 0, 0, 0)
|
| 386 |
-
double3 xformOp:scale = (0.009999999776, 0.009999999776, 0.009999999776)
|
| 387 |
-
double3 xformOp:translate = (-5.551114999e-19, 0, -7.105427199e-17)
|
| 388 |
-
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
|
| 389 |
-
}
|
| 390 |
-
}
|
| 391 |
-
|
| 392 |
-
def Scope "Looks"
|
| 393 |
-
{
|
| 394 |
-
}
|
| 395 |
-
}
|
| 396 |
-
|
| 397 |
-
def Scope "Looks"
|
| 398 |
-
{
|
| 399 |
-
}
|
| 400 |
-
|
| 401 |
-
def Scope "VisualMaterials"
|
| 402 |
-
{
|
| 403 |
-
}
|
| 404 |
-
}
|
| 405 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9debb6c209a4bdb63a30bc0d52eb527ebd06da654ef24ac20c7a46d86ef05c9b
|
| 3 |
-
size 104855194
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/payloads/instances.usda
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
yahboom_dofbot/payloads/materials.usda
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
yahboom_dofbot/payloads/robot.usda
DELETED
|
@@ -1,179 +0,0 @@
|
|
| 1 |
-
#usda 1.0
|
| 2 |
-
(
|
| 3 |
-
customLayerData = {
|
| 4 |
-
}
|
| 5 |
-
defaultPrim = "arm"
|
| 6 |
-
endTimeCode = 100
|
| 7 |
-
metersPerUnit = 1
|
| 8 |
-
startTimeCode = 0
|
| 9 |
-
timeCodesPerSecond = 60
|
| 10 |
-
upAxis = "Z"
|
| 11 |
-
)
|
| 12 |
-
|
| 13 |
-
over "arm" (
|
| 14 |
-
prepend apiSchemas = ["IsaacRobotAPI"]
|
| 15 |
-
)
|
| 16 |
-
{
|
| 17 |
-
prepend rel isaac:physics:robotJoints = [
|
| 18 |
-
</arm/link5/Wrist_Twist/Wrist_Twist_RevoluteJoint>,
|
| 19 |
-
</arm/link3/joint4>,
|
| 20 |
-
</arm/link2/joint3>,
|
| 21 |
-
</arm/link1/joint2>,
|
| 22 |
-
</arm/base_link/joint1>,
|
| 23 |
-
</arm/root_joint>,
|
| 24 |
-
]
|
| 25 |
-
prepend rel isaac:physics:robotLinks = [
|
| 26 |
-
</arm/link5/Wrist_Twist>,
|
| 27 |
-
</arm/link4>,
|
| 28 |
-
</arm/link3>,
|
| 29 |
-
</arm/link2>,
|
| 30 |
-
</arm/link2/Shoulder_Lift>,
|
| 31 |
-
</arm/link1>,
|
| 32 |
-
</arm/base_link>,
|
| 33 |
-
]
|
| 34 |
-
token isaac:robotType = "Manipulator"
|
| 35 |
-
|
| 36 |
-
over "link5"
|
| 37 |
-
{
|
| 38 |
-
over "Finger_Left_03"
|
| 39 |
-
{
|
| 40 |
-
over "Finger_Left_03"
|
| 41 |
-
{
|
| 42 |
-
}
|
| 43 |
-
}
|
| 44 |
-
|
| 45 |
-
over "Finger_Right_03"
|
| 46 |
-
{
|
| 47 |
-
over "Finger_Right_03"
|
| 48 |
-
{
|
| 49 |
-
}
|
| 50 |
-
}
|
| 51 |
-
|
| 52 |
-
over "Finger_Left_02"
|
| 53 |
-
{
|
| 54 |
-
over "Finger_Left_02"
|
| 55 |
-
{
|
| 56 |
-
}
|
| 57 |
-
|
| 58 |
-
over "Finger_Left_02_SphericalJoint" (
|
| 59 |
-
prepend apiSchemas = ["IsaacJointAPI"]
|
| 60 |
-
)
|
| 61 |
-
{
|
| 62 |
-
custom string isaac:nameOverride
|
| 63 |
-
float[] isaac:physics:AccelerationLimit
|
| 64 |
-
float[] isaac:physics:JerkLimit
|
| 65 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 66 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 67 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 68 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 69 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 70 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 71 |
-
}
|
| 72 |
-
}
|
| 73 |
-
|
| 74 |
-
over "Finger_Right_02"
|
| 75 |
-
{
|
| 76 |
-
over "Finger_Right_02"
|
| 77 |
-
{
|
| 78 |
-
}
|
| 79 |
-
|
| 80 |
-
over "Finger_Right_02_SphericalJoint" (
|
| 81 |
-
prepend apiSchemas = ["IsaacJointAPI"]
|
| 82 |
-
)
|
| 83 |
-
{
|
| 84 |
-
custom string isaac:nameOverride
|
| 85 |
-
float[] isaac:physics:AccelerationLimit
|
| 86 |
-
float[] isaac:physics:JerkLimit
|
| 87 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 88 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 89 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 90 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 91 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 92 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 93 |
-
}
|
| 94 |
-
}
|
| 95 |
-
|
| 96 |
-
over "Wrist_Twist" (
|
| 97 |
-
prepend apiSchemas = ["IsaacLinkAPI"]
|
| 98 |
-
)
|
| 99 |
-
{
|
| 100 |
-
over "Wrist_Twist_RevoluteJoint" (
|
| 101 |
-
prepend apiSchemas = ["IsaacJointAPI"]
|
| 102 |
-
)
|
| 103 |
-
{
|
| 104 |
-
}
|
| 105 |
-
}
|
| 106 |
-
}
|
| 107 |
-
|
| 108 |
-
over "root_joint" (
|
| 109 |
-
prepend apiSchemas = ["IsaacJointAPI"]
|
| 110 |
-
)
|
| 111 |
-
{
|
| 112 |
-
custom string isaac:nameOverride
|
| 113 |
-
float[] isaac:physics:AccelerationLimit
|
| 114 |
-
float[] isaac:physics:JerkLimit
|
| 115 |
-
custom int isaac:physics:Rot_X:DofOffset
|
| 116 |
-
custom int isaac:physics:Rot_Y:DofOffset
|
| 117 |
-
custom int isaac:physics:Rot_Z:DofOffset
|
| 118 |
-
custom int isaac:physics:Tr_X:DofOffset
|
| 119 |
-
custom int isaac:physics:Tr_Y:DofOffset
|
| 120 |
-
custom int isaac:physics:Tr_Z:DofOffset
|
| 121 |
-
}
|
| 122 |
-
|
| 123 |
-
over "link4" (
|
| 124 |
-
prepend apiSchemas = ["IsaacLinkAPI"]
|
| 125 |
-
)
|
| 126 |
-
{
|
| 127 |
-
}
|
| 128 |
-
|
| 129 |
-
over "link3" (
|
| 130 |
-
prepend apiSchemas = ["IsaacLinkAPI"]
|
| 131 |
-
)
|
| 132 |
-
{
|
| 133 |
-
over "joint4" (
|
| 134 |
-
prepend apiSchemas = ["IsaacJointAPI"]
|
| 135 |
-
)
|
| 136 |
-
{
|
| 137 |
-
}
|
| 138 |
-
}
|
| 139 |
-
|
| 140 |
-
over "link2" (
|
| 141 |
-
prepend apiSchemas = ["IsaacLinkAPI"]
|
| 142 |
-
)
|
| 143 |
-
{
|
| 144 |
-
over "joint3" (
|
| 145 |
-
prepend apiSchemas = ["IsaacJointAPI"]
|
| 146 |
-
)
|
| 147 |
-
{
|
| 148 |
-
}
|
| 149 |
-
|
| 150 |
-
over "Shoulder_Lift" (
|
| 151 |
-
prepend apiSchemas = ["IsaacSiteAPI"]
|
| 152 |
-
)
|
| 153 |
-
{
|
| 154 |
-
}
|
| 155 |
-
}
|
| 156 |
-
|
| 157 |
-
over "link1" (
|
| 158 |
-
prepend apiSchemas = ["IsaacLinkAPI"]
|
| 159 |
-
)
|
| 160 |
-
{
|
| 161 |
-
over "joint2" (
|
| 162 |
-
prepend apiSchemas = ["IsaacJointAPI"]
|
| 163 |
-
)
|
| 164 |
-
{
|
| 165 |
-
}
|
| 166 |
-
}
|
| 167 |
-
|
| 168 |
-
over "base_link" (
|
| 169 |
-
prepend apiSchemas = ["IsaacLinkAPI"]
|
| 170 |
-
)
|
| 171 |
-
{
|
| 172 |
-
over "joint1" (
|
| 173 |
-
prepend apiSchemas = ["IsaacJointAPI"]
|
| 174 |
-
)
|
| 175 |
-
{
|
| 176 |
-
}
|
| 177 |
-
}
|
| 178 |
-
}
|
| 179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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eshCollisionAPI"]
|
| 14 |
-
)
|
| 15 |
-
{
|
| 16 |
-
uniform token physics:approximation = "convexHull"
|
| 17 |
-
}
|
| 18 |
-
}
|
| 19 |
-
|
| 20 |
-
over "Finger_Right_03"
|
| 21 |
-
{
|
| 22 |
-
over "Finger_Right_03" (
|
| 23 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 24 |
-
)
|
| 25 |
-
{
|
| 26 |
-
uniform token physics:approximation = "convexHull"
|
| 27 |
-
}
|
| 28 |
-
}
|
| 29 |
-
|
| 30 |
-
over "Finger_Left_02"
|
| 31 |
-
{
|
| 32 |
-
over "Finger_Left_02"
|
| 33 |
-
{
|
| 34 |
-
over "Finger_Left_02" (
|
| 35 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 36 |
-
)
|
| 37 |
-
{
|
| 38 |
-
uniform token physics:approximation = "convexHull"
|
| 39 |
-
}
|
| 40 |
-
}
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
over "Finger_Right_02"
|
| 44 |
-
{
|
| 45 |
-
over "Finger_Right_02"
|
| 46 |
-
{
|
| 47 |
-
over "Finger_Right_02" (
|
| 48 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 49 |
-
)
|
| 50 |
-
{
|
| 51 |
-
uniform token physics:approximation = "convexHull"
|
| 52 |
-
}
|
| 53 |
-
}
|
| 54 |
-
}
|
| 55 |
-
|
| 56 |
-
over "Wrist_Twist"
|
| 57 |
-
{
|
| 58 |
-
over "Wrist_Twist"
|
| 59 |
-
{
|
| 60 |
-
over "Wrist_Twist" (
|
| 61 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 62 |
-
)
|
| 63 |
-
{
|
| 64 |
-
uniform token physics:approximation = "convexHull"
|
| 65 |
-
}
|
| 66 |
-
}
|
| 67 |
-
|
| 68 |
-
over "Wrist_Twist_RevoluteJoint" (
|
| 69 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 70 |
-
)
|
| 71 |
-
{
|
| 72 |
-
float drive:angular:physics:damping = None
|
| 73 |
-
float drive:angular:physics:stiffness = None
|
| 74 |
-
float drive:angular:physics:targetPosition = -0
|
| 75 |
-
rel physics:body0 = </arm/link4>
|
| 76 |
-
rel physics:body1 = </arm/link5/Wrist_Twist>
|
| 77 |
-
point3f physics:localPos0 = (-0.06549733, -0.0045318594, -0.00060643995)
|
| 78 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 79 |
-
quatf physics:localRot0 = (-0.4988273, 0.49882996, 0.50117344, -0.50116396)
|
| 80 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 81 |
-
}
|
| 82 |
-
}
|
| 83 |
-
|
| 84 |
-
over "Finger_Left_01"
|
| 85 |
-
{
|
| 86 |
-
over "Finger_Left_01"
|
| 87 |
-
{
|
| 88 |
-
over "Finger_Left_01" (
|
| 89 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 90 |
-
)
|
| 91 |
-
{
|
| 92 |
-
uniform token physics:approximation = "convexHull"
|
| 93 |
-
}
|
| 94 |
-
}
|
| 95 |
-
|
| 96 |
-
over "Finger_Left_01_RevoluteJoint" (
|
| 97 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 98 |
-
)
|
| 99 |
-
{
|
| 100 |
-
float drive:angular:physics:damping = None
|
| 101 |
-
float drive:angular:physics:stiffness = None
|
| 102 |
-
float drive:angular:physics:targetPosition = -0
|
| 103 |
-
rel physics:body0 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 104 |
-
rel physics:body1 = </arm/link5/Finger_Left_01>
|
| 105 |
-
point3f physics:localPos0 = (-0.29220235, 1.2149862, 4.1918764)
|
| 106 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 107 |
-
quatf physics:localRot0 = (1, -1e-45, 6.162976e-33, -0)
|
| 108 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 109 |
-
float physics:lowerLimit = -30
|
| 110 |
-
float physics:upperLimit = 30
|
| 111 |
-
}
|
| 112 |
-
}
|
| 113 |
-
|
| 114 |
-
over "Finger_Right_01"
|
| 115 |
-
{
|
| 116 |
-
over "Finger_Right_01"
|
| 117 |
-
{
|
| 118 |
-
over "Finger_Right_01" (
|
| 119 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 120 |
-
)
|
| 121 |
-
{
|
| 122 |
-
uniform token physics:approximation = "convexHull"
|
| 123 |
-
}
|
| 124 |
-
}
|
| 125 |
-
|
| 126 |
-
over "Finger_Right_01_RevoluteJoint" (
|
| 127 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 128 |
-
)
|
| 129 |
-
{
|
| 130 |
-
float drive:angular:physics:damping = None
|
| 131 |
-
float drive:angular:physics:stiffness = None
|
| 132 |
-
float drive:angular:physics:targetPosition = -0
|
| 133 |
-
rel physics:body0 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 134 |
-
rel physics:body1 = </arm/link5/Finger_Right_01>
|
| 135 |
-
point3f physics:localPos0 = (-0.29220113, -1.240003, 4.1918764)
|
| 136 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 137 |
-
quatf physics:localRot0 = (1, -1e-45, 6.162985e-33, -0)
|
| 138 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 139 |
-
float physics:lowerLimit = -30
|
| 140 |
-
float physics:upperLimit = 30
|
| 141 |
-
}
|
| 142 |
-
}
|
| 143 |
-
|
| 144 |
-
over "Finger_Left_02_RevoluteJoint" (
|
| 145 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 146 |
-
)
|
| 147 |
-
{
|
| 148 |
-
float drive:angular:physics:targetPosition = -0
|
| 149 |
-
float drive:angular:physics:targetVelocity = -0
|
| 150 |
-
rel physics:body0 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 151 |
-
rel physics:body1 = </arm/link5/Finger_Left_02/Finger_Left_02>
|
| 152 |
-
point3f physics:localPos0 = (-0.16869655, 0.4503985, 5.992106)
|
| 153 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 154 |
-
quatf physics:localRot0 = (1, -0.00011703074, 0.0000049658033, -3.4355e-8)
|
| 155 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 156 |
-
}
|
| 157 |
-
|
| 158 |
-
over "Finger_Left_03_RevoluteJoint" (
|
| 159 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 160 |
-
)
|
| 161 |
-
{
|
| 162 |
-
float drive:angular:physics:targetPosition = -0
|
| 163 |
-
float drive:angular:physics:targetVelocity = -0
|
| 164 |
-
rel physics:body0 = </arm/link5/Finger_Left_01/Finger_Left_01>
|
| 165 |
-
rel physics:body1 = </arm/link5/Finger_Left_03/Finger_Left_03>
|
| 166 |
-
point3f physics:localPos0 = (0.12363685, 1.8119415, 2.3910213)
|
| 167 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 168 |
-
quatf physics:localRot0 = (1, 8.7435e-9, -7.463727e-10, 1.3773865e-9)
|
| 169 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 170 |
-
float physics:lowerLimit = -30
|
| 171 |
-
float physics:upperLimit = 30
|
| 172 |
-
}
|
| 173 |
-
|
| 174 |
-
over "Finger_Right_02_RevoluteJoint" (
|
| 175 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 176 |
-
)
|
| 177 |
-
{
|
| 178 |
-
float drive:angular:physics:targetPosition = -0
|
| 179 |
-
float drive:angular:physics:targetVelocity = -0
|
| 180 |
-
rel physics:body0 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 181 |
-
rel physics:body1 = </arm/link5/Finger_Right_02/Finger_Right_02>
|
| 182 |
-
point3f physics:localPos0 = (-0.16868919, -0.45649478, 5.9916687)
|
| 183 |
-
point3f physics:localPos1 = (-5.173299e-7, 1.7269789, -2.4491472)
|
| 184 |
-
quatf physics:localRot0 = (1, 0.00009905596, 0.0000035586138, -3.2006255e-8)
|
| 185 |
-
quatf physics:localRot1 = (1, 1.9229503e-12, 1.4099211e-11, -1.479941e-14)
|
| 186 |
-
}
|
| 187 |
-
|
| 188 |
-
over "Finger_Right_03_RevoluteJoint" (
|
| 189 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 190 |
-
)
|
| 191 |
-
{
|
| 192 |
-
float drive:angular:physics:targetPosition = -0
|
| 193 |
-
float drive:angular:physics:targetVelocity = -0
|
| 194 |
-
rel physics:body0 = </arm/link5/Finger_Right_01/Finger_Right_01>
|
| 195 |
-
rel physics:body1 = </arm/link5/Finger_Right_03/Finger_Right_03>
|
| 196 |
-
point3f physics:localPos0 = (0.12363637, -1.7653793, 2.4256)
|
| 197 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 198 |
-
quatf physics:localRot0 = (1, 1.12872264e-7, 8.302244e-9, -1.2118254e-7)
|
| 199 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 200 |
-
float physics:lowerLimit = -30
|
| 201 |
-
float physics:upperLimit = 30
|
| 202 |
-
}
|
| 203 |
-
}
|
| 204 |
-
|
| 205 |
-
over "link4"
|
| 206 |
-
{
|
| 207 |
-
over "Wrist_Lift"
|
| 208 |
-
{
|
| 209 |
-
over "Wrist_Lift" (
|
| 210 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 211 |
-
)
|
| 212 |
-
{
|
| 213 |
-
uniform token physics:approximation = "convexHull"
|
| 214 |
-
}
|
| 215 |
-
}
|
| 216 |
-
}
|
| 217 |
-
|
| 218 |
-
over "link3"
|
| 219 |
-
{
|
| 220 |
-
over "collisions"
|
| 221 |
-
{
|
| 222 |
-
over "collisions_2" (
|
| 223 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 224 |
-
)
|
| 225 |
-
{
|
| 226 |
-
uniform token physics:approximation = "convexHull"
|
| 227 |
-
}
|
| 228 |
-
}
|
| 229 |
-
|
| 230 |
-
over "joint4" (
|
| 231 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 232 |
-
)
|
| 233 |
-
{
|
| 234 |
-
float drive:angular:physics:damping = None
|
| 235 |
-
float drive:angular:physics:stiffness = None
|
| 236 |
-
}
|
| 237 |
-
}
|
| 238 |
-
|
| 239 |
-
over "link2"
|
| 240 |
-
{
|
| 241 |
-
over "collisions"
|
| 242 |
-
{
|
| 243 |
-
over "collisions_1" (
|
| 244 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 245 |
-
)
|
| 246 |
-
{
|
| 247 |
-
uniform token physics:approximation = "convexHull"
|
| 248 |
-
}
|
| 249 |
-
}
|
| 250 |
-
|
| 251 |
-
over "joint3" (
|
| 252 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 253 |
-
)
|
| 254 |
-
{
|
| 255 |
-
float drive:angular:physics:damping = None
|
| 256 |
-
float drive:angular:physics:stiffness = None
|
| 257 |
-
}
|
| 258 |
-
}
|
| 259 |
-
|
| 260 |
-
over "link1"
|
| 261 |
-
{
|
| 262 |
-
over "collisions"
|
| 263 |
-
{
|
| 264 |
-
over "collisions" (
|
| 265 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 266 |
-
)
|
| 267 |
-
{
|
| 268 |
-
uniform token physics:approximation = "convexHull"
|
| 269 |
-
}
|
| 270 |
-
}
|
| 271 |
-
|
| 272 |
-
over "joint2" (
|
| 273 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 274 |
-
)
|
| 275 |
-
{
|
| 276 |
-
float drive:angular:physics:damping = None
|
| 277 |
-
float drive:angular:physics:stiffness = None
|
| 278 |
-
}
|
| 279 |
-
}
|
| 280 |
-
|
| 281 |
-
over "base_link"
|
| 282 |
-
{
|
| 283 |
-
over "collisions"
|
| 284 |
-
{
|
| 285 |
-
over "visuals" (
|
| 286 |
-
prepend apiSchemas = ["MjcCollisionAPI", "PhysicsMeshCollisionAPI", "MjcMeshCollisionAPI"]
|
| 287 |
-
)
|
| 288 |
-
{
|
| 289 |
-
uniform token physics:approximation = "convexHull"
|
| 290 |
-
}
|
| 291 |
-
}
|
| 292 |
-
|
| 293 |
-
over "joint1" (
|
| 294 |
-
prepend apiSchemas = ["MjcJointAPI"]
|
| 295 |
-
)
|
| 296 |
-
{
|
| 297 |
-
float drive:angular:physics:damping = None
|
| 298 |
-
float drive:angular:physics:stiffness = None
|
| 299 |
-
}
|
| 300 |
-
}
|
| 301 |
-
|
| 302 |
-
def "MuJoCoActuators"
|
| 303 |
-
{
|
| 304 |
-
def MjcActuator "act_arm_link5_Wrist_Twist_Wrist_Twist_RevoluteJoint" (
|
| 305 |
-
doc = "Position servo: control is joint angle in radians. Gains calibrated from source acceleration drive and MuJoCo reflected inertia at qpos0; not configuration-independent acceleration control. Original effort limit retained. Reversed wrist/finger coordinates use the opposite sign to PhysX."
|
| 306 |
-
)
|
| 307 |
-
{
|
| 308 |
-
double[] mjc:biasPrm = [0, -1.7630056406940096, -0.017630056406940098, 0, 0, 0, 0, 0, 0, 0]
|
| 309 |
-
token mjc:biasType = "affine"
|
| 310 |
-
token mjc:ctrlLimited = "false"
|
| 311 |
-
token mjc:forceLimited = "true"
|
| 312 |
-
double mjc:forceRange:max = 0.09999999403953552
|
| 313 |
-
double mjc:forceRange:min = -0.09999999403953552
|
| 314 |
-
double[] mjc:gainPrm = [1.7630056406940096, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
| 315 |
-
token mjc:gainType = "affine"
|
| 316 |
-
rel mjc:target = </arm/link5/Wrist_Twist/Wrist_Twist_RevoluteJoint>
|
| 317 |
-
}
|
| 318 |
-
|
| 319 |
-
def MjcActuator "act_arm_link5_Finger_Left_01_Finger_Left_01_RevoluteJoint" (
|
| 320 |
-
doc = "Position servo: control is joint angle in radians. Gains calibrated from source acceleration drive and MuJoCo reflected inertia at qpos0; not configuration-independent acceleration control. Original effort limit retained. Reversed wrist/finger coordinates use the opposite sign to PhysX."
|
| 321 |
-
)
|
| 322 |
-
{
|
| 323 |
-
double[] mjc:biasPrm = [0, -2.203656960666276, -0.367276160111046, 0, 0, 0, 0, 0, 0, 0]
|
| 324 |
-
token mjc:biasType = "affine"
|
| 325 |
-
token mjc:ctrlLimited = "false"
|
| 326 |
-
token mjc:forceLimited = "true"
|
| 327 |
-
double mjc:forceRange:max = 0.11999999731779099
|
| 328 |
-
double mjc:forceRange:min = -0.11999999731779099
|
| 329 |
-
double[] mjc:gainPrm = [2.203656960666276, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
| 330 |
-
token mjc:gainType = "affine"
|
| 331 |
-
rel mjc:target = </arm/link5/Finger_Left_01/Finger_Left_01_RevoluteJoint>
|
| 332 |
-
}
|
| 333 |
-
|
| 334 |
-
def MjcActuator "act_arm_link5_Finger_Right_01_Finger_Right_01_RevoluteJoint" (
|
| 335 |
-
doc = "Position servo: control is joint angle in radians. Gains calibrated from source acceleration drive and MuJoCo reflected inertia at qpos0; not configuration-independent acceleration control. Original effort limit retained. Reversed wrist/finger coordinates use the opposite sign to PhysX."
|
| 336 |
-
)
|
| 337 |
-
{
|
| 338 |
-
double[] mjc:biasPrm = [0, -1.8033460484527106, -0.3005576747421185, 0, 0, 0, 0, 0, 0, 0]
|
| 339 |
-
token mjc:biasType = "affine"
|
| 340 |
-
token mjc:ctrlLimited = "false"
|
| 341 |
-
token mjc:forceLimited = "true"
|
| 342 |
-
double mjc:forceRange:max = 0.11999999731779099
|
| 343 |
-
double mjc:forceRange:min = -0.11999999731779099
|
| 344 |
-
double[] mjc:gainPrm = [1.8033460484527106, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
| 345 |
-
token mjc:gainType = "affine"
|
| 346 |
-
rel mjc:target = </arm/link5/Finger_Right_01/Finger_Right_01_RevoluteJoint>
|
| 347 |
-
}
|
| 348 |
-
|
| 349 |
-
def MjcActuator "act_arm_link3_joint4" (
|
| 350 |
-
doc = "Position servo: control is joint angle in radians. Gains calibrated from source acceleration drive and MuJoCo reflected inertia at qpos0; not configuration-independent acceleration control. Original effort limit retained. Reversed wrist/finger coordinates use the opposite sign to PhysX."
|
| 351 |
-
)
|
| 352 |
-
{
|
| 353 |
-
double[] mjc:biasPrm = [0, -11.397692105152574, -0.5764100015010366, 0, 0, 0, 0, 0, 0, 0]
|
| 354 |
-
token mjc:biasType = "affine"
|
| 355 |
-
token mjc:ctrlLimited = "false"
|
| 356 |
-
token mjc:forceLimited = "true"
|
| 357 |
-
double mjc:forceRange:max = 5.199999809265137
|
| 358 |
-
double mjc:forceRange:min = -5.199999809265137
|
| 359 |
-
double[] mjc:gainPrm = [11.397692105152574, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
| 360 |
-
token mjc:gainType = "affine"
|
| 361 |
-
rel mjc:target = </arm/link3/joint4>
|
| 362 |
-
}
|
| 363 |
-
|
| 364 |
-
def MjcActuator "act_arm_link2_joint3" (
|
| 365 |
-
doc = "Position servo: control is joint angle in radians. Gains calibrated from source acceleration drive and MuJoCo reflected inertia at qpos0; not configuration-independent acceleration control. Original effort limit retained. Reversed wrist/finger coordinates use the opposite sign to PhysX."
|
| 366 |
-
)
|
| 367 |
-
{
|
| 368 |
-
double[] mjc:biasPrm = [0, -10.292323453745324, -0.5205087242829218, 0, 0, 0, 0, 0, 0, 0]
|
| 369 |
-
token mjc:biasType = "affine"
|
| 370 |
-
token mjc:ctrlLimited = "false"
|
| 371 |
-
token mjc:forceLimited = "true"
|
| 372 |
-
double mjc:forceRange:max = 5.199999809265137
|
| 373 |
-
double mjc:forceRange:min = -5.199999809265137
|
| 374 |
-
double[] mjc:gainPrm = [10.292323453745324, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
| 375 |
-
token mjc:gainType = "affine"
|
| 376 |
-
rel mjc:target = </arm/link2/joint3>
|
| 377 |
-
}
|
| 378 |
-
|
| 379 |
-
def MjcActuator "act_arm_link1_joint2" (
|
| 380 |
-
doc = "Position servo: control is joint angle in radians. Gains calibrated from source acceleration drive and MuJoCo reflected inertia at qpos0; not configuration-independent acceleration control. Original effort limit retained. Reversed wrist/finger coordinates use the opposite sign to PhysX."
|
| 381 |
-
)
|
| 382 |
-
{
|
| 383 |
-
double[] mjc:biasPrm = [0, -47.622095121882396, -2.4083693143700065, 0, 0, 0, 0, 0, 0, 0]
|
| 384 |
-
token mjc:biasType = "affine"
|
| 385 |
-
token mjc:ctrlLimited = "false"
|
| 386 |
-
token mjc:forceLimited = "true"
|
| 387 |
-
double mjc:forceRange:max = 5.199999809265137
|
| 388 |
-
double mjc:forceRange:min = -5.199999809265137
|
| 389 |
-
double[] mjc:gainPrm = [47.622095121882396, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
| 390 |
-
token mjc:gainType = "affine"
|
| 391 |
-
rel mjc:target = </arm/link1/joint2>
|
| 392 |
-
}
|
| 393 |
-
|
| 394 |
-
def MjcActuator "act_arm_base_link_joint1" (
|
| 395 |
-
doc = "Position servo: control is joint angle in radians. Gains calibrated from source acceleration drive and MuJoCo reflected inertia at qpos0; not configuration-independent acceleration control. Original effort limit retained. Reversed wrist/finger coordinates use the opposite sign to PhysX."
|
| 396 |
-
)
|
| 397 |
-
{
|
| 398 |
-
double[] mjc:biasPrm = [0, -7.4568307148562205, -0.37711071363299586, 0, 0, 0, 0, 0, 0, 0]
|
| 399 |
-
token mjc:biasType = "affine"
|
| 400 |
-
token mjc:ctrlLimited = "false"
|
| 401 |
-
token mjc:forceLimited = "true"
|
| 402 |
-
double mjc:forceRange:max = 5.199999809265137
|
| 403 |
-
double mjc:forceRange:min = -5.199999809265137
|
| 404 |
-
double[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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/runnables/physics/newton.usda
DELETED
|
@@ -1,305 +0,0 @@
|
|
| 1 |
-
#usda 1.0
|
| 2 |
-
(
|
| 3 |
-
defaultPrim = "arm"
|
| 4 |
-
)
|
| 5 |
-
|
| 6 |
-
over "arm" (
|
| 7 |
-
prepend apiSchemas = ["NewtonArticulationRootAPI"]
|
| 8 |
-
)
|
| 9 |
-
{
|
| 10 |
-
bool newton:selfCollisionEnabled = 0
|
| 11 |
-
|
| 12 |
-
over "link5"
|
| 13 |
-
{
|
| 14 |
-
over "Finger_Left_03"
|
| 15 |
-
{
|
| 16 |
-
over "Finger_Left_03" (
|
| 17 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 18 |
-
)
|
| 19 |
-
{
|
| 20 |
-
uniform token physics:approximation = "convexHull"
|
| 21 |
-
}
|
| 22 |
-
}
|
| 23 |
-
|
| 24 |
-
over "Finger_Right_03"
|
| 25 |
-
{
|
| 26 |
-
over "Finger_Right_03" (
|
| 27 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 28 |
-
)
|
| 29 |
-
{
|
| 30 |
-
uniform token physics:approximation = "convexHull"
|
| 31 |
-
}
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
over "Finger_Left_02"
|
| 35 |
-
{
|
| 36 |
-
over "Finger_Left_02"
|
| 37 |
-
{
|
| 38 |
-
over "Finger_Left_02" (
|
| 39 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 40 |
-
)
|
| 41 |
-
{
|
| 42 |
-
uniform token physics:approximation = "convexHull"
|
| 43 |
-
}
|
| 44 |
-
}
|
| 45 |
-
}
|
| 46 |
-
|
| 47 |
-
over "Finger_Right_02"
|
| 48 |
-
{
|
| 49 |
-
over "Finger_Right_02"
|
| 50 |
-
{
|
| 51 |
-
over "Finger_Right_02" (
|
| 52 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 53 |
-
)
|
| 54 |
-
{
|
| 55 |
-
uniform token physics:approximation = "convexHull"
|
| 56 |
-
}
|
| 57 |
-
}
|
| 58 |
-
}
|
| 59 |
-
|
| 60 |
-
over "Wrist_Twist"
|
| 61 |
-
{
|
| 62 |
-
over "Wrist_Twist"
|
| 63 |
-
{
|
| 64 |
-
over "Wrist_Twist" (
|
| 65 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 66 |
-
)
|
| 67 |
-
{
|
| 68 |
-
uniform token physics:approximation = "convexHull"
|
| 69 |
-
}
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
over "Wrist_Twist_RevoluteJoint" (
|
| 73 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 74 |
-
)
|
| 75 |
-
{
|
| 76 |
-
float drive:angular:physics:damping = 0
|
| 77 |
-
float drive:angular:physics:maxForce = 5.2
|
| 78 |
-
float drive:angular:physics:stiffness = 1.5
|
| 79 |
-
float newton:damping = 0.009076
|
| 80 |
-
custom rel physics:body0 = </arm/link4>
|
| 81 |
-
custom rel physics:body1 = </arm/link5/Wrist_Twist>
|
| 82 |
-
point3f physics:localPos0 = (-0.06549733, -0.0045318594, -0.00060643995)
|
| 83 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 84 |
-
quatf physics:localRot0 = (-0.4988273, 0.49882996, 0.50117344, -0.50116396)
|
| 85 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 86 |
-
}
|
| 87 |
-
}
|
| 88 |
-
|
| 89 |
-
over "Finger_Left_01"
|
| 90 |
-
{
|
| 91 |
-
over "Finger_Left_01"
|
| 92 |
-
{
|
| 93 |
-
over "Finger_Left_01" (
|
| 94 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 95 |
-
)
|
| 96 |
-
{
|
| 97 |
-
uniform token physics:approximation = "convexHull"
|
| 98 |
-
}
|
| 99 |
-
}
|
| 100 |
-
|
| 101 |
-
over "Finger_Left_01_RevoluteJoint" (
|
| 102 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 103 |
-
)
|
| 104 |
-
{
|
| 105 |
-
float drive:angular:physics:damping = 0
|
| 106 |
-
float drive:angular:physics:maxForce = 5.2
|
| 107 |
-
float drive:angular:physics:stiffness = 3.4034
|
| 108 |
-
float newton:damping = 0.009076
|
| 109 |
-
custom rel physics:body0 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 110 |
-
custom rel physics:body1 = </arm/link5/Finger_Left_01>
|
| 111 |
-
point3f physics:localPos0 = (-0.29220235, 1.2149862, 4.1918764)
|
| 112 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 113 |
-
quatf physics:localRot0 = (1, -1e-45, 6.162976e-33, -0)
|
| 114 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 115 |
-
}
|
| 116 |
-
}
|
| 117 |
-
|
| 118 |
-
over "Finger_Right_01"
|
| 119 |
-
{
|
| 120 |
-
over "Finger_Right_01"
|
| 121 |
-
{
|
| 122 |
-
over "Finger_Right_01" (
|
| 123 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 124 |
-
)
|
| 125 |
-
{
|
| 126 |
-
uniform token physics:approximation = "convexHull"
|
| 127 |
-
}
|
| 128 |
-
}
|
| 129 |
-
|
| 130 |
-
over "Finger_Right_01_RevoluteJoint" (
|
| 131 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 132 |
-
)
|
| 133 |
-
{
|
| 134 |
-
float drive:angular:physics:damping = 0
|
| 135 |
-
float drive:angular:physics:maxForce = 5.2
|
| 136 |
-
float drive:angular:physics:stiffness = 3.4034
|
| 137 |
-
float newton:damping = 0.009076
|
| 138 |
-
custom rel physics:body0 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 139 |
-
custom rel physics:body1 = </arm/link5/Finger_Right_01>
|
| 140 |
-
point3f physics:localPos0 = (-0.29220113, -1.240003, 4.1918764)
|
| 141 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 142 |
-
quatf physics:localRot0 = (1, -1e-45, 6.162985e-33, -0)
|
| 143 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 144 |
-
}
|
| 145 |
-
}
|
| 146 |
-
|
| 147 |
-
over "Finger_Left_02_RevoluteJoint" (
|
| 148 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 149 |
-
)
|
| 150 |
-
{
|
| 151 |
-
float newton:damping = 0.002
|
| 152 |
-
custom rel physics:body0 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 153 |
-
custom rel physics:body1 = </arm/link5/Finger_Left_02/Finger_Left_02>
|
| 154 |
-
point3f physics:localPos0 = (-0.16869655, 0.4503985, 5.992106)
|
| 155 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 156 |
-
quatf physics:localRot0 = (1, -0.00011703074, 0.0000049658033, -3.4355e-8)
|
| 157 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 158 |
-
}
|
| 159 |
-
|
| 160 |
-
over "Finger_Left_03_RevoluteJoint" (
|
| 161 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 162 |
-
)
|
| 163 |
-
{
|
| 164 |
-
float newton:damping = 0.002
|
| 165 |
-
custom rel physics:body0 = </arm/link5/Finger_Left_01/Finger_Left_01>
|
| 166 |
-
custom rel physics:body1 = </arm/link5/Finger_Left_03/Finger_Left_03>
|
| 167 |
-
point3f physics:localPos0 = (0.12363685, 1.8119415, 2.3910213)
|
| 168 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 169 |
-
quatf physics:localRot0 = (1, 8.7435e-9, -7.463727e-10, 1.3773865e-9)
|
| 170 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 171 |
-
}
|
| 172 |
-
|
| 173 |
-
over "Finger_Right_02_RevoluteJoint" (
|
| 174 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 175 |
-
)
|
| 176 |
-
{
|
| 177 |
-
float newton:damping = 0.002
|
| 178 |
-
custom rel physics:body0 = </arm/link5/Wrist_Twist/Wrist_Twist>
|
| 179 |
-
custom rel physics:body1 = </arm/link5/Finger_Right_02/Finger_Right_02>
|
| 180 |
-
point3f physics:localPos0 = (-0.16868919, -0.45649478, 5.9916687)
|
| 181 |
-
point3f physics:localPos1 = (-5.173299e-7, 1.7269789, -2.4491472)
|
| 182 |
-
quatf physics:localRot0 = (1, 0.00009905596, 0.0000035586138, -3.2006255e-8)
|
| 183 |
-
quatf physics:localRot1 = (1, 1.9229503e-12, 1.4099211e-11, -1.479941e-14)
|
| 184 |
-
}
|
| 185 |
-
|
| 186 |
-
over "Finger_Right_03_RevoluteJoint" (
|
| 187 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 188 |
-
)
|
| 189 |
-
{
|
| 190 |
-
float newton:damping = 0.002
|
| 191 |
-
custom rel physics:body0 = </arm/link5/Finger_Right_01/Finger_Right_01>
|
| 192 |
-
custom rel physics:body1 = </arm/link5/Finger_Right_03/Finger_Right_03>
|
| 193 |
-
point3f physics:localPos0 = (0.12363637, -1.7653793, 2.4256)
|
| 194 |
-
point3f physics:localPos1 = (0, 0, 0)
|
| 195 |
-
quatf physics:localRot0 = (1, 1.12872264e-7, 8.302244e-9, -1.2118254e-7)
|
| 196 |
-
quatf physics:localRot1 = (1, 0, 0, 0)
|
| 197 |
-
}
|
| 198 |
-
}
|
| 199 |
-
|
| 200 |
-
over "link4"
|
| 201 |
-
{
|
| 202 |
-
over "Wrist_Lift"
|
| 203 |
-
{
|
| 204 |
-
over "Wrist_Lift" (
|
| 205 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 206 |
-
)
|
| 207 |
-
{
|
| 208 |
-
uniform token physics:approximation = "convexHull"
|
| 209 |
-
}
|
| 210 |
-
}
|
| 211 |
-
}
|
| 212 |
-
|
| 213 |
-
over "link3"
|
| 214 |
-
{
|
| 215 |
-
over "collisions"
|
| 216 |
-
{
|
| 217 |
-
over "collisions_2" (
|
| 218 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 219 |
-
)
|
| 220 |
-
{
|
| 221 |
-
uniform token physics:approximation = "convexHull"
|
| 222 |
-
}
|
| 223 |
-
}
|
| 224 |
-
|
| 225 |
-
over "joint4" (
|
| 226 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 227 |
-
)
|
| 228 |
-
{
|
| 229 |
-
float drive:angular:physics:damping = 0
|
| 230 |
-
float drive:angular:physics:stiffness = 3.4034
|
| 231 |
-
float newton:damping = 0.113446
|
| 232 |
-
float newton:velocityLimit = 57.29578
|
| 233 |
-
}
|
| 234 |
-
}
|
| 235 |
-
|
| 236 |
-
over "link2"
|
| 237 |
-
{
|
| 238 |
-
over "collisions"
|
| 239 |
-
{
|
| 240 |
-
over "collisions_1" (
|
| 241 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 242 |
-
)
|
| 243 |
-
{
|
| 244 |
-
uniform token physics:approximation = "convexHull"
|
| 245 |
-
}
|
| 246 |
-
}
|
| 247 |
-
|
| 248 |
-
over "joint3" (
|
| 249 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 250 |
-
)
|
| 251 |
-
{
|
| 252 |
-
float drive:angular:physics:damping = 0
|
| 253 |
-
float drive:angular:physics:stiffness = 3.4034
|
| 254 |
-
float newton:damping = 0.113446
|
| 255 |
-
float newton:velocityLimit = 57.29578
|
| 256 |
-
}
|
| 257 |
-
}
|
| 258 |
-
|
| 259 |
-
over "link1"
|
| 260 |
-
{
|
| 261 |
-
over "collisions"
|
| 262 |
-
{
|
| 263 |
-
over "collisions" (
|
| 264 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 265 |
-
)
|
| 266 |
-
{
|
| 267 |
-
uniform token physics:approximation = "convexHull"
|
| 268 |
-
}
|
| 269 |
-
}
|
| 270 |
-
|
| 271 |
-
over "joint2" (
|
| 272 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 273 |
-
)
|
| 274 |
-
{
|
| 275 |
-
float drive:angular:physics:damping = 0
|
| 276 |
-
float drive:angular:physics:stiffness = 3.4034
|
| 277 |
-
float newton:damping = 0.113446
|
| 278 |
-
float newton:velocityLimit = 57.29578
|
| 279 |
-
}
|
| 280 |
-
}
|
| 281 |
-
|
| 282 |
-
over "base_link"
|
| 283 |
-
{
|
| 284 |
-
over "collisions"
|
| 285 |
-
{
|
| 286 |
-
over "visuals" (
|
| 287 |
-
prepend apiSchemas = ["NewtonCollisionAPI", "NewtonMeshCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 288 |
-
)
|
| 289 |
-
{
|
| 290 |
-
uniform token physics:approximation = "convexHull"
|
| 291 |
-
}
|
| 292 |
-
}
|
| 293 |
-
|
| 294 |
-
over "joint1" (
|
| 295 |
-
prepend apiSchemas = ["NewtonJointAPI"]
|
| 296 |
-
)
|
| 297 |
-
{
|
| 298 |
-
float drive:angular:physics:damping = 0
|
| 299 |
-
float drive:angular:physics:stiffness = 3.4034
|
| 300 |
-
float newton:damping = 0.113446
|
| 301 |
-
float newton:velocityLimit = 57.29578
|
| 302 |
-
}
|
| 303 |
-
}
|
| 304 |
-
}
|
| 305 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/runnables/physics/physics.usda
DELETED
|
@@ -1,137 +0,0 @@
|
|
| 1 |
-
#usda 1.0
|
| 2 |
-
(
|
| 3 |
-
defaultPrim = "arm"
|
| 4 |
-
)
|
| 5 |
-
|
| 6 |
-
over "arm"
|
| 7 |
-
{
|
| 8 |
-
over "base_link"
|
| 9 |
-
{
|
| 10 |
-
over "collisions"
|
| 11 |
-
{
|
| 12 |
-
over "visuals"
|
| 13 |
-
{
|
| 14 |
-
token physics:approximation = "convexHull"
|
| 15 |
-
}
|
| 16 |
-
}
|
| 17 |
-
}
|
| 18 |
-
|
| 19 |
-
over "link1"
|
| 20 |
-
{
|
| 21 |
-
over "collisions"
|
| 22 |
-
{
|
| 23 |
-
over "collisions"
|
| 24 |
-
{
|
| 25 |
-
token physics:approximation = "convexHull"
|
| 26 |
-
}
|
| 27 |
-
}
|
| 28 |
-
}
|
| 29 |
-
|
| 30 |
-
over "link2"
|
| 31 |
-
{
|
| 32 |
-
over "collisions"
|
| 33 |
-
{
|
| 34 |
-
over "collisions_1"
|
| 35 |
-
{
|
| 36 |
-
token physics:approximation = "convexHull"
|
| 37 |
-
}
|
| 38 |
-
}
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
over "link3"
|
| 42 |
-
{
|
| 43 |
-
over "collisions"
|
| 44 |
-
{
|
| 45 |
-
over "collisions_2"
|
| 46 |
-
{
|
| 47 |
-
token physics:approximation = "convexHull"
|
| 48 |
-
}
|
| 49 |
-
}
|
| 50 |
-
}
|
| 51 |
-
|
| 52 |
-
over "link4"
|
| 53 |
-
{
|
| 54 |
-
over "Wrist_Lift"
|
| 55 |
-
{
|
| 56 |
-
over "Wrist_Lift"
|
| 57 |
-
{
|
| 58 |
-
token physics:approximation = "convexDecomposition"
|
| 59 |
-
}
|
| 60 |
-
}
|
| 61 |
-
}
|
| 62 |
-
|
| 63 |
-
over "link5"
|
| 64 |
-
{
|
| 65 |
-
over "Wrist_Twist"
|
| 66 |
-
{
|
| 67 |
-
over "Wrist_Twist"
|
| 68 |
-
{
|
| 69 |
-
over "Wrist_Twist"
|
| 70 |
-
{
|
| 71 |
-
token physics:approximation = "convexHull"
|
| 72 |
-
}
|
| 73 |
-
}
|
| 74 |
-
}
|
| 75 |
-
|
| 76 |
-
over "Finger_Left_01"
|
| 77 |
-
{
|
| 78 |
-
over "Finger_Left_01"
|
| 79 |
-
{
|
| 80 |
-
over "Finger_Left_01"
|
| 81 |
-
{
|
| 82 |
-
token physics:approximation = "convexHull"
|
| 83 |
-
}
|
| 84 |
-
}
|
| 85 |
-
}
|
| 86 |
-
|
| 87 |
-
over "Finger_Right_01"
|
| 88 |
-
{
|
| 89 |
-
over "Finger_Right_01"
|
| 90 |
-
{
|
| 91 |
-
over "Finger_Right_01"
|
| 92 |
-
{
|
| 93 |
-
token physics:approximation = "convexHull"
|
| 94 |
-
}
|
| 95 |
-
}
|
| 96 |
-
}
|
| 97 |
-
|
| 98 |
-
over "Finger_Left_03"
|
| 99 |
-
{
|
| 100 |
-
over "Finger_Left_03"
|
| 101 |
-
{
|
| 102 |
-
token physics:approximation = "convexHull"
|
| 103 |
-
}
|
| 104 |
-
}
|
| 105 |
-
|
| 106 |
-
over "Finger_Right_03"
|
| 107 |
-
{
|
| 108 |
-
over "Finger_Right_03"
|
| 109 |
-
{
|
| 110 |
-
token physics:approximation = "convexHull"
|
| 111 |
-
}
|
| 112 |
-
}
|
| 113 |
-
|
| 114 |
-
over "Finger_Left_02"
|
| 115 |
-
{
|
| 116 |
-
over "Finger_Left_02"
|
| 117 |
-
{
|
| 118 |
-
over "Finger_Left_02"
|
| 119 |
-
{
|
| 120 |
-
token physics:approximation = "convexHull"
|
| 121 |
-
}
|
| 122 |
-
}
|
| 123 |
-
}
|
| 124 |
-
|
| 125 |
-
over "Finger_Right_02"
|
| 126 |
-
{
|
| 127 |
-
over "Finger_Right_02"
|
| 128 |
-
{
|
| 129 |
-
over "Finger_Right_02"
|
| 130 |
-
{
|
| 131 |
-
token physics:approximation = "convexHull"
|
| 132 |
-
}
|
| 133 |
-
}
|
| 134 |
-
}
|
| 135 |
-
}
|
| 136 |
-
}
|
| 137 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yahboom_dofbot/runnables/physics/physx.usda
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|