Skip to content
Commits on Nov 5, 2015
  1. @brentb

    Merge pull request #12 from davvid/cmake

    brentb committed
    Cmake enhancements
Commits on Sep 29, 2015
  1. .gitignore: add the build directory

    Signed-off-by: David Aguilar <>
  2. cmake: improve cmake setup

    Use GNUInstallDirs to provide a consistent way to override paths.
    Use CMAKE_INSTALL_FOO variables when installing targets.
    Do not rebuild the "doc" target needlessly.
    Rework the doxygen setup to build in-place.
    Related-to: #11
    Helped-by: Leonid Onokhov <>
    Signed-off-by: David Aguilar <>
  3. cmake: simplify git operations

    Use `git rev-parse HEAD` instead of going through the rev-list
    Signed-off-by: David Aguilar <>
  4. doxygen: remove deprecated cruft

    Signed-off-by: David Aguilar <>
  5. README: update the cmake instructions

    Signed-off-by: David Aguilar <>
  6. @nyue

    cmake: add support for out-of-source builds

    nyue committed with
    Add WORKING_DIRECTORY directives to the git commands.
    Add installation targets for libraries, headers and applications
    Add installation of generated Doxygen documentation
    PTEX_LIB_DIR allows setting a custom library directory.
    Note: PTEX_LIB_DIR is replaced by CMAKE_INSTALL_LIBDIR in a
    later commit when GNUInstallDirs is introduced.
    Signed-off-by: Nicholas Yue <>
Commits on Feb 12, 2015
  1. Use static array initializer for half conversion tables

    Brent Burley committed
Commits on May 28, 2014
  1. Fix regression in triangle filter from commit 194207.

    Brent Burley committed
Commits on May 16, 2014
  1. @brentb

    Merge pull request #10 from davvid/conversion-warnings

    brentb committed
    PtexFilter.cpp: add explicit casts to silence -Wconversion warnings
  2. PtexFilter.cpp: add explicit casts to silence -Wconversion warnings

    Signed-off-by: David Aguilar <>
  3. Change regression tests to use uint16

    Brent Burley committed
    Exercises differencing code.  (float/half don't use differencing)
  4. Fix regression in encodeDifference

    Brent Burley committed
    introduced in commit ba46a5
  5. Optimize mipmap level calculation (don't use log2f)

    Brent Burley committed
Commits on Mar 31, 2014
  1. @brentb

    Merge pull request #9 from davvid/memset-size

    brentb committed
    Fix memset size in getPixel()
Commits on Mar 29, 2014
  1. Fix memset size in getPixel()

Commits on Dec 4, 2013
  1. Bugfix: compute correct file offsets when extheadersize is different …

    Brent Burley committed
    …than expected.
Commits on Dec 2, 2013
Commits on Nov 27, 2013
  1. @brentb

    Merge pull request #7 from davvid/warnings

    brentb committed
    Eliminate warnings when building with -Wsign-compare -Wconversion
  2. Replace snprintf use with stringstream.

    Brent Burley committed
  3. Don't use strtok_r due to portability issues.

    Brent Burley committed
Commits on Oct 16, 2013
  1. warnings: eliminate conversion warnings

    This allows Ptex to be built using -Wconversion and -Wsign-compare.
    Signed-off-by: David Aguilar <>
  2. Makefile: allow supplying custom flags via config.mak

    Allow users to override the default flags by providing an untracked
    "config.mak" file in the src/ directory.  This allows someone to have,
    for example,
    	CXXFLAGS += -Wsign-compare -Wconversion -Werror
    in their config.mak and Ptex will build using those flags.
    Signed-off-by: David Aguilar <>
Commits on May 29, 2013
  1. @brentb

    Merge pull request #5 from manuelk/master

    brentb committed
    Add face-adjacency consistency check, ptxinfo -c
  2. @manuelk

    fix the subface adjacency logic - Brent wrote:

    manuelk committed
    That said, the ptex library doesn't assume prman orientation of subfaces.  The
    general rule is that if a subface points to a non-subface neighbor and the
    neighbor points back to the subface, then it's in the primary position; if not
    it's assumed to be in the secondary position.  In the secondary position, the
    neighbor on edge e must point to the neighbor on edge (e+1)%4.
    Expressed in code:
    if (finfo.isSubface() && !adjf.isSubface()) {
       // neighbor face might be pointing to "other" subface
       if (oppfid == finfo.adjface((e+1)%4)) continue;
  3. @manuelk

    Adding a -c flag to ptxinfo that performs a sanity check of the face

    manuelk committed
    adjacency data in the given ptex file. Any inconsistency found is
    dumped in the terminal stderr.
Commits on Apr 22, 2013
  1. Remove dynamic casts.

    Brent Burley committed
Commits on Apr 8, 2013
  1. Renamed formal parameters to silence -Wshadow downstream

    Christian Eisenacher committed with Brent Burley
  2. Remove LOD bias on bilinear filter.

    Brent Burley committed
  3. Use float precision (avoid float/double conversions).

    Brent Burley committed
  4. Explicitly set read buffer size to 8k in default IO handler.

    Brent Burley committed
    Some file systems were causing the buffer size to be as large as 512k
    per file handle and this was using an inordinate amount of memory.  8k
    seems plenty and can be tuned in PtexIO.h if desired.
  5. Trivial change for gcc 4.7 warning.

    Brent Burley committed
Commits on Mar 12, 2012
  1. @brentb

    Merge pull request #3 from nyue/master

    brentb committed
    Fix for Win32 build
Commits on Mar 11, 2012
  1. @nyue

    Add conditional for WIN32 to export the symbols

    nyue committed
    for correct linkage
Something went wrong with that request. Please try again.