wdas / ptexutils Goto Github PK
View Code? Open in Web Editor NEWopen source Ptex utilities (e.g. texture transfer)
License: Other
open source Ptex utilities (e.g. texture transfer)
License: Other
Ptex: v2.4.1 static & dynamic link
OIIO: v2.2
freeglut: v2.8.1-6
LHS is on Ubuntu,RHS is on Windows. Maps cannot be displayed on Ubuntu.
polySurface2.zip
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.
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 ;)
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?
cmake 2.8 shows errors when configuring, I can clean up sopvop/ptexutils@288981f2 commit and make a pull request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.