-
Notifications
You must be signed in to change notification settings - Fork 440
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
Provide a passthrough access to image data from scene importers #606
Comments
[a hour-long call happened in the middle of writing this, sorry] I have a precise idea how to do this, already discussed it briefly with @Squareys some time ago. Coincidentally I need it as well (for optimizing gigabyte-sized scenes without image recompression), so I'll try my best to prioritize it. If you have a hard deadline for this, please let me know ;) It'd be essentially about this:
And besides allowing you to fan out the import to a worker pool, it'll allow these features:
It depends on a bunch of changes to the ImageData internals (getting rid of the nasty GL-specific
At least initially it'll be quite an annoying piece of work touching obscure internals so probably not something you can help me with, but if I'll come across something that's possible to "outsource", I'll get in touch :) |
Hello !
We would like to thread the importing of images attached to an imported scene file, that we currently get mainly through
AbstractImporter::image2D()
function. Being able to thread it would be cool as it turns out this is one of the main bottlenecks when loading different kinds of scenes.As a simple solution, we thought a
image2DData()
function could be provided as an alternative toimage2D()
, but maybe you have other better ideas. Giving a quick try this approach seemed easy enough to implement and can be made to work with both embedded files and separate files, although the ownership of what it returns is an open question in that case 😄.If you have a precise idea of how to approach this but don't have time, I could help, so let us know 😅
Cheers
The text was updated successfully, but these errors were encountered: