Material: Material editor enhancements (#11764)

Continues the work of the material subsystem improvements.

Add support for embedded SVG files. These are not the same
as image files so need to be handled differently.

Add the ability to filter materials in the editor when called from
code. This allows programs to select objects supporting specific
models, complete models, older models, etc.

Updated tests, and refactored code.

New models and materials supporting patterns such as used by the
TechDraw workbench.

fixes #11686 - checks for the presense of a model property before
assinging a value. This can happen when a required model definition is
not available.

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
This commit is contained in:
David Carter
2024-01-06 19:11:53 -05:00
committed by GitHub
parent 08612d4489
commit d9017bcca3
87 changed files with 3894 additions and 655 deletions

View File

@@ -0,0 +1,49 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: 'PAT'
UUID: '0326c759-4e3d-46ca-bb7d-146ebebea65e'
URL: 'https://wiki.freecad.org/TechDraw_Hatching'
Description: 'AutoDesk® PAT format pattern'
DOI: ''
Hatch Pattern:
Type: 'MultiLineString'
Units: ''
URL: ''
Description: "The format pattern"
Hatch Scale:
Type: 'Float'
Units: ''
URL: ''
Description: "The scale to be applied to the pattern (must be > 0.0)"
Hatch Weight:
Type: 'Float'
Units: ''
URL: ''
Description: "The thickness of the pattern lines"
Hatch Color:
Type: 'Color'
Units: ''
URL: ''
Description: "The color for the pattern lines"

View File

@@ -0,0 +1,44 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: 'Pattern File'
UUID: 'c6596294-e97d-4812-87db-28e1d66521a3'
URL: 'https://wiki.freecad.org/TechDraw_Hatching'
Description: 'SVG based pattern'
DOI: ''
Pattern File:
Type: 'SVG'
Units: ''
URL: ''
Description: "The SVG format pattern"
Pattern Scale:
Type: 'Float'
Units: ''
URL: ''
Description: "The pattern size modifier (must be > 0.0)"
Pattern Color:
Type: 'Color'
Units: ''
URL: ''
Description: "The pattern will be displayed in this color"

View File

@@ -0,0 +1,34 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Appleseed"
UUID: 'b0a10f70-13bf-4598-ab63-bcfbbcd813e3'
URL: ''
Description: "Rendering model aspects specific to the Appleseed renderer"
DOI: ""
Render.Appleseed:
Type: 'MultiLineString'
Units: ''
URL: ''
Description: "Passthrough Options"

View File

@@ -0,0 +1,59 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Carpaint"
UUID: '4d2cc163-0707-40e2-a9f7-14288c4b97bd'
URL: ''
Description: "Rendering Workbench Carpaint rendering model"
DOI: ""
Render.Carpaint.BaseColor:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Render.Carpaint.BaseColor.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Carpaint.BaseColor.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Carpaint.Bump:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Carpaint.Displacement:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Carpaint.Normal:
Type: 'String'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,34 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Cycles"
UUID: 'a6da1b66-929c-48bf-ae80-3b0495c7b50b'
URL: ''
Description: "Rendering model aspects specific to the Cycles renderer"
DOI: ""
Render.Cycles:
Type: 'MultiLineString'
Units: ''
URL: ''
Description: "Passthrough Options"

View File

@@ -0,0 +1,59 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Diffuse"
UUID: 'c19b2d30-c55b-48aa-a938-df9e2f7779cf'
URL: ''
Description: "Rendering Workbench Diffuse rendering model"
DOI: ""
Render.Diffuse.Bump:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Diffuse.Color:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Render.Diffuse.Color.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Diffuse.Color.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Diffuse.Displacement:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Diffuse.Normal:
Type: 'String'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,179 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Disney"
UUID: 'f8723572-4470-4c39-a749-6d3b71358a5b'
URL: ''
Description: "Rendering Workbench Disney rendering model"
DOI: ""
Render.Disney.Anisotropic:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.Anisotropic.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.BaseColor:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Render.Disney.BaseColor.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.BaseColor.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Disney.Bump:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.ClearCoat:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.ClearCoat.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.ClearCoat.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Disney.ClearCoatGloss:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.ClearCoatGloss.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.ClearCoatGloss.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Disney.Displacement:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.Metallic:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.Metallic.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.Normal:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.Roughness:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.Roughness.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.Sheen:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.Sheen.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.SheenTint:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.SheenTint.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.Specular:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.Specular.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.Specular.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Disney.SpecularTint:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.SpecularTint.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Disney.SpecularTint.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Disney.Subsurface:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Disney.Subsurface.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,64 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Emission"
UUID: '9f6cb588-c89d-4a74-9d0f-2786a8568cec'
URL: ''
Description: "Rendering Workbench Emission rendering model"
DOI: ""
Render.Emission.Bump:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Emission.Color:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Render.Emission.Color.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Emission.Color.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Emission.Normal:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Emission.Power:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Emission.Power.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,69 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Glass"
UUID: 'd76a56f5-7250-4efb-bb89-8ea0a9ccaa6b'
URL: ''
Description: "Rendering Workbench Glass rendering model"
DOI: ""
Render.Glass.Bump:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Glass.Color:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Render.Glass.Color.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Glass.Color.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Glass.IOR:
Type: 'Float'
Units: ''
URL: ''
Description: "Index of Refraction"
Render.Glass.IOR.Texture:
Type: 'String'
Units: ''
URL: ''
Description: "Index of Refraction"
Render.Glass.Displacement:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Glass.Normal:
Type: 'String'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,34 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Luxcore"
UUID: '6b992304-33e0-490b-a391-e9d0af79bb69'
URL: ''
Description: "Rendering model aspects specific to the Luxcore renderer"
DOI: ""
Render.Luxcore:
Type: 'MultiLineString'
Units: ''
URL: ''
Description: "Passthrough Options"

View File

@@ -0,0 +1,34 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Luxrender"
UUID: '67ac6a63-e173-4e05-898b-af743f1f9563'
URL: ''
Description: "Rendering model aspects specific to the Luxrender renderer"
DOI: ""
Render.Luxrender:
Type: 'MultiLineString'
Units: ''
URL: ''
Description: "Passthrough Options"

View File

@@ -0,0 +1,94 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Mixed"
UUID: '84bab333-984f-47fe-a512-d17c7cb2daa9'
URL: ''
Description: "Rendering Workbench Mixed rendering model"
DOI: ""
Render.Mixed.Bump:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Mixed.Diffuse.Color:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Render.Mixed.Diffuse.Color.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Mixed.Diffuse.Color.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Mixed.Displacement:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Mixed.Glass.Color:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Render.Mixed.Glass.Color.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Mixed.Glass.Color.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Mixed.Glass.IOR:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Mixed.Glass.IOR.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Mixed.Normal:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Mixed.Transparency:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Mixed.Transparency.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,34 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Ospray"
UUID: 'a4792c23-0be9-47c2-b16d-47b2d2d5efd6'
URL: ''
Description: "Rendering model aspects specific to the Ospray renderer"
DOI: ""
Render.Ospray:
Type: 'MultiLineString'
Units: ''
URL: ''
Description: "Passthrough Options"

View File

@@ -0,0 +1,34 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Pbrt"
UUID: '35b34b82-4325-4d27-97bd-d10bb2c56586'
URL: ''
Description: "Rendering model aspects specific to the Pbrt renderer"
DOI: ""
Render.Pbrt:
Type: 'MultiLineString'
Units: ''
URL: ''
Description: "Passthrough Options"

View File

@@ -0,0 +1,34 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Povray"
UUID: '6ec8b415-4c7b-4206-a80b-2ea64101f34b'
URL: ''
Description: "Rendering model aspects specific to the Povray renderer"
DOI: ""
Render.Povray:
Type: 'MultiLineString'
Units: ''
URL: ''
Description: "Passthrough Options"

View File

@@ -0,0 +1,84 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Substance_PBR"
UUID: 'f212b643-db96-452e-8428-376a4534e5ab'
URL: ''
Description: "Rendering Workbench Substance_PBR rendering model"
DOI: ""
Render.Substance_PBR.BaseColor:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.BaseColor.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.BaseColor.Object:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.Bump:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.Metallic:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.Metallic.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.Normal:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.Roughness:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.Roughness.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.Specular:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Substance_PBR.Specular.Texture:
Type: 'String'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,59 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Texture"
UUID: 'fc9b6135-95cd-4ba8-ad9a-0972caeebad2'
URL: ''
Description: "Render Workbench texture model"
DOI: ""
Render.Textures.Name:
Type: 'String'
Units: ''
URL: ''
Description: " "
Render.Textures.Images:
Type: 'FileList'
Units: ''
URL: ''
Description: " "
Render.Textures.Scale:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Textures.Rotation:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Textures.TranslationU:
Type: 'Float'
Units: ''
URL: ''
Description: " "
Render.Textures.TranslationV:
Type: 'Float'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,39 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Render Workbench"
UUID: '344008be-a837-43af-90bc-f795f277b309'
URL: ''
Description: "Rendering model aspects specific to the Render Workbench"
DOI: ""
UseObjectColor:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
Render.Type:
Type: 'String'
Units: ''
URL: ''
Description: " "

View File

@@ -77,6 +77,11 @@ Model:
Units: ''
URL: ''
Description: "A File"
TestSVG:
Type: 'SVG'
Units: ''
URL: ''
Description: "An SVG"
TestImage:
Type: 'Image'
Units: ''