I am trying to make use of thin instances in a large scene using a floating origin camera:
moving forward/up/down etc sees to work fine.
However rotating the camera has weird visual effect on the individual thin instances … any ideas? They don’t “rotate enough” around the origin, if that make sense!
which would mean thin instances and billboard don’t work well together?
From the second link “you’d have to compute the matrices yourself as billboard mode is not supported for thin instances”. Fine… but how to do it, in the context of a floating origin (assuming that is relevant?)?
I don’t think the floating origin is relevant, the problem is that you’ll have to calculate each thin matrix yourself. You can take inspiration from the function TransformNode.computeWorldMatrix :
It’s a bit complicated because it has to manage a lot of things, so you’ll have to clean up!
ok I got temporary translates and scales working (hardcoded values for testing…).
Rotation though… here’s what it looks like (hard to reproduce on a PG unfortunately…):