Pierre Glibert Posted April 18, 2018 Share Posted April 18, 2018 Hi community After an export from 3dsmax to gltf, I saw that my metallic/roughness map is to much compressed in jpeg. That create bad artefact on my render. Secondly, I saw that my color map switch from jpeg to png. I have no transparency, it's not necessary in my case. I prefer to keep a little compression for time loading reason. Is there a way to correct this ? Is it possible to add an option like a checkbox "compress", on the exporter, to not compress or compress images ? Thanks for your help. Pierre. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 18, 2018 Share Posted April 18, 2018 Hello this is part of our backlog: https://github.com/BabylonJS/Exporters/issues/62 (And we are looking for help ;)) For you color map can you make sure that Alpha Source is set to none in 3dsmax? Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted April 19, 2018 Author Share Posted April 19, 2018 Thanks @Deltakosh I added a comment on the issue : https://github.com/BabylonJS/Exporters/issues/62 Quote Link to comment Share on other sites More sharing options...
Guest Posted April 20, 2018 Share Posted April 20, 2018 Thanks! Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted April 23, 2018 Author Share Posted April 23, 2018 Hi @Deltakosh In the meantime, is it possible to make a quick correction to correct the compression to 100% for keeping a good quality ? ( ex : metallic/roughness map is to much compressed ) Thanks in advance, Pierre. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 25, 2018 Share Posted April 25, 2018 Pinging @noalak (But I guess it should be good) Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted April 27, 2018 Author Share Posted April 27, 2018 Hi @noalak Can you help me ? On 4/23/2018 at 2:37 PM, Pierre Glibert said: Hi @Deltakosh In the meantime, is it possible to make a quick correction to correct the compression to 100% for keeping a good quality ? ( ex : metallic/roughness map is to much compressed ) Thanks in advance, Pierre. Quote Link to comment Share on other sites More sharing options...
noalak Posted April 27, 2018 Share Posted April 27, 2018 Hi @Pierre Glibert I'm surprised compression quality is not 100% by default but i can definitly force that. I've never experienced an over compression of a jpg by the exporter, can you provide me a simple sample scene in which you experience that to make sure the fix is correct? Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted April 30, 2018 Author Share Posted April 30, 2018 hi @noalak I will send you a test scene when it's ready Thanks for your help. Quote Link to comment Share on other sites More sharing options...
Florent Glibert Posted May 1, 2018 Share Posted May 1, 2018 Hi @noalak, I created a test scene grouping together the majority of PBR maps in order to give an example of the issues we are encountering. You can find it in attachment. Color map jpg to png The color map is automatically converted to the png format after the export. The issue here is that our initial picture in jpg format (980 Ko) switched to the png format (1530 Ko). I already checked that my transparency channels are well deactivated in 3ds max. Would it be possible to keep the standard picture as it is after the export ? Transform jpg 72dpi to jpg 96dpi I also noticed that the export converts the dpi of my jpg pictures. The latter change from 72dpi to 96dpi. Would it be possible to keep the initial dpi while exporting ? Low resolution metallic/roughness map We noticed a loss of quality during the merge of the roughness map and the metallic map intended for the PBR. Here is a more explicit example : There is a kind of smoothing and artefacts in the central hole of the floor while the edges are sharp on my roughness or metallic maps. Is there an additional compression during the export ? If yes, can we deactivate it ? We thank you very much in advance for your help and your time ! textureOptimisation.rar Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted May 4, 2018 Author Share Posted May 4, 2018 Hi @noalak My brother send you a test scene and some comments in previous post. Can you help us ? Do you need something more ? Quote Link to comment Share on other sites More sharing options...
noalak Posted May 4, 2018 Share Posted May 4, 2018 I'm on it! Available soon. Pierre Glibert 1 Quote Link to comment Share on other sites More sharing options...
noalak Posted May 4, 2018 Share Posted May 4, 2018 With 3ds max exporter v1.0.5, compression quality is set to 100% jpg base color without any transparency is copy / pasted to output. Thus no conversion to png + dpi unchanged. Thanks for your feedbacks! GameMonetize and Pierre Glibert 2 Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted May 7, 2018 Author Share Posted May 7, 2018 @noalak thanks ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.