Giter VIP home page Giter VIP logo

Comments (2)

jagenjo avatar jagenjo commented on May 11, 2024

Hi Cristian:

Cubemaps could come in four forms, an image in polar coordinates (the default one), an image with the 6 sides arranged vertically, a cross image, or a DDS cubemap.

The problem is that with 2d images (the three first ways) it is hard to detect just by having the image. So I came up with this strange way: if the image is 6 times higher than taller then its the second type, if the file has the string CUBECROSSL then its a cross leaning left. Otherwise a polar image is assumed.

In the image width divided by six is not a integer number then it asumes its a polar image. Thats what happened to your image.

There is a tool in the Actions menu to create cubemaps from the scene or from files. Play with it and give me some feedback.

I have improved it so it gives more feedback when creating cubemaps, please update the webglstudio to the github.

I understand it is hard to deal with this problems, I will make tutorials soon.

Cheers!

from webglstudio.js.

magadan avatar magadan commented on May 11, 2024

Got it, thanks to reply. Im using this software Pano2VR ( http://ggnome.com/ ), in my first test im converting HDR Irradiance format (from NOEMITION website) to 6 sides arranged horizontally. I will try to convert with vertically arrange as you inform. I will post my result if success here.

from webglstudio.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.