I have a N number of random points (in this case 20), with a X,Y and Z constrains.  How can I create ANY (preferably closed) shape (using Three.js library) , given and starting only from N random points.  There are probably many variants, please shar...
I am playing with three JS and want to determine if a mesh is fully inside another mesh. I wrote a little robot which should run into a home box navigated by the player. I know how to detect collision, but is there an easy way to detect if an object...
I am trying to  create a texture with Three.js.  My source of texture_f1 is a .png file witch means you can see the background through it.  The problem is that if i try to set background color: 0xffffff it doesn't work in combination with  map:....
I want to make parts of a mesh invisible at runtime. Can I set these parts invisible/transparent, e.g. by changing attributes of single faces? The mesh itself uses only one material.    Exemplary illustration as the editor understands this question:...
Is there currently a library in JavaScript for converting a video stream in Canvas into a 3D mesh?  An example situation is to point a camera at a cup and to capture the raw imagery, comparing previous data with new data to generate an edge outline o...
I want to create a Pine using 2 meshes, 1 for the trunk and another one for the bush, this what I've done:  var pine_geometry = new THREE.Geometry();  var pine_texture_1 = THREE.ImageUtils.loadTexture('./res/textures/4.jpg'); var pine_geo...
Is there an easy way to change font size in PIXI JS curved text? Text is created through new PIXI.mesh.Rope(pixiText.texture, points). With resize button (check image below) you can change size of object. I could use scale but it decreases quality....
I have a THREE.Geometry in my scene that contains over 5,000 vertices. What I want to do is to add THREE.Points to the scene for only 3 vertices of the mesh containing the geometry. I want to achieve something like this:     I took the 3 vertices of...
I am working on trying to create a basic, grid-based, but performant weather-arrow visualization system.  EDIT 2: Up-to-date version here: ( Mapbox Tracker ) of the system using the workflow which is described below   Usage Instructions: - Click on W...
I have a collection of verticies (a mesh) that is updated each frame, think of a flower that grows and has to be drawn on the screen.  I currently render the mesh by binding the Float32Array, that containins the mesh verticies, each tick, so each fra...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.