webzamples icon indicating copy to clipboard operation
webzamples copied to clipboard

Ground Projected Skybox

Open drllz opened this issue 2 years ago • 4 comments

Thank you for your work on : https://github.com/gftruj/webzamples/tree/master/aframe/three-components

I am wondering if you could amend it to accept Equirectangular images and/or Skybox images, instead of HDR images?

Reasoning: Equirectangular images (jpg, webp) are much smaller file size.

drllz avatar Apr 01 '24 22:04 drllz

Hey, I'll try to add jpg support this week!

gftruj avatar Apr 02 '24 21:04 gftruj

Hi Piotr, sorry to bother you, but have you had any success with this?

drllz avatar Apr 09 '24 03:04 drllz

Sorry i got caught up in some unexpected deadlines at my uni. By default the component should use a TextureLoader suitable for jpg/jpeg, possiblyeven webp. Check it out here

Let me know if it suits you, or if you want a cubemap loader as well!

gftruj avatar Apr 12 '24 13:04 gftruj

hi there Thank you so much for implementing this. And my apologies for taking so long to write back to you to say thank you.

I notice one thing... that there is an aliased line along the edge seam of the jpg only. The HDR doesn't have this. I've tested this with a few of my equi jpegs, and they all have an aliased line at the seam. Is there any way to solve this?

Screenshot 2024-05-14 124413 .

Is there any way to solve this?

drllz avatar May 14 '24 02:05 drllz