PNG48 option in the PNG exporter ?

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Fispear
Posts: 1
Joined: Thu Mar 01, 2012 1:23 pm

PNG48 option in the PNG exporter ?

Postby Fispear » Thu Mar 01, 2012 2:05 pm

Hi every one !

I'm a 3D real time french student (and i hope a developer too :wink: ) and i'm using blender because it easy to implement python scripts to export meshes, scenes in our personal format (very nice job the new 2.5 API, well done !).

I would like to talk about PNG 48bits, it's a PNG image, but than can have 16bits per channels (RGBA). Save 16 bits per channels images is use full for normal map, or other float textures, and PNG images are also very useful with images editors.

My personal 3D engine load textures as PNG format, for compression / quality / facilities and Blender can load 48bits PNG images. But it can't save as 48bits PNG images ... But i know it's possible because i have program it my self with libpng. Count only 20 lignes of C/C++ code to add in the exporter function ... :wink: That why i'm querying this options in the blender's PNG exporter. It would be very useful with the ability to create 16bits images (unsigned short AND/OR half) too.

Thank you.

ldo
Posts: 544
Joined: Sun Nov 07, 2010 11:30 pm
Location: Hamilton, New Zealand

Postby ldo » Mon Mar 05, 2012 5:42 am

Seems like people wanting a larger dynamic range use a format like OpenEXR.


Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 1 guest