“This is the 25th day of my participation in the First Challenge 2022. For details: First Challenge 2022”

  • We use Threejs to create 3D worlds, so the models we’re talking about here are 3D models.

  • We know that in 3DMAX, MAYA, etc. (these are 3D editing software), you can make 3D models. These models can be used in interior design, 3D film, 3D games and other fields. So how do YOU define a 3D model? Let’s take a look.

Model overview

  • A 3D model consists of vertices, which are connected to each other into triangles or quadrilaterals (on a plane). Multiple triangles or quadrilaterals form a complex three-dimensional model.
  • As shown in the figure below

  • Our 3D model car is composed of a grid, so we also call 3D model grid model.
  • Our models in real life are enriched by the addition of textures

We can also find more models in Google’s 3D Model library, check out free 3D models,3dwarehouse.sketchup.com/(This site may need an agent)

Model file

  • The files that store three-dimensional data are called model files.

  • If we were to design a model file, how would it be designed?
    • A model consists of points, lines, and surfaces
    • It consists of 2 points in different positions, forming a line
    • Three lines form a surface
    • Several surfaces form a complex model
    • Each face is given a different color and texture
    • Different lighting effects are calculated for each face

Model viewer

  • Now that we have the model, how do we look at it? We always want to see some actual scenarios of the model before we develop it. This will make it easier to figure out how to use the model as we develop it. Here’s how to look at the model first.
  • We can download software such as 3Dmax for viewing, but such software is too bulky and too professional for us. In the engineering field, we can use lightweight viewers such as ParaView and Blender. The viewer is lightweight and opens faster.

Paraview Model viewer

  • Model viewer paraview: www.paraview.org/

  • Please download and install the viewer yourself. I’m using a MAC here.

  • Open the viewer and load the model file, which is linked to bunny.vtk.zip

  • We right click Open to open the file, or select the upper left corner to open the file

  • Locate the bunny. VTK file and click OK

  • Click apply

  • You can see our model on the right

  • Can view the related documents for paraview specific use guidelines: wenku.baidu.com/view/f360cc…
  • We can also convert one 3D model format to another 3D model format, such as OBJ, STL, etc.

View the model in other ways

  • 3d Animation Software Blender:www.blender.org/
    • Blender is an open source, cross-platform, versatile 3d animation software that provides solutions for creating short animated films from modeling, animation, textures, rendering, audio processing, and video editing.
  • Model of the free resources website: www.cc.gatech.edu/projects/la…

conclusion

In this section, we mainly talk about the following contents:

  • Model overview
  • Model file
  • Model viewer
    • paraview
    • blender