Skip to content
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

Cubemap to and from cross #40

Closed
walbourn opened this issue Sep 21, 2016 · 8 comments · Fixed by #290
Closed

Cubemap to and from cross #40

walbourn opened this issue Sep 21, 2016 · 8 comments · Fixed by #290
Assignees
Labels
enhancement tools Applies to texconv, texdiag, texassemble, etc.

Comments

@walbourn
Copy link
Member

walbourn commented Sep 21, 2016

Tool to convert between cross layout images and cubemaps.

  • h-strip (height, width *6): posz, posx, negz, negx, posy, negy
  • h-strip-xyz (height, width * 6): pox, negx, posy, negy, posz, negz
  • h-cross (height * 3, width * 4): negx, posz, posx, negz, posy, negy
  • h-cross-flip
  • v-cross (height * 4, width * 3): negx, posz, posx, posy, negy, negz
  • v-cross-flip
@walbourn walbourn added the tools Applies to texconv, texdiag, texassemble, etc. label Sep 21, 2016
@walbourn
Copy link
Member Author

considering adding this as an option to texassemble

@walbourn
Copy link
Member Author

texassemble now supports h-strip, v-strip, h-cross, and v-cross generation.

@walbourn walbourn self-assigned this Sep 24, 2016
@lanyizi
Copy link

lanyizi commented Jun 1, 2021

texassemble now supports h-strip, v-strip, h-cross, and v-cross generation.

Looks like texassemble only supports creating cross from cubemap, not converting h-cross to cubemap?

@walbourn
Copy link
Member Author

walbourn commented Jun 1, 2021

Correct. I'm guessing that's a feature request :)

@walbourn walbourn reopened this Jun 1, 2021
@walbourn walbourn pinned this issue Oct 23, 2021
@matyalatte
Copy link
Contributor

Hi, I implemented this feature for my tools.
So, I think I can contribute to the official branch like this.
matyalatte@d085c1d
Can I send PR after adding commands for other layouts?
Or is anyone already working on it?

@walbourn
Copy link
Member Author

walbourn commented Nov 5, 2022

You are welcome to submit a PR. I have a side-project to work on a texenvmap tool for generating spherical cubemaps, panoramic cubemaps, parabolic cubemaps, but this is a fine addition to texassemble.

@walbourn
Copy link
Member Author

walbourn commented Nov 5, 2022

You'll need to sync with my main branch for my recent additions of h-tee and v-cross-fzh.

@matyalatte
Copy link
Contributor

Thanks for the comments.
I sent the PR (#290).

@walbourn walbourn unpinned this issue Nov 6, 2022
@walbourn walbourn linked a pull request Nov 6, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement tools Applies to texconv, texdiag, texassemble, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants