ScatterCo / Depthkit.js-deprecated

🎞 A plugin for using Depthkit's volumteric captures in Three.js
https://depthkit.tv
MIT License
33 stars 11 forks source link

Changing the pivot to the centre of the bounding box. #3

Closed chetu3319 closed 5 years ago

chetu3319 commented 5 years ago

Currently, the anchor point is at the corner of the bounding box. This makes the normal transform operations like translate, rotate, and scale as they occur w.r.t the pivot and not w.r.t to the center of the bounding box.

tim-depthkit commented 5 years ago

Updated pivot point to be the center of the depth camera frustum bounded by near and far clipping planes