Git Product home page Git Product logo

qslim's Introduction

QSlim ported to compile on Mac OS X

This is a port of the wonderful QSlim software by Michael Garland. I've patched it to compile on mac os x.

Compilation

You must first install fltk (e.g. using macports/homebrew). Otherwise you'll only be able to build the command line version (in that case replace the last make with make qslim)

cd libgfx
env CPPFLAGS="-I/opt/local/include -fpermissive" LDFLAGS="-L/opt/local/lib" ./configure
make -C src
cd ../mixkit
./configure
make -C src
cd ../tools/filters
make
cd ../tools/qslim
make

All of the makefiles depend on those created by the first configure call inside libgfx/.

Running

Double clicking on the gui version qvis.app will not work. The GUI only works via the command.

./qvis.app/Contents/MacOS/qvis input.smf

The conversion tool ply2smf only works on stdin, so you'll have to do something like:

cat input.ply | ./ply2smf >output.smf

Extra tools

I've also added two tools: tools/qslim/qvis_obj.sh and tools/qslim/qslim_obj.sh which simply wrap up some conversions so you can use these tools with .obj files.

Original README.txt...


##SlimKit Surface Modeling Tools Version 1.1 July 4, 2004

Michael Garland [email protected]

Copyright (C) 1998-2002 Michael Garland. See "COPYING.txt" for details.

For the latest version and up-to-date information, please visit http://www.uiuc.edu/~garland/software/qslim.html

Michael Garland Department of Computer Science University of Illinois at Urbana-Champaign 201 North Goodwin Avenue Urbana, IL 61801


OVERVIEW

This is the SlimKit collection of surface modeling tools. Most of the programs in this collection simply provide an interface to the underlying functionality of the MixKit library (see mixkit/README.txt).

The primary component of this package is the QSlim 2.1 surface simplification tool located in the tools/qslim directory. Please consult tools/qslim/QSlim.txt for further information. There are also several useful programs in tools/filters/ for manipulating SMF model files.

New in this release is the QCluster software package in tools/cluster.

BUILDING & INSTALLATION

To build on a Unix machine:

cd libgfx
./configure
cd src; make
cd ../../mixkit
./configure
cd src; make
cd ../../tools/qslim
make all

I have tested this process on both Linux (Debian) and Mac OS X (10.3) machines. Compilation on other Unix platforms should probably work as well.

I no longer use Windows on a regular basis, and have not updated the Windows build files. The Unix directions given above should work correctly with Cygwin. Some slightly out-of-date project files for compiling under MS Visual C++ 6.0 can be found in SlimKit workspace in the "win32" directory. You can probably get them working without too much effort.

Finally:

 o  Read tools/qslim/QSlim.txt

FUTURE PLANS

None. This software package has changed relatively little since its initial public release in March 1999. The only substantial changes were switching to an FLTK-based GUI and repackaging some of the common code in the new libgfx library. I ceased active development on the simplification-related MixKit code several years ago. At this point, I do not have plans for any further releases of this software.

qslim's People

Contributors

alecjacobson avatar

Watchers

James Cloos avatar Mathieu Lamarre 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.