All Questions

3
votes
2answers
1938 views

OpenGL - Index buffers difficulties

I have a custom file format that has all the needed information for a 3D mesh (exported from 3ds Max). I've extracted the data for vertices, vertex indices and normals. I pass to OpenGL the vertex da...
1
votes
1answers
808 views

Mesh class called with default constructor not working OpenGL C++

I created a Mesh class for OpenGL 3.3, it works fine when I create the class with a non-default constructor, when I create the vertices when I create the object. However, I now want to have multiple o...
28
votes
2answers
58594 views

Android OpenGL .OBJ file loader

There seem to be quite a number of OBJ mesh file loaders out there that people have developed for use on the Android platform. I'm wondering if anyone has any experience with these and can offer a re...
7
votes
2answers
21135 views

Three.js multiple materials on object loaded via OBJMTLLoader

I have ".obj" and ".mtl" files of a model and I'm loading it via OBJMTLLoader. ".mtl" specifies texture to apply to a model, and three.js loads model and renders it with applied texture just fine. Bu...
8
votes
3answers
9923 views

Display wireframe and solid color

Is it possible to display the wireframe of the object and also the solid color of its faces on the same object? I found a way using a clone of the object and assign different materials e.g var geomet...
5
votes
3answers
2365 views

How to smooth mesh triangles in STL loaded BufferGeometry

I´m trying to load some STL files using Three.js. The models are loaded correctly, but there are too many triangles that I would like to merge/smooth. I had successfully applied smooth loading terr...
6
votes
1answers
3506 views

Coloring individual triangles in a triangle mesh on javafx

I have a triangle mesh object in JAVAFX and would like to either color individual triangles of the triangle mesh or color individual vertices of each triangle and have the triangle be colored ac...
9
votes
2answers
9444 views

Change the colors of a cube's faces

I actually found this question, but it says material.color doesn't exist. I need to know how to change the colors of the various faces of a cube I'm drawing: var newCube = new THREE.Mesh(new three.Cu...
7
votes
1answers
5911 views

Adding geometry to a three.js mesh after render

I'm creating a mesh with a THREE.Geometry instance, then populating the geometry's vertices and faces arrays dynamically. The geometry is iteratively refined, adding additional vertices and faces at e...
18
votes
3answers
24561 views

Algorithm for generating a triangular mesh from a cloud of points

In some simulation program we generate object surfaces in terms of points, each point has 3D coordinates and the vector that represents the normal to the surface at that point. For visualization purpo...

Previous Next