Closed gralkapk closed 3 years ago
geom
is set in GeometricModel::commit
:
This is for backward compatibility: geomAPI
is the geometry assigned during creation of the GeometricModel
(the original way), which we relaxed later, where the geometry can be set as a parameter.
Thanks. Then I believe to know what the problem is.
During group commit,
createEmbreeScene
loops over the geometries (a bunch of curves). However, the geometry data is stored in thegeomAPI
entry. The function, which I have referenced, fetches thegeom
entry, which isNULL
. Am I missing some operation that fills thegeom
instead of thegeomAPI
entry? (Using release-2.6.x)https://github.com/ospray/ospray/blob/6462fd89e9bd0b4692db01199f3a8651664d5496/ospray/common/Group.cpp#L17