You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a better solution for our texture map file loading. I have scripts that put the image file in just the right place for the way I build and run the project, but that will be unique to each developer.
Thinking of writing a utility function that tries file, images/file, ../images/file, ../../images/file, ../../../images/file, and so on until ... some point. I can't do too much with the file system in C++11 in an OS-agnostic way, so it'll have to be somewhat simple-minded. Thinking of putting this in the rtw_stb_image.h file as a helper function.
The text was updated successfully, but these errors were encountered:
- Honors RTW_IMAGES environment variable to locate RTW image directory
- If RTW_IMAGES is unset, searches for image files in several likely
image directory locations.
- Separates image data management from diffuse texture map class.
- Better error reporting on image load failure.
- More robust getters in the face of absent image data.
Resolves#807
We need a better solution for our texture map file loading. I have scripts that put the image file in just the right place for the way I build and run the project, but that will be unique to each developer.
Thinking of writing a utility function that tries file, images/file, ../images/file, ../../images/file, ../../../images/file, and so on until ... some point. I can't do too much with the file system in C++11 in an OS-agnostic way, so it'll have to be somewhat simple-minded. Thinking of putting this in the
rtw_stb_image.h
file as a helper function.The text was updated successfully, but these errors were encountered: