New release: pynari 1.2.8

After a lot of fixed, pynari 1.2.8 was finally released earlier this week.
Biggest update: Milan Jaros (https://www.researchgate.net/profile/Milan-Jaros-3) provided some first interactive samples using a 3D volume viewer he wrote:

Other updates:

  • updated pip packages to use latest barney 0.9.8 that contains multiple bugfixes, and supports a more complete list of anari features and data types (e.g., spheres, cylinders, and cones)
  • pynari.Frame can now by read directly into a GPU buffer without first going over the host, allowing users of pyopengl and pycuda to copy frame buffers on the GPU (which is what allows the above example to run at 60+fps)
  • Fixed previously wrong handling of numpy arrays’ shape()s – old code wrongly interpreted these shapes in XYZ order, but they are actually ZYX. Unfortunately that also means that all existing pynari codes that used np.reshape() to ‘properly’ declare multi-dimensional pynari arrays have to be updated accordingly. I already did that for all samples (and above viewer); apologies for the inconvenience – “mea culpa” indeed.
  • Several new “demo”(-and-testing!) samples for different data types such as cylinders, cones, and some more ‘interesting’ triangle mesh geometry (blatantly stolen from TSD):

Leave a comment