68 lines
2.4 KiB
Plaintext
68 lines
2.4 KiB
Plaintext
{
|
|
"FormatVersion": 3,
|
|
"Id": "be52b670-9749-4c0d-89f0-d8b101395227"/*LoadObj*/,
|
|
"Description": "Loads a mesh from an obj. file by generating Vertex and Index buffers which can be rendered with [DrawMesh], [DrawMeshUnlit] and [DrawMeshHatched] among others.\nAll surfaces must have valid UVs, otherwise they will appear black.\n\nFor a more comfortable import of 3d meshes (which also allows the import of already linked materials) use [LoadGltfScene] in combination with [DrawScene].\n\nFor a simple and interactive tutorial on the TiXL rendering pipeline, see [HowToDrawThings].\n\nIt can also become the source for a particle system with [MeshVerticesToPoints] or [PointsOnMesh].\n\nTo generate meshes procedurally with many adjustment options see [CubeMesh], [CylinderMesh], [QuadMesh], [SphereMesh] or [TorusMesh] etc.\n\n",
|
|
"SymbolTags": "1",
|
|
"InputUis": [
|
|
{
|
|
"InputId": "7d576017-89bd-4813-bc9b-70214efe6a27"/*Path*/,
|
|
"Position": {
|
|
"X": 51.512096,
|
|
"Y": 46.995968
|
|
},
|
|
"GroupTitle": "Select file",
|
|
"Description": "Use \"...\" to select a Wavefront .obj file to import",
|
|
"Usage": "FilePath",
|
|
"FileFilter": "obj"
|
|
},
|
|
{
|
|
"InputId": "aa19e71d-329c-448b-901c-565bf8c0da4f"/*SortVertices*/,
|
|
"Position": {
|
|
"X": 51.512096,
|
|
"Y": 136.99597
|
|
},
|
|
"Description": "Check to sort vertices"
|
|
},
|
|
{
|
|
"InputId": "c39a61b3-fb6b-4611-8f13-273f13c9c491"/*ScaleFactor*/,
|
|
"Position": {
|
|
"X": 51.512096,
|
|
"Y": 181.99597
|
|
},
|
|
"GroupTitle": "Scaling",
|
|
"Description": "Uniformly scales the loaded mesh",
|
|
"Min": 0.001,
|
|
"Max": 1000.0,
|
|
"Scale": 0.01,
|
|
"ClampMin": true,
|
|
"ClampMax": true
|
|
},
|
|
{
|
|
"InputId": "ddd22736-a600-4c97-a4a4-ad3526b8b35c"/*ClearGPUCache*/,
|
|
"Position": {
|
|
"X": 51.512096,
|
|
"Y": 181.99597
|
|
},
|
|
"Description": "Enable and disable to clear GPU cache"
|
|
},
|
|
{
|
|
"InputId": "ffd22736-a600-4c97-a4a4-ad3526b8b35c"/*UseGPUCaching*/,
|
|
"Position": {
|
|
"X": 51.512096,
|
|
"Y": 91.99597
|
|
},
|
|
"GroupTitle": "Advanced Options...",
|
|
"Description": "Toggle GPU Caching"
|
|
}
|
|
],
|
|
"SymbolChildUis": [],
|
|
"OutputUis": [
|
|
{
|
|
"OutputId": "1f4e7cac-1f62-4633-b0f3-a3017a026753"/*Data*/,
|
|
"Position": {
|
|
"X": 0.0,
|
|
"Y": 0.0
|
|
}
|
|
}
|
|
]
|
|
} |