Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: OpenEXR Support?  (Read 2488 times)

0 Members and 1 Guest are viewing this topic.

retep998

  • Newbie
  • *
  • Posts: 17
    • View Profile
OpenEXR Support?
« on: October 10, 2010, 07:00:42 am »
I'd love to have support for loading .exr images
http://www.openexr.com/index.html
Basically, with a .exr image you can have 16 bits per color or even 32 bits per color, in both integer and floating point, thereby allowing a HUGE range of colors.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
OpenEXR Support?
« Reply #1 on: October 10, 2010, 09:09:15 am »
HDR images need special processing to produce relevant effects, loading such an image with SFML would make no difference: both the pixel storage and rendering process use a fixed color representation (RGBA integer 32 bits).
Laurent Gomila - SFML developer

retep998

  • Newbie
  • *
  • Posts: 17
    • View Profile
OpenEXR Support?
« Reply #2 on: October 10, 2010, 06:22:34 pm »
I already have all the special processing stuff setup and ready to use. All I need is to be able to load .exr images and my system is good to go.
Since it doesn't seem like you're interested in expanding sfml beyond basic 2d stuff I'll implement it myself...

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
OpenEXR Support?
« Reply #3 on: October 10, 2010, 10:19:14 pm »
But even if I implement it, it will be loaded as 32 bits integer RGBA. I would have to make big modifications to SFML especially for that purpose.
Laurent Gomila - SFML developer