Questions tagged [3d-modelling]

In 3D computer graphics, 3D modeling (also known as meshing) is the process of developing a mathematical representation of any three-dimensional surface of object (either inanimate or living) via specialized software. The product is called a 3D model.

In 3D computer graphics, 3D modeling (also known as meshing) is the process of developing a mathematical representation of any three-dimensional surface of object (either inanimate or living) via specialized software. The product is called a 3D model.

3D models can be displayed as a 2D image using a process called rendering. 3D models are used in Games, CAD/designing applications, game engines, and in some drawing applications. They are also used in 3d simulations and visualizations.

339 questions
2
votes
1 answer

3D rendering engine for offline batch rendering of many models + texture maps?

I'm architecting a project which will use many PNG files which must be rendered from 3D models of clothing (we have yet to hire someone to create the models). We have a variety of texture maps (different types and colors of cloth, etc) which will be…
Alex D
  • 29,755
  • 7
  • 80
  • 126
2
votes
1 answer

Triangle vertex winding order in stereolithography (STL) files (triangulated objects)

I'm working on an STL file importer and thought I'd make use of the normal given to determine the triangle winding order. Sample data with 4 triangles is included below (original data has over 70k triangles). My code's logic computes the normal…
PeteUK
  • 1,062
  • 12
  • 26
2
votes
2 answers

Good combination of tools and techniques for 3d XNA / WP7 Game

I have been working on 3D XNA games for the desktop version of XNA and one of the most stinging problems was the lack of proper animation support for 3D models. I am now trying to get a game for wp7 started an am wondering what a recommended…
user604613
2
votes
0 answers

Why I get this error when trying to simplify an 3D model using SimplifyModifier of Three.js?

I'm trying to simplify an 3D Model (.STL file) that is loaded using STLLoader and the Three.js function SimplifyModifier to reduce vertices and simplify the model. I have a function called loadMesh that loads the file and return an Three.js mesh…
JJS_Vegu
  • 55
  • 1
  • 4
2
votes
1 answer

How to fill the space between two cylinder meshes. Three.js

I have a code that generates cylinders based on an array of 3d vectors. The problem is that they have those ugly spaces between them: Does any one know how I can fill them in the newest version of three.js? Thanks in advance!!
alekszych
  • 93
  • 6
2
votes
1 answer

Importing .x model in DirectX 10

I know that using DXUT you can import a .x model using the CDXUTSDKMesh::Create() method: g_Mesh.Create( pd3dDevice, L"tiny.x", (D3D10_INPUT_ELEMENT_DESC*)layout, 3 ); Without using DXUT, is there a simple way to import a .x model? I haven't found…
tom
  • 21
  • 4
2
votes
0 answers

Saving textured GLB file in trimesh

I am trying to save a textured OBJ file as a GLB. The texturing imports fine, i can see it using mesh.show(), but when i export as a GLB no texture appears on the model. I saw another similar issue on github that makes it seem as if this has been…
Tzanker
  • 93
  • 1
  • 6
2
votes
1 answer

Render .glb / .gltf 3d model with PHP

Is there a possibility to create or modify .glb or .gltf files in PHP? For example, I want to load a .glb file, modify it and save it again, similar to "Image Processing and Generation"-functions. Pseudo code: $model =…
Marco
  • 3,470
  • 4
  • 23
  • 35
2
votes
2 answers

Loading mesh(OBJ+MTL+JPG) with react-three-fiber, Texture is not working

In my react app, I am trying to make a view page which shows 3d-mesh exported from pix4d. This mesh consists of three types of files, (.obj, .mtl, .jpg) pix4d.com. I am new, with react-three-fiber, which I suppose is best way to achieve my solution…
Ajit T Stephen
  • 431
  • 1
  • 8
  • 21
2
votes
1 answer

FPS drop when model appears - three.js

When I use three.js to load my Collada file, FPS is only 5-7. I try to optimize it with Blender and Meshlab, I can load it smooth but model becomes worse. Can anyone explain to me why my model is rendered with a low frame rate? You can download my…
2
votes
1 answer

Read, modify, and display .STL file 3D model using c#

I used Solidworks to build a 3D model and save as a .STL file. I would like to use C# to read the file and change the data while displaying the model. Can any one give me some references? Any help would be greatly appreciated. Thanks in advance.
NGUYEN PHAM
  • 21
  • 1
  • 2
2
votes
1 answer

How to create 3D trapezoid in three.js?

I'm working on a small animation in three.js that has a few basic 3D models in it and one of them I'm struggling with is "trapezoid". So far I was only able to create truncated pyramid with the help of THREE.CylinderGeometry which base sides are…
mdr
  • 421
  • 1
  • 6
  • 14
2
votes
0 answers

Blender: Copy active vertex position to selected vertex position and mirror axis

The basic question is how to write a simple script that copies one vertex position to another vertex and mirrors one axis, as well as copying and mirroring all vertex weights if possible. Two selected vertices should be mirrored, but due to user…
Shae
  • 21
  • 2
2
votes
2 answers

How can I import a 3d model/mesh with python

want to do some 3d model processing using Python. I was told 3d models are made up of 4d matrices. Is it possible to import a 3d model from meshlab or blender or some other software and convert it into a matrix or something of the sort so I could do…
John Jepson
  • 21
  • 1
  • 5
2
votes
1 answer

Extract voxel coordinates from file

I'm making a game in Unity C# and need to extract voxel position (and ideally color) from my MagicaVoxel editor which saves it's files in the .vox format, and can export in a few other ones. I'd think it's best to extract this information from the…