-
Notifications
You must be signed in to change notification settings - Fork 447
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
How to assemble a cubemap from pre-generated images per mipmap level #73
Comments
It shouldn't be difficult to extend |
Thanks. We tried to use your tools to generate a Prefiltered Mipmap Radiance Environment Map from separate mipmap images for each, but it seems we better use a tool that directly generates these PMREM DDS files. What tool is not yet clear. You are not planning to add such a tool? :-) |
For the |
Thanks for the feedback. I was hoping to find a tool for the technique described in this paper from Activision, as it seems it is so fast that it can actually be done at loading-time. But the modified cubemap gen tool will certainly do for now. |
There are two other tools to consider: cmft which is an open source utility. It has both a command-line and a GUI interface. Lys is a commercial tool for generating the cubemaps, and supports writing BC6 DDS files. |
Another project to consider is IBLBaker, |
Yes, that one is adviced by the glTF PBR group.
I have a pull request ready that can generate a cubemap from the premade
MIP level images, but since I don't think my code is up to your quality
standards, I am not sure if I should submit it :-) It is a bit hacky, when
you ask it to build a cubemap but you provide more than 6 images, it
assumes you passed all MIP levels, and then disables resizing and checks if
all the images have correct downscaled sizes. Maybe a flag is needed to
make this explicit.
…On Thu, 1 Feb 2018, 19:25 Chuck Walbourn, ***@***.***> wrote:
Another project to consider is IBLBaker
<https://github.com/derkreature/IBLBaker>,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACR1b0IWiUKh8VM-EayJHt4rZJqzjw8Nks5tQgF9gaJpZM4ReTGl>
.
|
This seems like something that can be added to |
Hello,
If I understand it correctly, one uses
Texassemble
to combine multiple images into a DDS file, andTexconv
to generate mipmap levels.But how can we assemble a DDS when we already have custom pre-generated images for each mipmap level? It seems
Texconv
can only generate the mipmap levels, not copy from existing images?In the DirectX June 2010 SDK a GUI tool for this existed, the DirectX Texture Tool (DXTEX.EXE), that allowed manually loading images into each mipmap level. We want to automate this process.
Any help is appreciated :-)
Thanks a lot,
Peter
The text was updated successfully, but these errors were encountered: