Giter Site home page Giter Site logo

subdivision's Introduction

Subdivision

Subdivision of mesh

1.Problem Statement:

In the field of 3D computer graphics, We usually want to make a coarse mesh more smooth. The smooth surface can be calculated from the coarse mesh as the limit of a recursive process of subdividing each polygonal face into smaller faces that better approximate the smooth surface. We call this process subdivision. In this project, we focus on triangular meshes, the input data is read from a basic VRML 3D model file(.wrl), then the code constructs the data as a half edge structure, and do loop subdivision or modified butterfly subdivision with this structure. Finally, the code can store the result data of subdivision to a .wrl file.

2.My implementation:

The function of the code is listed here: 1)Be able to read and write basic VRML 3D model files (.wrl) 2)Implemented the half edge data structure for representing, traversing and manipulating 3D triangular meshes. 3)Implemented the loop subdivision. 4)Implemented the modified butterfly subdivision. 5)Using openGl to show the mesh, it can show not only vertexes and edges but also surfaces.

subdivision's People

Contributors

haoli-china avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.