Image compression issues

upload
3d
textures

(Mrchlblng) #48

@RBR saving your materials is enough to trigger textures optimization (provided you actually made an edit in you materials, which is a new behavior).
And we actually had another silly case (sRGB vs srgb...) issue that hopefully has just been fixed.


(Ironbelly) #49

Certainly looking forward to improvements in texture quality.. These compression artifacts are marring what would otherwise be nice crisp normals frowning

You can see it in action here, yuck



(Stephomi) #50

Did you select "HD" quality in the viewer?
It looks like your screen are in SD.

By the way there's a small bug on our side, so instead of displaying LD/SD/HD, your model should only display LD/HD, (and in that case HD would be the default choice).
It should be fixed soon.


(Ironbelly) #51

Just posting up some other interesting issues we're seeing that appear to be coming from normal map compression on a weapon model we have in the works(7d9ca6b24eef49c88b429d00f49622dd). You can see all of these lines on the surface particularly when being hit by light




Difference In quality in 3d editing view and client view
(Headsethoncho) #52

Not sure if this thread is still active but I'm getting horrible compression on my normals like the sword above with no option to change LD/SD/HD in 3D settings or the viewer. Here is the model:


Mateba MTR-8
by Nicolas Riley
on Sketchfab

This is the look I'm trying to achieve from Painter

And here's a preview of what the sketchfab viewer is giving me

I've uploaded and re-uploaded this gun a dozen times with different settings, size maps, configurations, etc. to no avail, sometimes it even looks worse. Really confused as to why it omits so much of my normal map and compresses the rest.


(Delicious) #53

Having similar problems here. Switching from Normal Map to Bump Map makes the blurriness go away, but also changes the surface texture, obviously. Interesting that changing from one to the other would make a difference...

Uploading...


(Delicious) #54

Having related problems here: https://skfb.ly/MpNG. I am exporting from Substance Painter 2.0 directly to Sketchfab.

Compression is visible in the reflections. Interestingly, switching from Normal Map to Bump Map eliminates the noise completely.


(Mrchlblng) #55

@headsethoncho, @delicious,

thanks for your reports. We're aware that we still have issues with some normal maps texture compression.
We've been working on improving this but it's actually a difficult problem and we've no good solution yet. We even discussed converting normals to bumps but it doesn't look like the good solution (from our standpoint) and we'll probably have to use "in house" compression to keep assets size small while maintaining great quality.
We'll keep you posted on progress made on the subject!


(Bogdansuprun) #56

so any news about nm compression issues?


(Mrchlblng) #57

@bogdansuprun we unfortunately did not fix the normal map compression issue yet. We are still collecting models with issues. We will likely use a not "browser native" compression format so this requires thorough testing and stats aggregation (to make sure we are still mobile friendly) and might not be released in the very short term.


(Bogdansuprun) #58

it's pity. because marmoset toolbag (same issue) and sketcfab only this 2 ways to show 3d art portfolio, compressed NM just spoiling impression, now I thinking about publish or not...
As quick solving problem I can advice to you 2 version of NM, keep current compression and everything will be fine with mobile and other version is for pc/mac - GPU type detection decide what version will load. It's can be temporary while you are researching compression stuff.


(Stephomi) #59

@bogdansuprun The main reason why we compress texture is for download size, not really performance.
In any case, we are not using native GPU compression because the quality is not enough (on the supported format by webgl).
By "browser native", we mean the browser not the GPU.

So if we want to improve the compression, we have to use a format that is not supported by the browser nor the GPU, thus the decompression can take time (since it'd be done in javascript).

That being said, we still think it's worth it to do it for normal map, but we are currently not working on it, as we have other priority task in our roadmap.

For now you can add "?imageCompression=0" to load the original textures (but you can't save this settings).


(Bogdansuprun) #60

I see. Thanks for being in touch. I hope sketchfab will be good place where artists can show their next-gen high quaility 3d art.
"?imageCompression=0" - it's cool! I'll try use this in embed code.
Cheers!


(Bogdansuprun) #61

hello.
"?imageCompression=0" Is it stops working?? few days ago everything was good (embed and links), but now NM corrupted ((


(Stephomi) #62

All url options are now in snake case, so it's "image_compression=0".


(Bogdansuprun) #64

thanks, and lower and higher case matters


(Vchung3d) #65

Hey everyone,
I'm getting the same compression issues with my Glock 19 model's normal map, but I think I'd found a workaround, but it isn't perfect. When I export to Sketchfab with Substance Painter, it turns out that the normal map quality gets reduced drastically (I have 4k textures and my normal map is only 1mb, which meant lots of artifacts). You can clearly see what's going on if pull out the normal map from the .zip file and load it into Photoshop. For me, the artifacts are most noticeable in the Red and Green channels. My workaround involved using Photoshop to export out my original (uncompressed) normal map as a 2k texture, at maximum quality. There will still be some artifacting, but nowhere near as crazy as the one created by Painter and the 2k texture at max quality has the same file size as the 4k at low quality.
I've re-zipped everything and am attempting to re-upload the model. but the upload speed is really slow and keeps getting interrupted..


(Yilia) #66

As you know, there is HEVC, a top-leading compression codec released with iOS 11. I don’t know whether it can become better if adopt this codec to image. Just taking HEIC as an example, though it can takes up less storage space, it also comes with limited compatibility, causing users take the aid of heic to jpg converter for help. About image filed, I want to learn more from here and discuss with you guys.


(Alecazam123) #67

Using any lossy compression especially JPEG results in numerous artifacts that are very evident in all of the models that had it applied. This is especially evident in the seams on spaceships, and high-frequency changes in the images. Is there a way to get at the original lossless png images? Even with all 1 coefficients on JPEG (quality 100%) to try to help preserve high-frequencies, then you still get these artifacts and the size of jpeg is then as big or bigger than png. Why not just apply png compression techniques (png-crunch, etc)?


(Shirk Brandon) #68

I just uploaded a model that has some fine surface details in the normal map which aren’t playing well with the compression at all. I’m just commenting to make sure I didn’t miss any updates on this. Other than changing the URL there’s nothing better I can do about this for now right?

Here’s my model if it helps: https://skfb.ly/6Bnpn