engine icon indicating copy to clipboard operation
engine copied to clipboard

Convert from various panorama projections to cubemap

Open guycalledfrank opened this issue 8 years ago • 9 comments

It'd be very nice to create cubemaps from latitude/longitude or vertical cross projections. Requires small engine utils + editor support.

guycalledfrank avatar Nov 29 '16 15:11 guycalledfrank

Here is forum discussion regarding that feature: http://forum.playcanvas.com/t/iray-pascal-spherical-camera-photospheres/2797

It worth thinking about different approaches and their cons/pros.

Maksims avatar Nov 29 '16 15:11 Maksims

Converting to 6 face assets in Editor would be the best, I guess.

guycalledfrank avatar Nov 29 '16 15:11 guycalledfrank

I agree, that would not blow up the engine, and prevent complicated branches in logic with cubemaps and will not introduce runtime conversion performance hit.

Maksims avatar Nov 29 '16 15:11 Maksims

Assigning this one to you @slimbuck, since you're super-keen to refresh PlayCanvas' cubemap handling. 😄

willeastcott avatar Apr 13 '20 10:04 willeastcott

@slimbuck Does the addition of reprojectTexture address this? If not, what work would be required to justifiably close this issue, in your opinion?

willeastcott avatar Dec 25 '21 17:12 willeastcott

I think we can close this now @slimbuck

mvaligursky avatar Jun 14 '22 15:06 mvaligursky

Engine handles equirect only and not possible in editor yet.

slimbuck avatar Jun 14 '22 15:06 slimbuck

Perhaps we need an issue in the editor where we can start discussing design around this support.

slimbuck avatar Jun 14 '22 15:06 slimbuck

yep, I think there already is an issue for this in Editor repo.

mvaligursky avatar Jun 14 '22 15:06 mvaligursky

If that is so and the engine support is done, I'm closing this. If you believe that supporting vertical cross projection is useful @slimbuck, please open a new issue.

willeastcott avatar Oct 15 '22 22:10 willeastcott