Series Blog-three.js Getting Started Guide (Zhang Wenli)-Geometric shapes

Source: Internet
Author: User

3rd Chapter Geometric shape

When creating an object, you need to pass in two parameters, one is the geometry (Geometry) and the other is the material (Material). This chapter describes the creation of geometries, the 4th chapter introduces materials, and the 5th chapter describes how to create meshes using both.
The main function of geometric shapes (Geometry) is to store the vertex information of an object. WebGL requires the programmer to specify the location of each vertex, whereas in three.js, you can create a geometry by specifying some characteristics, such as creating a sphere with a radius, eliminating the effort of the programmer to specify vertices individually.
This section describes the geometry of cubes, planes, spheres, cylinders, tetrahedral, and octets , as well as the method of using three- dimensional text as a geometric shape. This section also describes composing geometry by manually defining vertex position and polygon information.

Series Blog-three.js Getting Started Guide (Zhang Wenli)-Geometric shapes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.