GithubHelp home page GithubHelp logo

00mjk / ccgsubsurf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ddunbar/ccgsubsurf

0.0 0.0 0.0 120 KB

Catmull Clark Gridding Subdivision Surface Library

Home Page: http://minormatter.com/zr/software/ccgsubsurf

C 100.00%

ccgsubsurf's Introduction

CCGSubSurf - Catmull-Clark Gridding Subdivision Surface Library
===============================================================

CCGSubSurf is a public domain library for working with Catmull-Clark subdivision
surfaces. It is based on a novel algorithm for computing the subdivision surface
that I have developed and refined over several years. Some details of the
algorithm are available below and I hope to provide a detailed article at some
point. For the time being the source is the definitive reference.

Features
--------

 * Easy-to-use: The library has been designed to make integration into existing
   3D modelling applications as simple as possible without sacrificing
   functionality or performance.

 * Incremental: CCGSubSurf uses an incremental algorithm to only recalculate the
   portions of the subsurf that change in response to edits. For dense meshes
   this gives a potentially unbounded improvement in interactivity.

 * Lightweight: Efforts have been made to keep the memory footprint of the
   subdivision data structures as small as possible. For high levels of
   subdivision the memory use is close to minimal (although supporting
   incremental recalculation does have a certain cost).

 * Fast: Even disregarding the speed improvement from incremental calculation
   the library is still very fast, especially at higher subdivision
   levels. Although primarily intended for interactive (editing) applications,
   it is fast enough to be a viable alternative for applications that merely
   need to compute a subdivided surface.

Missing Features
----------------

 * Creasing: There is currently no support for creasing. In my mind this is the
   largest problem with the library as stands and I hope to correct it sometime
   in the future.

 * Interactivity Improvements: There is a bit of room for more improvements
   targetted at interactive applications, for example providing hooks for
   progress reporting or allowing the subdivision to be aborted and then
   restarted (after mutating the mesh) in order to support zero-lag editing.
   Adaptive: The library does not support adaptive subdivision. I believe that I
   can integrate it efficiently into the algorithm but have not spent a
   considerable amount of time or thought on the issue. At the moment it is on
   the wishlist, but since I have qualms about adaptive subdivision in general
   it is not near the top of the list.  Download

Releases
--------

CCGSubSurf v0.01: An alpha release, just contains the source code and a glut
demo as well as a compiled win32 version of the demo. After integration with
Blender I made a few refinements to the API and added vertex normal calculation,
but these changes have not been merged back yet. There is also no documentation
in this release, although I hope the demo is fairly self-explanatory.

ccgsubsurf's People

Contributors

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