Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preset system #168

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

Conversation

NMC-TBone
Copy link
Contributor

Preset system for properties based on discussion #109
Includes same predefiend presets as Giants Maya & Blender exporter, in addition you can also create your own presets.

The custom presets will be stored in C:\Users\USERNAME\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\presets\i3dio

image

Settings to export mirrors with mirrorShader.xml applied in the shader:

Base Color (RGB): 0 0 0
Metallic: 1
Roughness: 1
Specular: 1
When there is no path set for the any emissiveTexture it will write the emissiveColor to i3d file if value is not 0, 0, 0, 1. Also works with ShaderNodeRGB node connected.
Adds attribute for Nav Mesh Mask, used for building the nav mesh in Giants Editor
Preset system with lots of predefined presets to choose from, if you want a custom preset you can create one directly inside blender. Set custom values for the properties you want in your custom preset, click on the + symbol and write a good name for your custom preset. (Custom presets can be found across all your blender projects)
@StjerneIdioten
Copy link
Owner

I am not entirely sold on this feature being a persistent drop-down menu with a selected value in the UI, since changing any of the parameters technically makes that drop-down wrong in stating that you are on a given preset.

Would it be possible to do something more similar to how Blender itself utilises and shows the presets? An example can be seen in Output Properties --> Format

image
image

PR to keep up to date with new attributes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants