-
Notifications
You must be signed in to change notification settings - Fork 314
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
Revamp the exporter UIs and add the missing requested export flags support #537
Comments
#566 has been checked in, decoupling the Babylon->GLTF exporter from the 3dsMax Babylon exporter implementation. All that's left to do for 2) is to refactor Maya's exporter to use the shared implementation. |
With #593 checked in we can finally check off 2)! |
I'm currently implementing a solution for the user to specify the extra material attributes in Maya (backface culling, transparency mode, max simultaneous lights and unlit). |
Is custom attributes a low hanging fruit that might be able to be taken out quickly? This would provide tremendous value to me. I'd like to contribute if possible, but I don't have either 3D modeling tool. |
Hey @jamespedid ! @noalak is making a lot of progress and should be able to do a PR really soon. |
We are working on the export animation only feature (#525). The 3dsMax exporter is updated to have 2 extra parameters: ExportAnimations and ExportAnimationsOnly. Those parameters drive the export process in order to export only the geometry and then in another export animation(s). Find attached an example of the resulting babylon and glTF files elf.zip. Notice that the glTF animation files use an extension named "AnimationsOnly". Now for the import process, our goal is to support the 2 following use cases:
Do you confirm the use cases ? For that, we are planning to load the animation file as a new scene and then clone and retarget the animations to the geometry scene. This method has the advantage of being format independant (babylon or gltf). We just need a way to detect that the file being loaded is an animation file. |
How do you retarget the animations? The glTF specification does not guarantee anything about uniqueness in node names. It is for this reason the target id is necessary. Also, the
|
Using a target id also allows the user to completely omit the node hierarchy in the animation-only file. That being said, we already have an implementation for the gltf animation-only export, as described in the post you referenced, perhaps it is worth pushing this upstream? @elpie89 |
I will push it before the end of the day |
* Update layout definition system * Fix log window size * Update auto generated layout system * Fix log window size in exporter form * Export Babylon attributes for standard material (backfaceCulling, maxSimultaneousLights, unlit) Add connection to log prints * Add default babylon attributes automatically at runtime Add KHR_materials_unlit checkbox * Fix Transparency mode when exporting a standard material to glTF Fix base color and metallic roughness textures names when exporting a standard material to glTF * Add a babylon material node to hold all attributes Fix diffuse and alpha textures merging when alpha is read from RGB * Ignore babylon transparency mode value when exporting Add Node editor (NE) templates Update Attribute editor (AE) templates * Export _unlit attribute for PBRMetallicRoughnessMaterial Export alphaCutOff attribute for Masked StingrayPBS material only Export merged color texture for Masked StingrayPBS material Fix default color initialisation when merging textures * Add sample files * Move log feature to dedicated internal class Add log level * Fix transparencyMode and alpha for Standard and Arnold materials * Add babylon material attributes to native materials Export babylon material attributes * Get arnold material opacity from dedicated attributes * Add samples for babylon material attributes attached to native materials * Set an unique ID for babylon attributes of an Arnold material * //Add the user custom attributes to metadata * // add custom user attributes in babylon and gltf for the lights, cameras, mesh and materials * Export custom attributes from nodes and materials * Do not export null CustomAttributes * Add samples for custom attributes * Export custom attributes for instances * Add support for DoubleSided material * Fix custom attributes retreivable * Add alphaCutoff default value for masked materials Fix diffuse texture bitmap loading in gltf for a standard masked material Do not export empty metadata array for materials * //add samples * Add sample files for DoubleSided material Fix nb of vertices for back face vertices * Add alphaCutoff default value for masked materials Fix nullable metadata cloning * Update samples for MASK transparency mode * Format file * Add automatically babylon attributes to a material when created * Export custom attributes as extras for lights in glTF Update sample files and rename objects * //Add the double sided export in maya //secured the retrieval of the babylon materials * Export lights as metadata * Update samples * //Fix empty extras * Clean up * //Upload and refresh of all the exemples * Fix opacity color and texture retreival from Arnold material Fix Standard material conversion when Owner is null Add safety checks * Update node and material names in samples * //Add the parameters to the babylonNode shaderGraph when add manually * Installer : Add AETemplates and NETemplates for Maya installation * Update Installer version to 1.3.0
I've noticed that the custom attributes do not export if they are defined on a set in Maya. Is it possible to extend support of custom attributes to these objects as well? |
For both Max/Maya, redesign the exporter UIs.
This should help addressing :
All the above issues have been grouped here to simplify the development of the new UI.
Do not hesitate to add to the list.
The text was updated successfully, but these errors were encountered: