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?

Css3 Converting Matrix3d Values

I want to know how to get the rotateX and rotateY values of a matrix3d such as this: matrix3d(0.999… Read more Css3 Converting Matrix3d Values

How To Convert Three.js To .stl Files For 3D Printing?

I found one page link: Convert Three.js to .stl for 3D printing? var exporter = new THREE.STLExport… Read more How To Convert Three.js To .stl Files For 3D Printing?

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 Can You Find The Coordinates Between Two Given Points On A Straight Line(JavaScript)?

I want to get all the x,y,z coordinates between 2 given points, on a straight line. I need to be ab… Read more How Can You Find The Coordinates Between Two Given Points On A Straight Line(JavaScript)?

Zooming Camera In ThreeJS Without Trackball Controls Or Other Camera Control Library

I'm trying to use threeJS to control a camera in my scene. I currently have the camera set up t… Read more Zooming Camera In ThreeJS Without Trackball Controls Or Other Camera Control Library