Coder Social home page Coder Social logo

opengl_demos's Introduction

功能说明


基本功能

  • Marching Cubes 算法演示
  • 曲面重建演示

具体选择在菜单项中有详细说明,按照菜单说明输入即可


辅助功能

  • 控制曲面显示
  • 控制边显示
  • 曲面细分
  • 输出顶点

按键说明

  • f(ace) 显示\隐藏曲面
  • l(ine) 显示\隐藏边
  • w(rite) 输出顶点
  • [space] 细分当前曲面
  • ↑ 退回到细分前曲面
  • ↓ 前进到细分后曲面(不重复细分)

注意事项

  1. 输出顶点文件为 resource/vertices_out.txt

  2. resource/ 目录下的文件为着色器文件以及点云数据,不可缺少。 文件列表为:

    • fShader.glsl
    • vShader.glsl
    • vertices_c.txt
    • vertices_m.txt
    • vertices_x.txt
  3. resource/ 目录下文件对应作用为:

    • 片段着色器
    • 顶点着色器
    • 球形点云
    • 蘑菇形点云
    • 心形点云
  4. 点云文件内只包含点的坐标信息

  5. 目前曲面重建程序只能接受10000点以下数据,过大会导致程序崩溃

  6. 曲面重建效果对于存在尖锐表面的模型十分不好

opengl_demos's People

Contributors

ho1messi 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.