Skip to content
/ dpix Public

Automatically exported from code.google.com/p/dpix

License

Notifications You must be signed in to change notification settings

alharbin/dpix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

July 1 2009
Version 0.1

INTRODUCTION

This is dpix, a viewer and set of libraries to render NPR line drawings. 
dpix is an implementation of algorithms presented in the following papers:

"Self-Similar Texture for Coherent Line Stylization," Pierre Benard,
Forrester Cole, Aleksey Golovinskiy, Adam Finkelstein, NPAR 2010

"Fast High-Quality Line Visibility," Forrester Cole and Adam Finkelstein,
Proceedings of I3D 2009

"Directing Gaze in 3D Models with Stylized Focus," Forrester Cole, 
Doug DeCarlo, Adam Finkelstein, Kenrick Kin, Keith Morley, and 
Anthony Santella, Eurographics Symposium on Rendering 2006

This distribution contains:

    dpix:
        The main application.

    libnpr:
        A rendering library for NPR lines. This is where most of the action is.

    libgq:
        Qt-based utility library for OpenGL rendering. Handles GLSL,
        framebuffer objects, vertex buffer objects, etc.

    libcda:
        Simple library for reading COLLADA files. Includes support for a few
        special tags used by the sketchup exporter.

    libcda/sketchup_exporter:
        A set of ruby scripts for Google SketchUp. Using these scripts is the
        best way to prepare models for use with dpix.

    samples:
        A few sample models, scenes, styles, and textures for use with dpix.

    slam:
        Example code and textures for self-similar line artmaps. See slam/README.

Also included is source from the following libraries:

    zlib:
		A free compression library.
        http://www.zlib.net/
		
	libqglviewer:
		A Qt-based viewer library.
        http://www.libqglviewer.com/
		
	GLee
		A light-weight OpenGL extension manager.
        http://elf-stone.com/glee.php

    matio
        Library for processing MATLAB files.
        http://sourceforge.net/projects/matio/
		
		
HOW TO USE

Note:
dpix is currently known to work on Windows XP or later, Mac OS 10.5 or later,
and Linux, with an NVIDIA 8800 series or higher GPU. Other configurations 
may work as well, but have not been tested.

You must have Qt 4.3 or higher installed prior to building dpix.

Windows:
A Visual Studio 2008 solution file is provided. You can generate the project
files by typing "qmake -r" in the root directory. Distributing project files
caused portability issues since the project files depend on the particular 
location of Qt.

Mac and Linux:
The usual procedure of "qmake -r" and "make" should work. On Mac, you may need
to use "qmake -r -spec macx-g++" to create Makefiles, rather than Xcode
projects.  Building with Xcode should be possible, but has not been tested.

To compile in release mode, run:
qmake -r "CONFIG += release"

Once dpix is built, a binary should appear in "dpix/debug" or "dpix/release".
Run this binary, and try opening one of the sample scenes in "samples/scenes"
to make sure everything is working properly.

If you encounter problems, email fcole@cs.princeton.edu with a complete problem
report and I will try to help out.

ACKNOWLEDGEMENTS

Please see the COPYING file for license information.

Forrester Cole, Michael Burns, Keith Morley, Adam Finkelstein, and Pierre
Benard wrote the code.

About

Automatically exported from code.google.com/p/dpix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published