• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports Current Version of Wings3D - bug reports Grayscale expected

 
  • 0 Vote(s) - 0 Average
Grayscale expected

markie
Offline

Junior Member

Posts: 17
Threads: 7
Joined: Mar 2023
#1
06-09-2023, 09:32 AM
After importing grayscale images (Metallic/Roughness/Ambient Occlusion) and applying them to material Wings says "Expected a gray scale image, converting" despite those images already being grayscale.

I found out that after importing image into wings it automatically converts it to RGB (by importing grayscale image and then right click in the Outliner -> Export...).
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,682
Threads: 185
Joined: Jun 2012
#2
06-09-2023, 03:09 PM
Hi markie
I may have to check the code, but I think the message is displayed when you have an image with three - RGB (or four - RGBA) channels.

Does your grayscale uses only one channel?
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
markie
Offline

Junior Member

Posts: 17
Threads: 7
Joined: Mar 2023
#3
06-09-2023, 03:18 PM (This post was last modified: 06-09-2023, 03:48 PM by markie.)
Hi micheus.
Yes, I after I open image in GIMP it shows only one grey channel.

Maybe it's something to do with sRGB/gamma?

Another issue is that after applying Roughness map model becomes very glossy/wet/varnished. Same issue exist in Unreal, and solution was to disable sRGB/use Linear light.
As a workaround I was increasing gamma manually in GIMP.
Is there an option to do so within Wings?
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,682
Threads: 185
Joined: Jun 2012
#4
06-09-2023, 05:27 PM
About the map, You can control it's influence by using the slides for roughness, metallic which we can set them to 1.0 when a map exists. That means we are going to apply "pure" values in the map.

For the base colour, if the map exists, set the colour to white.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
markie
Offline

Junior Member

Posts: 17
Threads: 7
Joined: Mar 2023
#5
06-09-2023, 05:53 PM
Right, totally forgot I can control the maps. Thank You Biggrin
markie
Offline

Junior Member

Posts: 17
Threads: 7
Joined: Mar 2023
#6
06-14-2023, 03:25 PM
Update: Wings also exports grayscale images as RGB.
If you create gray image from channel (within wings) and then export it you will get an image with three channels.
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#7
06-16-2023, 12:33 PM
I don't think any of our image format implementations can export only one channel.
So you will have live with those wasted bytes and warning :-)
Or send me a PR for the image formats.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode