Closed richo0 closed 1 year ago
Hello and thanks!
Vertex colors are supported with standard material.
There seems to be a bug in Pixi3D with that specific gltf file, doesn't want to render it for some reason - I'll investigate this. I tried importing the gltf file in Blender and then exporting it to gltf again and that file worked.
Thanks for reporting, I'll try to fix this as soon as I can.
Thanks for the quick reply! Really looking forward to using this!
On 22 Dec 2022, at 8:25 PM, Jens Malmborg @.***> wrote:
Hello and thanks!
Vertex colors are supported with standard material.
There seems to be a bug in Pixi3D with that specific gltf file, doesn't want to render it for some reason - I'll investigate this. I tried importing the gltf file in Blender and then exporting it to gltf again and that file worked.
Thanks for reporting, I'll try to fix this as soon as I can.
— Reply to this email directly, view it on GitHub https://github.com/jnsmalm/pixi3d/issues/148#issuecomment-1363265760, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKARHUUEM5E54IHJTJT2ZZ3WOSTKXANCNFSM6AAAAAATHBBWRA. You are receiving this because you authored the thread.
Would it be ok with you if I use this model in automatic tests to make sure this issue won't come back?
Yes - no problem! Sent from my iPhoneOn 22 Dec 2022, at 9:09 PM, Jens Malmborg @.***> wrote: Would it be ok with you if I use this model in automatic tests to make sure this issue won't come back?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Created a new version 2.1.1, please let me know if this fixes your issue.
Works perfectly! Thank you very much!
On 23 Dec 2022, at 12:12 PM, Jens Malmborg @.***> wrote:
Created a new version 2.1.1, please let me know if this fixes your issue.
— Reply to this email directly, view it on GitHub https://github.com/jnsmalm/pixi3d/issues/148#issuecomment-1363860400, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKARHUWO7B3HVP5CILZHWS3WOWCIVANCNFSM6AAAAAATHBBWRA. You are receiving this because you authored the thread.
Hi,
I just found your project from Hacker News, it's really awesome - thanks for creating this!
I'm having issues loading GLTF files which use vertex colours, they do not render at all.
For example, the code below should render the cherry model in the attached image - however all I see is a black screen and no errors. I'm wondering if the standard fragment shader does not support vertex colours?
Please find attached a zip file of the model attached.
I'd love to use your library on a project I'm working on, however all of the art assets use vertex colours. :-(
Any assistance you might provide would be most appreciated - I love what you've done here!
Cheers, -R
`let app = new PIXI.Application({ backgroundColor: 0x000000, resizeTo: window, antialias: true }); document.body.appendChild(app.view);
cherry.gltf.zip