Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding «.hdr» files in the viewport crush Armorpaint #1530

Closed
infinder opened this issue Mar 8, 2023 · 8 comments
Closed

Adding «.hdr» files in the viewport crush Armorpaint #1530

infinder opened this issue Mar 8, 2023 · 8 comments
Labels

Comments

@infinder
Copy link
Contributor

infinder commented Mar 8, 2023

ArmorPaint.org - v0.9 (2023-03-08) - c0f1b19
Windows 11 - Direct3D11
Intel(R) HD Graphics 620

Drag & drop .hdr files in the viewport crushes Armorpaint.

@infinder infinder added the bug label Mar 8, 2023
@MathemanFlo
Copy link
Contributor

I believe I know this issue and I'm sure it is very similar to #628. I'm still facing this problem. Sometimes ArmorPaint crashes while setting bigger hdr images as env map. Loading them as texture typically works fine, setting them as env map crashes ArmorPaint. Only a kinc.dmp is created, no Haxe/JavaScript error.

@infinder
Copy link
Contributor Author

infinder commented Mar 8, 2023

well, it used to work well that way though..

@MathemanFlo
Copy link
Contributor

I see. I'm sorry.
I can not test it on the same system but a similar one:
ArmorPaint.org - v0.9 (2023-03-08) - c0f1b19
Windows - Direct3D11
Intel(R) UHD Graphics 630

Here it works for smaller hdr files ( ~500kb, 360x180 pixel)
grafik

But I get crashes for bigger one (4k hdr) as you describe in most cases (say 19 out of 20 cases), but sometimes it works
grafik

@luboslenco
Copy link
Member

luboslenco commented May 14, 2023

Do you get the crash with every .hdr file you try? Or do some .hdrs work and some do not? For me it seems to work ok, trying to find a way to reproduce it.

@rpaladin
Copy link

Perhaps the crash is related to armory3d/armory#2746?

@infinder
Copy link
Contributor Author

ArmorPaint.org - v0.9 (2023-05-15) - 62d44ba
Windows - Direct3D11
Intel(R) HD Graphics 620

It keeps crashing with all hdrs files. Files from cloud/hdrheaven apeear with thumbnails but from ambientcg they don't..

@infinder
Copy link
Contributor Author

In my second laptop with nvidia 3060 graphics card and 16gb ram, 4k hdr files are loaded fine but after draging 3-4 files in a row in the viewport there is a lag and the last one appears after a while. It's like the previously loaded hdr files occupied the system memory and they don't released it right away. Regarding to thumbnails the situation remains the same.

@luboslenco
Copy link
Member

Link with #1627.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants