Coder Social home page Coder Social logo

wzhijiang / libvt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from core-code/libvt

0.0 0.0 0.0 32.6 MB

LibVT is a library implementing "virtual texturing".

License: Other

C++ 46.78% Python 10.28% C 9.55% Objective-C 3.50% Objective-C++ 19.19% Makefile 2.79% QMake 0.21% GLSL 7.70%

libvt's Introduction

LibVT

LibVT is a library implementing "virtual texturing". LibVT itself is written in C++ but exposes a C-based API.

Download a Demo App Binary for Win/Mac to test out LibVT:

Demo App Binary

(The demo also contains a free 32k^2 virtual texture dataset which you can use for for testing your LibVT project)

The theory behind LibVT: Virtual Texturing Thesis

**Features: **

  • NEW: LibVT is now completely MIT-licensed
  • Implements "virtual texturing" in the style of Sean Barrett and John Carmack
  • Using OpenGL with shaders in GLSL or Cg.
  • Designed as a library to allow easy integration into existing rendering engines (e.g., OpenSceneGraph integration has been done).
  • Compatible with OpenGL ES 2.0 and support for iOS (iPhone / iPad).
  • Tile determination in view space using a read-back.
  • Support for bilinear, trilinear and anisotropic filtering.
  • Configurability of physical texture dimension, RAM-cache size, tile border, tile- size, virtual texture size, resident mipmap-levels, cache warming, etc.
  • Mipmap-chain length of up to 11, allowing a virtual texture resolution of 256k^2 with 256^2 pixel tiles.
  • Multiple tile decompression libraries: LibPNG, LibJPEG, LibJPEG-Turbo, STBI , ImageMagick and CoreGraphics.
  • Usage of compressed(JPEG,PNG,etc), uncompressed or DXT1/5 pre-compressed tiles.
  • Multithreaded and decoupled tile streaming using boost::thread and with optional real-time DXT compression using FastDXT.
  • All texture transfers (read-back, pagetable texture and physical texture) optionally asynchronous using PBOs.
  • Either stores fallback entries in the pagetable texture or uses looping in the frag- ment shader.
  • Optional dynamic adjustment of the LoD bias to fit visible tiles into the physical texture.
  • LibVT also includes a pipeline for generating virtual textures out of individual texture files: generateTextureAtlas, generateVirtualTextureTiles, mergeVirtualTextureTiles, convertVirtualTextureTiles, offsetObjTexcoords

libvt's People

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.