Giter Club home page Giter Club logo

ptexutils's People

Contributors

davvid avatar dteece avatar gracien-app avatar sopvop avatar tangzhongsi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ptexutils's Issues

converting std::string to Ptex::v2_3::String problems

Have troubles with compiling ptexutils for Windows, MSVC 2017
Compiled all dependencies with vcpkg. All project have the same errors in converting std::string to Ptex::v2_3::String

Error C2664 'Ptex::v2_3::PtexTexture *Ptex::v2_3::PtexTexture::open(const char *,Ptex::v2_3::String &,bool)': cannot convert argument 2 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 321 Error C2664 'Ptex::v2_3::PtexWriter *Ptex::v2_3::PtexWriter::open(const char *,Ptex::v2_3::MeshType,Ptex::v2_3::DataType,int,int,int,Ptex::v2_3::String &,bool)': cannot convert argument 7 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 349 Error C2664 'bool Ptex::v2_3::PtexWriter::close(Ptex::v2_3::String &)': cannot convert argument 1 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 375 Error C2664 'Ptex::v2_3::PtexTexture *Ptex::v2_3::PtexTexture::open(const char *,Ptex::v2_3::String &,bool)': cannot convert argument 2 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 391 Error C2664 'Ptex::v2_3::PtexWriter *Ptex::v2_3::PtexWriter::open(const char *,Ptex::v2_3::MeshType,Ptex::v2_3::DataType,int,int,int,Ptex::v2_3::String &,bool)': cannot convert argument 7 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 460 Error C2664 'bool Ptex::v2_3::PtexWriter::close(Ptex::v2_3::String &)': cannot convert argument 1 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 470

Do somebody have any suggests, what it could be?

FindPtex.cmake does not work with version >= 2.1.0

With the shift to storing the API version in PtexVersion.h, the section where it checks for API version in (https://github.com/wdas/ptexutils/blob/56b32c1e853fbe750e826b3b9e2e61863b5755aa/cmake/FindPTex.cmake) will fail because it only checks in Ptexture.h, and will come up with an empty string (the actual error comes when trying to perform the subsequence REGEX MATCHALL on an empty string). It should probably check both headers to support backwards compatibility.

Suggestions for future of ptexutils

I have finally spent some time and cleaned up my small ptex-tools project.

Currently there are two tools, one for merging ptex textures into one, to make dealing with
cases when you have multiple meshes with same material a bit easier. And tool for reversing winding order in ptex texture, helps when you need to render both alembic cache with renderman procedural and rms exported geometry.

I think it would be nice to merge these tools into ptexutils.

Exposing ptexutils tools not only as executables, but also as a library
and possibly python module (as ptex-tools does).

Merging future tools (besides viewer, it adds GL dependency) into single executable, with interface like git has. That would make using statically linked ptex library less painful. Statically linked executables are somewhat easier to deploy by just dropping into shared NFS folder. And yes, ptex-tools does that ;)

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.