-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
55 lines (39 loc) · 1.71 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
iw-ptex: ingowald's modified version of PTex
============================================
This project is a clone of the original Ptex Version 2.1.33, with
the (so far) following modifications/extension
- added functionality to 'parse' ptex 'files' from memory: If the
filename passed to a PtexReader is of the form "mem://<%lx>/<%lx>",
then the first of the <%lx>'s is (hex-formatted) 64-bit pointer, and
the second one a (hex-formatted) 64-bit size. This allows for
reading ptex from memory that somebody else has allocated (e.g.,
form an ospray data array), as well as for using more than 1k ptex
files concurrently (because we no longer open file descriptors)
- changed the PTexSeparableFilter to be thread save; i.e., a bilinear
ptexturefilter can now be used from multiple threads in parallel
License
-------
This project has been cloned from Disney's original Ptex 2.1.33
tarball, and that original project's license is thereby "inherited"
into this project. Any _additions_ done by me are hereby declared as
"free for all"; but if in doubt, check with the Disney lawyers....
------------------------------------------------------------------
Original ptex 2.1.33 README
------------------------------------------------------------------
Building with make (Linux):
> make prefix=$PWD/install
> make test
> make install
> make doc
The Makefile uses cmake under the hood.
This will build, install to a local 'install' directory, and
run regression tests.
Contents of install directory:
install/bin:
ptxinfo
install/include:
PtexHalf.h PtexInt.h Ptexture.h PtexUtils.h
install/lib:
libPtex.a libPtex.so
Note: docs will be generated in the 'src/doc/ptex' directory
and installed as 'install/share/doc/ptex'.