Skip to content Skip to sidebar Skip to footer
Showing posts with the label 3d

Three.js - Scale Model With Scale.set() Or Increase Model Size?

What is the best practise for scaling 3d models in Three.js (or other 3d renderers)? Here is an exa… Read more Three.js - Scale Model With Scale.set() Or Increase Model Size?

I'm Doing Something Wrong With Spotlights And Shadows In Three.js

I have a really simple scene which has one .dae mesh in it, and a 7000*7000 plane underneath the me… Read more I'm Doing Something Wrong With Spotlights And Shadows In Three.js

Translate A Vector From Global Space To Local Vector In Three.js

With a rotated object in my scene, how can I translate a global vector into the local space of that… Read more Translate A Vector From Global Space To Local Vector In Three.js

Rotate Camera To Look At Selected Object In Three.js

I am trying to design a map. So, when I select any geometry, I want the object to come at the centr… Read more Rotate Camera To Look At Selected Object In Three.js

How Do I Make An Object Perpendicular To A Face With Three.js?

Relevant codepen: http://codepen.io/OpherV/pen/yNebep In my game I have a model of an alien tree. F… Read more How Do I Make An Object Perpendicular To A Face With Three.js?

Threejs - 2d Pixels To 3d Coordinates Conversion

I am trying to render a cube created in ThreeJS onto a HTML canvas at a particular position. I have… Read more Threejs - 2d Pixels To 3d Coordinates Conversion