On Sat, Nov 4, 2017 at 2:31 PM, Christopher Sean Morrison
<brl...@mac.com> wrote:
> Vasco,
>
> Did you also change what is written out to disk?  If so, we’ll have to figure 
> out a backwards compatible encoding flag or always write out wastefully but 
> keep it efficient in memory.
>
> Longer term for ebm, dsp, it would probably be good to allow an arbitrary 
> image encoding or binunif object, instead of very specific encoded formats.

No, I only pack the data on the OpenCL Host, then send it in packed
format to the OpenCL Device. The Device can directly raytrace with the
packed format.
I also inlined and refactored the ANSI C code.

Yes, the ANSI C code could use the same improvements as well. We could
also store the data compressed on the disk. But I haven't made those
changes.

I agree that more generic bitmap formats would be desirable. Perhaps
some compressed formats as well. Compressed formats would be
particularly nice for the VOL since it uses 3D textures, and also for
the DSP to a lesser degree. Some kind of subset of the OpenGL image
formats I guess. But this is something that should be more long term
work.

There are a couple of grid like primitives (EBM, DSP, VOL). None had
been ported to OpenCL yet, this is the first one. The code for all of
them has a lot of similarities.

Regards,

---
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to