You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the sample gltf-viewer.cpp and trying to get the model transformed to initial position. fitIntoUnitCube always returns the same transformation matrix & it is applied using transformation manager. It doesn't transform the model to the initial position (initial transformation applied by fitIntoUnitCube) but transforms to the new position in the unit cube. How do I transform the model back to its initial position?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Using the sample
gltf-viewer.cpp
and trying to get the model transformed to initial position.fitIntoUnitCube
always returns the same transformation matrix & it is applied using transformation manager. It doesn't transform the model to the initial position (initial transformation applied byfitIntoUnitCube
) but transforms to the new position in the unit cube. How do I transform the model back to its initial position?Beta Was this translation helpful? Give feedback.
All reactions