-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Tonemapping example image loader not working #10395
Comments
General answer is "its complicated". Of course, we should support loading assets in these cases, but I think how we do that needs to change. I think it should probably be a combination of two things:
Some discussion here on discord: |
Note that we are planning on being more principled (and platform-agnostic) about AssetPaths in the future. Ex: you should use |
I think this makes sense as long as there's a reasonable way for an end user to specify a file path in a typical OS native fashion. There should be a reasonably straightforward way to make a bevy app that allows the end user to use It sounds like the abstraction in 2. is designed for this purpose. Just clarifying where the more principled paths are required. (Some example applications would be: digital content creation, scientific visualization, anything with a OS file dialog) |
Yup fully agreed that this is necessary. One "quick fix" for these apps that doesn't require Bevy changes: change the root asset folder to the root of the current drive (ex: |
What about for files on other drive letters? I personally only have windows, users, etc... on C:\ and keep everything else on other drives. |
Bevy version 32a5c7d
Previously, in the tonemapping example an exr or hdr image file could be dragged and dropped onto the window to view the image with the selected tonemapping settings. This no longer works.
The issue was introduced at 35073cf with #9885
The text was updated successfully, but these errors were encountered: