Comments (8)
We could add a non serializable property to the babylon material and hold a reference to the max material there
from exporters.
I have created a draft here.
from exporters.
Looks really good to me!
from exporters.
I will continue with this, then. I had some problems with the draft as-is, I will update it next week.
There are some additional problems I face right now when building an actual material exporter, which will require some changes to the exporter code. Most of these are related to the fact a lot of functionality is not available outside the BabylonExporter class, like logging and texture building.
I have one question: at this point, it is not so easy to export a glTF material with this, as the MaxMaterial information is not available once we get to the gltf exporter. The intermediate materials are (currently) not suitable to store this data, as we have more data than is defined in the existing babylon materials. We have also planned a glTF material extension.
However, the 3dsMax material information is not available when we get to the glTF exporter. Do you have any ideas on how to refactor this, if you even want that? If not, I'll figure something out for our purposes eventually.
from exporters.
I've implemented this for the glTF exporter pipeline and am successfully using it. There is no doubt it is incomplete, but it is functional.
The babylon version is still a draft and I won't have time to develop that part.
Do you want me to submit a pull request, or keep it where it is for now?
from exporters.
If it is incomplete I would prefer not merging it because we will need to maintain it
from exporters.
Right, that makes sense.
From what I can tell, the only missing feature at this point is being able to combine different textures into the correct layouts (e.g. putting metal and roughness together in one texture, might the material have them separate). I'm not sure if I will need it.
from exporters.
Closing for now
from exporters.
Related Issues (20)
- The node status is incorrect after the model is exported to gltf
- Object reference not set to an instance of an object HOT 5
- 3ds Max not exporting morph target animation when using animation groups HOT 1
- 3ds Max 2023 takes extremely long time to export and logs nothing HOT 4
- Log file data not showing in tab unless window is oversized ... HOT 10
- mesh information not embedded in .gltf HOT 1
- How to export Vray materials HOT 1
- Console log window formatted incorrectly for 3ds Max so not visible without scaling exporter window larger
- Maya Export Skin info, result only has two joints and weights HOT 2
- Maya 2024 support? HOT 1
- 2024 3dmax update 1 issue exporting volume Thickness Map HOT 1
- 3ds Max Exporter: texture offset with "use real-world scale" HOT 1
- Skin get wrong when export skeleton animation from maya 2020
- A question about using a morpher in 3dmax and loading glb files in ThreeJS. HOT 4
- An issue with the 3dmax exported GLTF model HOT 3
- Draco compression problem in 3ds max 2024 HOT 2
- Adding MAX 2024 to the Installer HOT 1
- 3ds max 2024 HOT 2
- 3ds max 2024 rename textures HOT 2
- Log Window not scrolling to the bottom HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exporters.