Dynamic River Simulation

Source: Internet
Author: User

Many of my friends are foreign 3D modeling software for modeling. On the basis of modeling, 3D GIS simulation and development are carried out. However, this kind of 3D model is built by professional modeling software, only one static 3D model cannot be used for dynamic interaction.

The author uses VC ++ 6.0 + OpenGL to simulate the construction of a three-dimensional geological body by reading the coordinate of discrete data points and applying the Dirichlet modeling method, based on the three-dimensional geological mass, it is cut on an infinitely large plane, and the cutting point obtained by the cutting is modeled twice by using the Dirichlet modeling method to form a river surface.

This example is only for the demo version. In practical application, you can use a finite plane defined in a certain range to cut the three-dimensional model to form a fluctuating river surface, and then dynamically determine the river.

In, the green part is the three-dimensional geological part constructed by discrete points, while the blue part is the river part formed.

 

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.