Staging Bridges
4 nodes
On this page 4
Mesh From Mesh Data
FunctionA mesh made by the modelling toolboxes - positions, faces of any size, and the normals and texture coordinates its corners carry - as a mesh a scene can place.
MeshFromMeshData -> Mesh Element
mesh: Streamed Vertex Mesh Data
yUp: Truth
name: TextMeshElement MeshFromMeshData(
StreamedVertexMeshData mesh,
bool yUp = false,
string name = "")Parameters
| name | type | default | description |
|---|---|---|---|
| mesh | Streamed Vertex Mesh Data | — | The mesh. |
| yUp | Truth | False | Whether it was made with +Y up, as a glTF or a material's sample mesh is, so it is stood up in this +Z-up world. |
| name | Text | — | Its name in the scene. |
Returns
| result | Mesh Element |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Staging Bridges
- Package
- Computer Graphics
Mesh From N Gon Mesh
FunctionA many-sided mesh, as the shape grammars, trees and OBJ readers make one, as a mesh a scene can place.
MeshFromNGonMesh -> Mesh Element
mesh: N-gon Geometry
yUp: Truth
name: TextMeshElement MeshFromNGonMesh(
NGonFaceIndexMesh mesh,
bool yUp = false,
string name = "")Parameters
| name | type | default | description |
|---|---|---|---|
| mesh | N-gon Geometry | — | The mesh; its corners count its positions from 1, as an OBJ file does. |
| yUp | Truth | False | Whether it was made with +Y up. |
| name | Text | — | Its name in the scene; empty for the mesh's own material name or "Mesh". |
Returns
| result | Mesh Element |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Staging Bridges
- Package
- Computer Graphics
Mesh From Solid
FunctionA solid from the Solids toolbox - a boolean of boxes, a hull, a gear - as a mesh a scene can place.
MeshFromSolid -> Mesh Element
solid: Manifold
smooth: Truth
name: TextMeshElement MeshFromSolid(
Manifold solid,
bool smooth = false,
string name = "")Parameters
| name | type | default | description |
|---|---|---|---|
| solid | Manifold | — | The solid. |
| smooth | Truth | False | Whether its faces are shaded smoothly across their edges, for a solid that approximates a curved surface; off for a machined part's flat faces and crisp edges. |
| name | Text | — | Its name in the scene. |
Returns
| result | Mesh Element |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Staging Bridges
- Package
- Computer Graphics
Procedural Material
FunctionA procedural PBR material from the Materials toolbox, as a material a scene can paint with: its base colour, normal, roughness and metallic baked into maps, its emission when it glows.
ProceduralMaterial -> Material Description
material: PBR Material
tiling: Number
resolution: Integer
tilingV: NumberMaterialDescription ProceduralMaterial(
PbrMaterial material,
double tiling = 1,
int resolution = 0,
double tilingV = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| material | PBR Material | — | The material. |
| tiling | Number | 1 | How many times its maps repeat across a surface's texture coordinates: a shape's run 0 to 1 across each face, so a floor 4 metres wide of a material whose tile is 1 metre wants 4. |
| resolution | Integer | 0 | The maps' size in pixels; 0 for the material's own. |
| tilingV | Number | 0 | How many times they repeat in the texture's second direction, which runs up each side of a box; 0 for the same as Tiling. A wall 7 metres long and 2.4 high of a material whose tile is 2.4 metres wants a tiling of 3 and a tiling V of 1, or its bricks are squashed. |
Returns
| result | Material Description |
Remarks
An opacity map is not carried, since the surface's opacity is one number here; a see-through material keeps its average. Sheen, transmission, iridescence and anisotropy have no place in a UsdPreviewSurface and are left out, as the Materials package's own glTF export leaves those out of a renderer that lacks them.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Staging Bridges
- Package
- Computer Graphics