Giter Site home page Giter Site logo

envtools's People

Contributors

1ace avatar rlk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

envtools's Issues

32bit float tif format

hello,

i'm trying to use envtoirr.c but when i convert (imagemagic tool) your cube.tif like this:

$> convert etc/cube.tif -depth 32 -define quantum:format=floating-point cube-float.tif

cube-float.tif looks ok in osx Preview.

$> ./envtoirr -n 128 -f cube-float.tif cube-irr.tif
Spherical harmonic coefficients:
0.09265 0.08183 0.05268
-0.02050 -0.02379 -0.01875
0.01137 0.01039 0.00868
-0.00058 0.00017 0.00088
-0.01319 -0.01128 -0.01012
0.00549 0.00483 0.00035
-0.00869 -0.00703 -0.00668
-0.01011 -0.00871 -0.01014
-0.00062 -0.00123 -0.00239

this values are so low and produce almost black irradiance map. I know it's probably problem in conversion, but tif format has so many options and i don't know what could be wrong. How should look like etc/cube.tif in 32bit float format? How do you convert to this format?

Explanation about dome remapping

Hello. Could you please explain why if I apply remap to the rect picture, I get a fully circular dome, that can be used as a texture in a hemisphere 3D object:

./envremap -i rect -o dome etc/rect.tif out/out3.tif

output

However, if I remap the fisheye (hemi) to dome, I get half of circule projection:

output2

Could you please explain how can I remap a fisheye 180 degrees picture to a dome image? So I can apply it as a texture to a 3D object:
Screenshot from 2023-07-14 13-29-58

Licensing ?

I made a package for ArchLinux, but I couldn't find what license you'd like to use.

Right now it's listed as unknown, which means the default copyright laws apply.

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.