→ كل المشاريع

ThreeOrbitControlsGizmo

بواسطة @Fennec-hub

مؤرشف 116

Blender like orientation gizmo for Three.js OrbitControls

عن هذا المشروع

⚠️ DEPRECATED ⚠️ 🚀 New Repository: We've replaced this version with a modernized one. Please check out three-viewport-gizmo for the latest updates and improvements. 📢 Why the change? We've upgraded to a more advanced version to provide a better experience and enhanced features. Please use the new repository for all future usage and contributions. 🙏 Thanks for your consideration! We appreciate your support. If you have any questions or need assistance, don't hesitate to reach out. Three Orbit Controls Gizmo This library is the continuation of jrj2211's work, a lightweight Blender like orientation gizmo for Three.js using an internal HTML5 Canvas, adapted here to work in tandem with a slightly modified version of THREE.OrbitControls, it follow the orbit controls changes and you can now change the camera angle by dragging the gizmo or select an axis by clicking on it. Live Demo THREE.OrbitControls modifications : In order to programmatically change the OrbitControls camera sphere angles (spherical.theta , spherical.phi) I had to access these two methods (rotateLeft, rotateUp), since they are internal functions I simply exposed them by adding these two lines : Usage

من ملف README الخاص بالمشروع على GitHub

النجوم
116
التفريعات
17
الرخصة
MIT
آخر تحديث
16/04/2024

أضف هذه الشارة إلى ملف README

أظهر أن مشروعك مُدرج على «صُنع في الجزائر».

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/threeorbitcontrolsgizmo.svg)](https://www.madeinalgeria.dev/projects/threeorbitcontrolsgizmo)

مشاريع ذات صلة