{"id":13589977,"url":"https://github.com/wdas/ptex","last_synced_at":"2025-05-16T12:05:40.308Z","repository":{"id":687451,"uuid":"331488","full_name":"wdas/ptex","owner":"wdas","description":"Per-Face Texture Mapping for Production Rendering https://wdas.github.io/ptex","archived":false,"fork":false,"pushed_at":"2024-08-28T06:24:30.000Z","size":63893,"stargazers_count":699,"open_issues_count":2,"forks_count":142,"subscribers_count":74,"default_branch":"main","last_synced_at":"2025-04-02T04:55:46.908Z","etag":null,"topics":["cpp","rendering","rendering-3d-graphics","texture-mapping","textures"],"latest_commit_sha":null,"homepage":"https://www.disneyanimation.com/open-source/ptex/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wdas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-10-08T22:25:35.000Z","updated_at":"2025-03-19T20:43:19.000Z","dependencies_parsed_at":"2023-07-05T15:17:18.413Z","dependency_job_id":"6b377f80-c230-45e7-9b1b-585d25aabd86","html_url":"https://github.com/wdas/ptex","commit_stats":{"total_commits":326,"total_committers":26,"mean_commits":"12.538461538461538","dds":0.3711656441717791,"last_synced_commit":"402c23f327e5570c0bc9bbe7599f9df58e1df618"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdas%2Fptex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdas%2Fptex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdas%2Fptex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdas%2Fptex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wdas","download_url":"https://codeload.github.com/wdas/ptex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987285,"owners_count":21028895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","rendering","rendering-3d-graphics","texture-mapping","textures"],"created_at":"2024-08-01T16:00:37.159Z","updated_at":"2025-04-09T06:09:11.300Z","avatar_url":"https://github.com/wdas.png","language":"C","readme":"# Ptex\n\nPtex is a texture mapping system developed by Walt Disney Animation Studios\nfor production-quality rendering:\n\n* No UV assignment is required! Ptex applies a separate texture to each face\n  of a subdivision or polygon mesh.\n\n* The Ptex file format can efficiently store hundreds of thousands of texture\n  images in a single file.\n\n* The Ptex API provides cached file I/O and high-quality filtering -\n  everything that is needed to easily add Ptex support to a production-quality\n  renderer or texture authoring application.\n\n\n## Quickstart\n\nBuilding with make (Linux):\n\n    make prefix=$PWD/install\n    make test\n    make install\n    make doc\n\nThe Makefile uses cmake under the hood.\n\nThis will build, install to a local `install` directory, and\nrun regression tests.\n\nDocumentation is only built if the following dependencies are installed:\n\n- [Doxygen](http://www.doxygen.nl/)\n- [Graphviz](https://graphviz.org/)\n\n\n## Installation Contents\n\n    install/bin:\n        ptxinfo\n\n    install/include:\n        PtexHalf.h  PtexInt.h  Ptexture.h  PtexUtils.h\n\n    install/lib:\n        libPtex.a  libPtex.so\n\nNote: docs will be generated in the `src/doc/ptex` directory\nand installed as `install/share/doc/ptex`.\n\n\n# Development\n\n## Source tree\n\n* [Ptex library](src/ptex)\n* [Command-line utilities](src/utils)\n* [Test suite](src/tests)\n* [Documentation](src/doc)\n* The Ptex website is developed in the `gh-pages` branch.\n\n\n## Tests\n\nUnit tests are in the `src/tests/` directory.\n\nAll tests are run by default when building the default `all` target.\nUse `make test` to run the tests directly.\n\nThe `flags` variable can be used to forward flags to `ctest`.\nFor example, to run just the `half` tests:\n\n        make test flags='-R half'\n\n\n## Packaging Notes\n\nPtex's build scripts will use a hardcoded version number that may or may not\nmatch the tagged version number when Ptex is built from a tarball instead of\nfrom a git worktree.\n\nThis version be overriden by placing a file called `version` at the root of\nthe source tree containing the desired version number.\n\nFor example, the following command will generate a version file that will be\nused by the build in lieu of git tags and the `PTEX_VER` cmake variable:\n\n    echo v2.3.2 \u003eversion\n\n\n## Release Prep\n\nBefore creating new minor version releases, run:\n\n        ./src/tests/check_version --update vX.Y\n\n`check_version.sh` updates the default `PTEX_VER` version in `CMakeLists.txt`\nwith the specified minor version number.\n\nRunning `./src/tests/check_version.sh` without any arguments will warn when\nthe git tags do not match the default version.\n\nThe `gh-pages` branch contains the `ptex.us` website.  When new release are\ncreated add an entry to `buildsite.py` and run the script to update the site.\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdas%2Fptex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwdas%2Fptex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdas%2Fptex/lists"}