jyhdyjguf Posted October 27, 2024 Posted October 27, 2024 (edited) Iam trying to create a flowmap jpg however i get this error whenever i try to create the texture in the "Texture Paint Mode",or "Surface Custom Texture".It gives this error for any format i try to create.A work around is to make a blank jpg in gimp then import it into the asset browser,and i can paint on it with no issue. Win 10 and Editor 2.19.0.1 Project Type C++ & Directx 12 ImageLoaderJPG::save(): can't save RGBA8 format into the "C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/deasg.jpeg" file ImageLoaderJPG::output_message(): Empty input file ImageLoaderJPG::load(): can't load "C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/deasg.jpeg" file C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/img1.jpeg (0B): import started... ImageLoaderJPG::output_message(): Empty input file ImageLoaderJPG::load(): can't load "C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/deasg.jpeg" file C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/img1.jpeg: import finished in 5.101000 ms C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/img1.jpeg (0B): import started... ImageLoaderJPG::output_message(): Empty input file ImageLoaderJPG::load(): can't load "C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/img1.jpeg" file ImageLoaderJPG::output_message(): Empty input file ImageLoaderJPG::load(): can't load "C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/img1.jpeg" file C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/deasg.jpeg: import finished in 5.252000 ms "ImportTextureStage: Image file saving error. (Source filepath: C:/Users/llll/Documents/UNIGINE Projects/unigine_project/data/textures/img1.jpeg)" Edited October 27, 2024 by jyhdyjguf
silent Posted October 29, 2024 Posted October 29, 2024 There is no way to store RGBA data inside a JPEG file (it only can handle up to 3 channels - RGB). Please try to use different file format. For flowmap I think it would be enough to have 2 channels (RG). 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
jyhdyjguf Posted October 29, 2024 Author Posted October 29, 2024 Any file format either .jpeg,.jpg,exr,etc or any channels RG,RGB,etc,or any depth all result in that exact error i posted i cant create any image file in the editor
jyhdyjguf Posted October 29, 2024 Author Posted October 29, 2024 When i browse my project in windows file explorer i can see all the image files i tried to create in the editor,however all the image files are 0 bytes.
dosma Posted October 30, 2024 Posted October 30, 2024 Hello, watch the video tutorial on how to create a flowmap. flowmap.mp4 1
jyhdyjguf Posted October 30, 2024 Author Posted October 30, 2024 the issue is the editor will not generate a valid image file regardless if its meant for a flow map or not. No file called texture.jpg shows up in asset browser But it creates a empty jpg file in windows directory
jyhdyjguf Posted October 30, 2024 Author Posted October 30, 2024 What ive tried Unchecking read-only on the project folder Adding project folder exclusion to anti virus windows user account has full control over project folder(Read,write,etc) Tried previous sdk 2.18
jyhdyjguf Posted October 30, 2024 Author Posted October 30, 2024 Ok it was user error @silent and @dosma told me the answer i didnt read it correctly sorry about all that thanks
Recommended Posts