GithubHelp home page GithubHelp logo

kanait / slimviewgpu Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 2.69 MB

A research-purpose software for the display of SLIM Surfaces on GPUs

Home Page: https://graphics.c.u-tokyo.ac.jp/hp/en/archives/29

License: MIT License

C++ 99.51% C 0.40% Batchfile 0.08%
slim rendering gpu implicit-surfaces

slimviewgpu's Introduction

slimviewGPU

slimviewGPU is a research software for displaying SLIM surfaces on programmable GPUs, which includes an implementation of the following paper:

Takashi Kanai, Yutaka Ohtake, Hiroaki Kawata, Kiwamu Kase: ``GPU-based Rendering of Sparse Low-degree IMplicit Surfaces'', 4th International Conference on Computer Graphics and Interactive Techniques in Australasia and the Southeast Asia (GRAPHITE 2006), pp.165-171, 2006.

SLIM (Sparse Low-degree IMplicits) is an implicit surface representation delivering an accurate approximation to a set of points scattered over a smooth surface.

This software was originally developed in 2005-2006 and was renovated in 2021 so as to build successfully by Visual Studio 2019.

Getting Started

This software can run only on Windows. At first, you may try to use binary release (x64), which is available from here. Uncompress zip file and then execute run_pai.x64.bat.

How To Use

SLIM surface rendering can be done by executing:

% slimviewGPU.exe in.slim2t

SLIM (.slim2t) data can be created by mesh2slim. Please check it out.

On a window, rendering modes can be changed by pressing keys:

  • Press "1": Render by billboards, LOD disable (rendered by leaf nodes)
  • Press "2": Render by point sprites, LOD disable
  • Press "3": Render by billboards, LOD by depth of a slim tree
  • Press "4": Render by point sprites, LOD by depth of a slim tree
  • Press "5": Render by billboards, LOD by error
  • Press "6": Render slim balls, LOD disable
  • Press "7": Renderp slim balls, LOD by error
  • Press "m": Down LOD levels (finer levels)
  • Press "n": Up LOD levels (coaser levels)

Prerequisites

The following libraries are required for successfully compiling this software.

Our code uses Cg Toolkit library from nVIDIA. The latest version (Cg 3.1 release) is supported.

glut (included in Cg Toolkit library)

When you execute "git clone" with "--recursive" option, you will also get vecmath-cpp and render libraries as a submodule "external/vecmath-cpp" and "external/render":

git clone https://github.com/kanait/slimviewGPU.git --recursive

Authors

License

This software is licensed under the MIT License - see the LICENSE file for details.

slimviewgpu's People

Contributors

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