Skip to content

Improve texture file locating #807

@hollasch

Description

@hollasch

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions