Closed StasJ closed 3 years ago
What I found so far:
xfm
parameter of the instance, but using the volume's gridSpacing
parameter results in 2x faster rendering (in my reproducer), despite that the same number of samples is takenThe issue is with unstructured volumes. I have considered your suggested workaround and this is what was done when we used OSPRay 1.8 which did not support transforming volumes but it greatly complicates the implementation.
Ok, the fix is available in Open VKL devel
.
Thanks for the quick response @johguenther ! We will get right on it. We're on track to release by the end of the year and OSPRay support is a big milestone for us.
cc @StasJ
This definitely fixes the problem. Thanks! @johguenther any thoughts on when the next supported release of OSPRay will available (2.5.0?)? Thanks!
We have a slight slip of schedule, thus it won't be now, but v2.5 will be released in January.
For certain volumes the automatically determined sampling rate is unusable. For example, one volume spans the following volume:
and then this volume is scaled in the Z axis by about 100x using the
xfm
parameter. The default sampling rate results in a 60x20 pixel rendering taking about 3 minutes. SettingvolumeSamplingRate
to anything over 1/500 does not give improved image quality and a 1080p image renders in 2-3 seconds.I suspect the issue is that the automatically determined sampling rate does not take into account the volume's scaling factor.