{"repo":"vasturiano/three-render-objects","free":true,"listed":false,"github":"https://github.com/vasturiano/three-render-objects","clone":"git clone https://github.com/vasturiano/three-render-objects.git","description":"Easy way to render ThreeJS objects with built-in interaction defaults","language":"JavaScript","stars":60,"topics":["threejs","render","scaffolding","camera","data-visualization","scene"],"license":"MIT","category":"analytics","readme_excerpt":"three-render-objects ==================== [![NPM package][npm-img]][npm-url] [![Build Size][build-size-img]][build-size-url] [![NPM Downloads][npm-downloads-img]][npm-downloads-url] This module offers a convenient way to render ThreeJS objects onto a WebGL canvas, with built-in interaction capabilities: hover/click events tooltips camera movement with animated transitions trackball, orbit or fly controls All the renderer/scene/camera scaffolding is already included and any instance of Object3D can be rendered with minimal setup. Quick start or using a script tag then API reference Initialisation Config options Description Default --- --- :--: controlType : str Which type of control to use to control the camera. Choice between trackball, orbit or fly. trackball useWebGPU : boolean Whether to use the WebGPURenderer instead of the default WebGLRenderer . false rendererConfig : object Configuration parameters to pass to the ThreeJS WebGLRenderer constructor. { antialias: true, alpha: true } extraRenderers : array If you wish to include objects that require a dedicated renderer besides WebGL , such as CSS3DRenderer, include in this array those extra renderer instances. [] waitForLoadComplete : boolean Whether to wait until all the asynchronous loading operations are finished (such as the background image) before rendering the objects in the scene for the first time. true Data input Method Description Default --- --- :--: objects ([ array ]) Getter/setter for the list of objects to","default_branch":null,"files":null,"tree":[],"storefront":"/r/vasturiano","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vasturiano/three-render-objects/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}