1
\$\begingroup\$

I've got a numerical simulation, where I have as an output 3d matrix of billion elements - the visualisation of data is 2d flat image:

enter image description here

When I was starting I was just outputting 2d data to gnuplot, now I generate png file in program itself (to cut generation time). I would like now to get a 3d picture (in flat png) from my billion elements 3d matrix - in isotropic view etc. I found on the Internet things like ImLib3d for image processing, but I am afraid it's not what I am looking for.

\$\endgroup\$
4
  • \$\begingroup\$ What primitives are you drawing? Do you need depth buffering? Do you expect to use some form of blending, if so would it be additive or alpha blending? Etc, please provide at least, like, something slightly relevant to your question. \$\endgroup\$
    – MickLH
    Nov 14, 2015 at 16:38
  • \$\begingroup\$ So you essentially have a 1000x1000x1000 lattice with samples on each lattice point, and want to construct some sort of volumetric view on it? \$\endgroup\$ Nov 14, 2015 at 20:27
  • \$\begingroup\$ What is the question here? Are you asking how you could render this data or are you asking for a library to do so? The latter is off-topic here. \$\endgroup\$
    – user1430
    Dec 14, 2015 at 21:22
  • \$\begingroup\$ I've got a software renderer you could use. \$\endgroup\$
    – Alec Teal
    Dec 14, 2015 at 22:22

1 Answer 1

1
\$\begingroup\$

I think, the easiest way here is to just learn some more advanced math and render needed isometric image into .png pixel by pixel.

Of course, you can learn something like OpenGL for this, but this library can be hard to learn. Also, using it will require more code, you will get your results faster.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged .