Comments (16)
I see. I was wondering why there was no response and I didn't want push.
I have figured out some of the transparency issues. I made some car lights work but I don't know how to have a label on a glass container work.
In your old versions of the plugin when I put alpha to 0 and the color to black the export shows a transparent object with full reflection on it gltf viewer etc.... Now in your new plugin when I apply the same settings the object is completely gone.
Here is my file.
Thank you.
Breville_Glass.zip
from maya2gltf.
Could you try exporting one of the transparent scenes in this repository, and see if that works for you?
from maya2gltf.
Apologies I am not familiar with what you are asking. I am not a coder. I just use your plugin/addon to export to glTF/glb. I can up load my files if that helps?
from maya2gltf.
Apologies for that. I accidentally clicked closed. I can't attach the gltf file.
from maya2gltf.
Sorry, I forgot about this issue.
What happens if you load and expert the transparent scenes from this folder?
from maya2gltf.
Hi Ziriax
I have tried what you have requested and it looks like the transparent files work. See attached.
So what am I doing incorrectly?
The logo on the glass needs to be white. But from your examples. White is the alpha. See attached for my example.
from maya2gltf.
I had a closer look at the PNG file with the blue circle. I think I know what what to do but I would like to hear your info of it thanks.
from maya2gltf.
Hard to tell just looking at the output.
Can you share your Maya scene with me?
from maya2gltf.
Yes I can. I will clean it up for you as it has plenty other things.
from maya2gltf.
I am not sure how to share it with you but here is a wetransfer links.
from maya2gltf.
Sorry, I missed this issue, I was on vacation in august.
The link is expired, can you upload this again, if still needed?
from maya2gltf.
You can try to abuse the emissive texture I guess, so that the color of the text is added to the transparent bottle. So the texture containing the label should become an emissive texture. I am not sure if this will work, but I don't think anything is wrong with the exporter in this regard, the output looks correct at first sight.
from maya2gltf.
No that doesn't seem to work... I'm afraid that your mesh can't work without OIT (order independent transparency). This has nothing to do with Maya2glTF, but the render engine.
Best to ask in the general GLTF rendering forums or rendering engine specific forums for how to this with GLTF and the engine.
PS: I couldn't get it any better than this, using the Babylon viewer:
from maya2gltf.
Thank you for your help!!! Hmmm I need to see how the ""OIT"" works in our AR application... I am having problems getting the "glass" effect to work now. I am now working on a car model and trying to create glass effect for the windows etc from in Maya and it just doesn't work anymore. I am now working in Substance painter to export the GLB but it's still not 100%.... Would the dev behind the overall compiling of the AR project be able to apply a more robust glass information by using coding stating the IOR for the material? I am guessing they could.
Thanks for all you help. I might have maybe look into using Blender for transparency. Maybe it deals with it differently on export.
from maya2gltf.
See also
https://doc.babylonjs.com/features/featuresDeepDive/materials/advanced/transparent_rendering
from maya2gltf.
My apologies for such a late reply. Thank you. I will have a look at the links provide. I really appreciate your help.
from maya2gltf.
Related Issues (20)
- Which files to move into scripts & plug-ins folder after macOS build? HOT 6
- Shelf is not updated correctly after building on MacOS / Maya 2022
- Installation HOT 6
- Mac Exporter Adds "0" character to .bin filename HOT 4
- Could not build on macOS 12.0.1 and Apple M1 CPU. HOT 3
- Export clip ftom Time Editor work? HOT 2
- can't assign textures to PBR on MacOS HOT 6
- Compression HOT 1
- Cannot toggle visibility on meshes ("...different scaling and rotation pivots, ignoring scaling pivot!") HOT 5
- Multiple uv set HOT 1
- export mesh will add a new blendshape HOT 1
- Maya 2023 HOT 5
- Maya 2023 (Maya2glTG 1.5.1) glb export HOT 2
- Set export precision using arguments HOT 2
- Materials not displayed correctly in maya HOT 1
- Bat file fails to extract. HOT 6
- Key frames on the Shaders Alpha channel will not export HOT 1
- Please update to 2025 HOT 6
- !!! maya2glTF: failed at 17:07:06 !!! HOT 9
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 maya2gltf.