mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 23:14:34 +02:00
Merge pull request #244 from AleziaKurdis/CreateApp-VoxelTootipsAndNeighbors
Create app: PolyVox properties tootips
This commit is contained in:
commit
ff259106c4
2 changed files with 27 additions and 8 deletions
|
@ -663,5 +663,24 @@
|
||||||
"importNewEntity": {
|
"importNewEntity": {
|
||||||
"tooltip": "Import a local or hosted file that can be used across domains.",
|
"tooltip": "Import a local or hosted file that can be used across domains.",
|
||||||
"skipJSProperty": true
|
"skipJSProperty": true
|
||||||
|
},
|
||||||
|
"voxelVolumeSize": {
|
||||||
|
"tooltip": "Number of voxels along each axis of the entity."
|
||||||
|
},
|
||||||
|
"polyVoxPreset": {
|
||||||
|
"tooltip": "Apply a predefined set of textures to the PolyVox entity, replacing the url of the properties: X Texture URL, Y Texture URL, Z Texture URL.",
|
||||||
|
"skipJSProperty": true
|
||||||
|
},
|
||||||
|
"voxelSurfaceStyle": {
|
||||||
|
"tooltip": "The style of rendering the voxels' surface and how neighboring PolyVox entities are joined."
|
||||||
|
},
|
||||||
|
"xTextureURL": {
|
||||||
|
"tooltip": "The URL of the texture to map to surfaces perpendicular to the entity's local x-axis. JPG or PNG format."
|
||||||
|
},
|
||||||
|
"yTextureURL": {
|
||||||
|
"tooltip": "The URL of the texture to map to surfaces perpendicular to the entity's local y-axis. JPG or PNG format."
|
||||||
|
},
|
||||||
|
"zTextureURL": {
|
||||||
|
"tooltip": "The URL of the texture to map to surfaces perpendicular to the entity's local z-axis. JPG or PNG format."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1342,6 +1342,14 @@ const GROUPS = [
|
||||||
unit: "",
|
unit: "",
|
||||||
propertyID: "voxelVolumeSize",
|
propertyID: "voxelVolumeSize",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "Surface Style",
|
||||||
|
type: "dropdown",
|
||||||
|
options: { 0: "Marching cubes", 1: "Cubic",
|
||||||
|
2: "Edged cubic", 3: "Edged marching cubes" },
|
||||||
|
propertyID: "voxelSurfaceStyle",
|
||||||
|
propertyName: "voxelSurfaceStyle",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "Texture preset",
|
label: "Texture preset",
|
||||||
type: "dropdown",
|
type: "dropdown",
|
||||||
|
@ -1351,14 +1359,6 @@ const GROUPS = [
|
||||||
onDropdownChange: createPolyVoxPresetChangedFunction,
|
onDropdownChange: createPolyVoxPresetChangedFunction,
|
||||||
skipPropertyUpdate: true,
|
skipPropertyUpdate: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: "Surface Style",
|
|
||||||
type: "dropdown",
|
|
||||||
options: { 0: "Marching cubes", 1: "Cubic",
|
|
||||||
2: "Edged cubic", 3: "Edged marching cubes" },
|
|
||||||
propertyID: "voxelSurfaceStyle",
|
|
||||||
propertyName: "voxelSurfaceStyle",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "X Texture URL",
|
label: "X Texture URL",
|
||||||
type: "string",
|
type: "string",
|
||||||
|
|
Loading…
Reference in a new issue