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

Threejs: Rotate Sphere(globe) To Another Point(city) On The Sphere Itself

I'm building a globe(sphere geometry) with set of predefined locations on geo-mapped and drawn … Read more Threejs: Rotate Sphere(globe) To Another Point(city) On The Sphere Itself

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?

Sprite Scaling Causes Incorrect Positioning And Rotation In Three.js

I'm trying to create a sprite with text. I'm not using TextGeometry for performance reasons… Read more Sprite Scaling Causes Incorrect Positioning And Rotation In Three.js

Rotate Object Around World Axis With Tween.js

I want to rotate a cube on world axis by using tween.I am able to rotate the cube around world axis… Read more Rotate Object Around World Axis With Tween.js

How To Draw Walls In Threejs From Path Or 2d Array?

I need to draw a 3d house model (walls only) from a 2d path or array (explained later) I receive fr… Read more How To Draw Walls In Threejs From Path Or 2d Array?

Draw Straight “line” In Canvas By Modifying Properties In Three.js

I have created a fiddle which shows the guidelines for length and Diameter for Cylinder I was able… Read more Draw Straight “line” In Canvas By Modifying Properties In Three.js

How Do I Create A 3d Polygon From A Series Of 3d Points In Three.js?

I wonder what would be the best way to generate a custom 3D polygon given an array of 3D points in … Read more How Do I Create A 3d Polygon From A Series Of 3d Points 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?