I am trying to render my wavefront obj files with netCDF. And I would like to apply the ray tracing to the obj files. But, when I applied the ray tracing with OptiX, the volume-rendered netCDF data disappeared:
Shouldn’t be anything tricky, just turn on ray tracing. Default is ospray ray caster, volume rendering there has worked since 5.2 or so. The difference in 5.9 is that when you change to ospray path tracer the volume rendering now appears where as up to 5.8 it disappeared as it wasn’t supported.
OpenVKL does not yet have a rectilinear grid data type, so users have to either resample to image or convert to unstructured for scivis or pathtracer backends to volume render it.
Supporting it natively would entail adding rectgrid to OpenVKL and OSPRay and adding a vtkOSPRayRectGridMapper to VTK that maps VTK’s RectGrid mapper state to corresponding OSPRay API calls.