Permalink
Switch branches/tags
Nothing to show
Commits on Nov 5, 2014
Commits on Mar 18, 2014
  1. Modified to be compatible with gl3.h

    erikbuck committed Mar 18, 2014
    Apple changed the OpenGL headers with OS X 10.9. Apple’s changes to
    better meet standards required changes to this code.
  2. Updated to use definitions in latest <OpenGL/gl3.h> header file provi…

    erikbuck committed Mar 18, 2014
    …ded with OS X 10.9.x.
Commits on Jul 3, 2013
Commits on Oct 29, 2012
  1. Added NSXMLElement (COLLADAParser) category containing -trimmedString…

    erikbuck committed Oct 29, 2012
    …Value method.
    
    Adapted to use NSXMLElement (COLLADAParser) -trimmedStringValue instead of NSXMLElement -stringValue to avoid occurrences of empty strings in arrays created via NSString -componentsSeparatedByString:@" ". Extra empty strings throw off the count of the number of indices and coordinates in parsed COLLADA elements.
    Added support for parsing COLLADA <polygons> element using the assumption that polygons are actually all triangles. The current implementation will likely break badly if non-triangular <polygons> elements are parsed.
  2. Adapted to use NSXMLElement (COLLADAParser) -trimmedStringValue inste…

    erikbuck committed Oct 29, 2012
    …ad of NSXMLElement -stringValue to avoid occurrences of empty strings in arrays created via NSString -componentsSeparatedByString:@" ". Extra empty strings throw off the count of the number of indices and coordinates in parsed COLLADA elements.
  3. Commented out repeating log "instance_geometry references unknown mat…

    erikbuck committed Oct 29, 2012
    …erial" when COLLADA file contains no materials.
Commits on Oct 28, 2012
  1. Corrected bug: possible miscalculation of COLLADA inout source index …

    erikbuck committed Oct 28, 2012
    …stride
    
    Properties were renamed for clarity. indexStridePerVertex is used to
    find indices for each vertex. The indexStridePerVertex is NOT
    necessarily the same as the number of input sources because some
    sources may share the same indices. For example, a vertex my have three
    sources, (position, normal, and textCoord), but only have an index
    stride of 2 because normal and texCoord always share the same index.
    The stride is therefore the maximum offset of all the sources plus 1 to
    account for the index at the maximum offset.
Commits on Oct 15, 2012
  1. Improved modelplist export, texture atlas generation, and texture coo…

    erikbuck committed Oct 15, 2012
    …rdinate normalization
    
    Imported COLLADA files may contain texture coordinates that require
    texture wrap modes unsupported with a texture atlas. Options exist to
    preserve imported texture coordinates or normalize texture coordinates.
  2. Enabled back face culling

    erikbuck committed Oct 15, 2012
  3. Added md5 source files

    erikbuck committed Oct 15, 2012
  4. Modified to prevent inclusion of the same image multiple times in a t…

    erikbuck committed Oct 15, 2012
    …exture atlas. Image paths are now hashed and compared based on the md5 hash of the path's image data.
Commits on Oct 14, 2012
Commits on Oct 12, 2012
  1. Added texture atlas generation and texture transform support when sav…

    erikbuck committed Oct 12, 2012
    …ing in modelplist format.
Commits on Oct 8, 2012
  1. Initial version

    erikbuck committed Oct 8, 2012
  2. Initial functionality (alpha)

    erikbuck committed Oct 8, 2012
    This version opens and displays COLLADA .dae files and exports to the
    ".modelplist" format.
Commits on Oct 6, 2012
  1. Improved modelplist export and added comments.

    Erik Buck committed Oct 6, 2012
  2. Added capability to export in modelplist format with all the limitati…

    Erik Buck committed Oct 6, 2012
    …ons that entails: Only one texture, consolidated mesh with baked in transforms, limit to 64K vertices, etc.
  3. Minor code reformatting.

    Erik Buck committed Oct 6, 2012
  4. Modified to support <init_from> elements that are URLs complete with …

    Erik Buck committed Oct 6, 2012
    …% escapes instead of properly formatted file system paths. COLLADA spec is ambiguous about whether <init_from> elements are paths or URLs.
Commits on Oct 3, 2012
Commits on Oct 2, 2012
  1. Added array controller to mediate between document and CVViewControll…

    erikbuck committed Oct 2, 2012
    …er for selection and arranged. Added attributes to roots and modified table view to display the attributes.
  2. Minor cleanup.

    erikbuck committed Oct 2, 2012