Logo by Pauldelbrot - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. October 03, 2018, 12:47:05 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Mandelbulb 3d 16 bit zbuffer  (Read 2111 times)
0 Members and 1 Guest are viewing this topic.
Rama
Alien
***
Posts: 30



« on: January 05, 2012, 09:22:21 AM »

Would be nice to have 16 bit zbuffer export from Mandelbulb 3d....  wink
Logged
lenord
Fractal Bachius
*
Posts: 611


No Matter where you go there you are


« Reply #1 on: January 05, 2012, 03:30:50 PM »

You mean like the Zbuff save on the Save Image Tab
Logged
Rama
Alien
***
Posts: 30



« Reply #2 on: January 05, 2012, 07:10:13 PM »

Yes exactly.
Logged
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #3 on: January 05, 2012, 07:17:58 PM »

The PNG unit i use got only 16 bit loading, no saving!  sad
If someone knows of a unit to be used with Delphi (6) and can also save 16 bit PNG, scream or so.

Would avoid using Tiff because of to much different formats and code blowing up.

 
Logged
Rama
Alien
***
Posts: 30



« Reply #4 on: January 05, 2012, 07:50:59 PM »

Would be great to have.
Zbrush can import 16 bit grayscale images to create depht. And the color can be aplied on top. End result is a full color 3d background.
Logged
pedroasecas
Guest
« Reply #5 on: January 06, 2012, 11:33:01 AM »

Jesse, what unit are you using? and what specifications about license and functionality would you require if you were to use a different one? I'll gladly take a look and see if I find something helpful.
Logged
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #6 on: January 06, 2012, 05:05:59 PM »

Jesse, what unit are you using? and what specifications about license and functionality would you require if you were to use a different one? I'll gladly take a look and see if I find something helpful.

Thanks for offering help!

I am using Gustavo Daud's pngimage component version 1.5.
But it seems that this unit will not be developed further,
"pngdelphi.sourceforge.net" shows no files.

If you know something that could be used freely for non-commercial purpose, it would be very recommended.
Giving credit as sort of a notice in the program description is no problem.

Features should be:

 - Reading + writing (3x8bit, as common) rgb png files, 4x8 including alpha channel would be fine too.
 - Writing 2 and/or 8 bit indexed color files.
 - Writing 3x16bit rgb files would be nice, 1x16bit for Zbuffer should be.
 - Inserting a comment tag for text parameters: appreciated.

I like units to be included more than extern dll's, but a dll should be also ok if no other way is possible.

Logged
pedroasecas
Guest
« Reply #7 on: January 06, 2012, 06:40:18 PM »

You're welcome Jesse! I found a couple of libraries that can read/write the formats you need.

The first is ImageLib, an open-source Delphi component from Image Analyzer's author, Michael Vinther, located at http://www.logicnet.dk/lib/, downloadable from http://sourceforge.net/projects/imagefilelib/. The license allows use in freeware software and license distributions, and only requires a mention. Seems to be well maintained and pretty current. The author mentions that it was tested under Delphi 7, but says it should also work under 6, 5 and 2005. I use Image analyzer regularly and have been able to export PNGs in all required bit depths.

The second is a pascal wrapper for ImageMagick MagickWand and MagickCore APIs located at http://wiki.freepascal.org/PascalMagick(more info at http://www.imagemagick.org/script/formats.php?ImageMagick=bicrv0nkc2rt9cjrl1j2isd2v2 about supported formats, and at http://www.imagemagick.org/script/magick-wand.php and http://www.imagemagick.org/script/magick-core.php for the APIs specifics). I don't know much about this one's requirements, complexity or Delphi compatibility, but as ImageMagick is widely used, I suppose it should work if the API wrapper is complete. Anyway, have a look at it if and see if it helps.

I'll keep an eye out for more.

PS: the ImageMagick license is at http://www.imagemagick.org/script/license.php

By the way, thanks a lot for Mandelbulb3D!
Logged
blob
Strange Attractor
***
Posts: 272



« Reply #8 on: January 06, 2012, 09:08:12 PM »

I use Image analyzer regularly and have been able to export PNGs in all required bit depths.

Well, I certainly can't save anything in 16bit per channel, not even TIF, with this (cool) program.

And btw TPNG has been acquired by CodeGear/Embarcadero a few years ago so its sourceforge page will remain empty until it disappears.

http://blogs.embarcadero.com/nickhodges/2008/08/13/39100
Logged
pedroasecas
Guest
« Reply #9 on: January 07, 2012, 12:12:35 AM »

You have to convert the image to a floating point map in the operations>pixel format conversions menu. Then, go to file menu>save as, open the  lower combo box and select 16-bit Portable Network Graphics as save format instead of Analyzer's own *.map files.
Logged
blob
Strange Attractor
***
Posts: 272



« Reply #10 on: January 07, 2012, 01:34:52 AM »

Ah OK, I see you are are an Image Analyzer expert. It's strange though that it doesn't open 16bit image files (PNG or TIF) as 16bit but as 8bit so I assumed it had no 16bit processing and export available.
Logged
pedroasecas
Guest
« Reply #11 on: January 07, 2012, 04:07:40 AM »

@Blob: No, I'm no expert, just a curious tinkerer smiley. I understood that the OP would want to extract a 16 bit zbuffer image from Mandelbulb3D to be used in other apps, and didn't think about the importing part.

Regarding Image Analyzer, I too find odd that 16 to 8 bpp behaviour when opening files, seeing that it can export them as 16 bit and as the image information panel shows the source as 48 bpp, i.e. 16 bit. Knowing that, let's hope the Delphi component allows a full 16 bit read/write workflow. If not, there might be other options.
Logged
Rama
Alien
***
Posts: 30



« Reply #12 on: January 07, 2012, 04:19:58 AM »

Thanks to all of you !

I didn't think it was going to be so complicated.
Logged
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #13 on: January 07, 2012, 08:14:05 PM »

Thank you pedroasecas!

ImageLib seems to be the best one so far, i will test it and hopefully it will be not very difficult to imlpement.
But this needs some time.

I knew Image Analyzer before, did not thought of an open source project, or at least some parts of it.
Thanks to Michael Vinther.

On the politic of embercado i say nothing, i don't think i will ever buy newer products for insane sums of money and the user interface seems mad to me.
Logged
pedroasecas
Guest
« Reply #14 on: January 08, 2012, 03:30:31 AM »

And thank you too, Jesse! I only want to help you make Mandelbulb3D even more awesome with what little I may know.

I found yet another free delphi unit for PNgs, a dll wrapper this time: http://freeimage.sourceforge.net/ (downloads: http://freeimage.sourceforge.net/download.html). It has a dual license, either GPL v2 or a very liberal FreeImage Public License (FIPL), which even allows commercial use of the library, requiring acknowledgement and inclusion of the license. You can check the terms at http://freeimage.sourceforge.net/license.html. IMHO it looks very capable, if you ever need something besides PNG, BMP and JPG.

I hope this will be of use if ImageLib turns out to be difficult in the end. Options, options... there's no such thing as too many of them... smiley
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
A new mandelbulb I think Theory Tglad 0 1941 Last post November 28, 2009, 05:13:14 AM
by Tglad
My first Mandelbulb Mandelbulb Implementation spooky 6 4159 Last post January 06, 2010, 10:10:50 PM
by spooky
Mandelbulb Mandelbulb Renderings trafassel 3 2733 Last post January 04, 2010, 04:01:54 PM
by twinbee
Very hot Mandelbulb Mandelbulb Renderings Buddhi 6 3544 Last post January 04, 2010, 04:07:23 PM
by KRAFTWERK
Save parameters + Png + Zbuffer + ... Mandelbulb 3d PhotoComix 13 2763 Last post June 01, 2017, 06:10:14 AM
by Jakeukalane

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.155 seconds with 25 queries. (Pretty URLs adds 0.014s, 2q)