Skip to content

Mirror transform for ospInstance #580

Answered by johguenther
kuldip-wagh asked this question in Q&A
Discussion options

You must be logged in to vote

If I understand your question correctly then you are asking for multi-level instancing, which is currently not supported (but a common feature request, see e.g. #547). Until we add this, the workaround is to pre-process the transformations in the application (or the scene graph) by combining the transformation of instance1 and instance2. This is how we do that in OSPRay Studio, see https://github.com/ospray/ospray_studio/blob/master/sg/visitors/RenderScene.h#L123-L159.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kuldip-wagh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants