Nicholas Yue
231476b48c
Fix directory path to working directory of python in custom command, use ${CMAKE_SOURCE_DIR} instead of .. for consistency
2013-02-17 11:28:05 +11:00
Dirk Van Gelder
f7181d2f9d
Get evalTest and simpleCpu to build again, changing glut references to glfw.
2013-02-15 18:32:10 -08:00
Manuel Kraemer
6f87feca2b
typo : there is no space between /wd and the warning #
...
fixes #120
2013-02-14 09:44:11 -08:00
manuelk
a52c70ab8b
First pass implementation of holes :
...
- make sure HBR passes down the hole tag to children when subdividing faces
- minor API modification : allow to unset the hole flag on a face
- modify uniform / adaptive FarMeshFactory to be aware of the flag
- make the FarSubdivisionTableFactory assert when finding unconnected HBR vertices (as it should)
* Uniform subdivision :
The refinement scheme only creates faces & vertices necessary
to maintain the one-ring around the edges of a hole, so this solution
is quite efficient.
* Adaptive subdivision :
At the moment we are still performing full topological analysis on holes and
only skipping patches associated to holes. This is sub-optimal in 2 ways :
1. the topological analysis can potentially be cranking on a lot of unnecessary
geometry
2. even though we may not be drawing the patches, the compute stage is still
applying kernels on all the control vertices of these patches.
We will have to revisit feature adaptive subdivision & holes, so keep the issue active.
fixes #78
2013-02-13 14:34:33 -08:00
Manuel Kraemer
20946b8923
Merge pull request #120 from andrewkww/vs2012_warnings_vc_headers
...
cmake: ignore MSVC C4350 and C4548 warnings
2013-02-12 17:27:02 -08:00
Manuel Kraemer
5ad40fe535
Merge pull request #121 from andrewkww/vs2012_warnings
...
VS2012 warnings: more conversion warnings and a few others
2013-02-12 17:26:25 -08:00
Manuel Kraemer
14c5b7c661
Merge pull request #122 from andrewkww/gitignore
...
gitignore: Ignore build directories
Thank you very much !
2013-02-11 19:58:43 -08:00
Andrew Wong
99b2881dbb
gitignore: Ignore build directories
2013-02-11 22:04:17 -05:00
Andrew Wong
98b5e86008
gitignroe: Fix newline at end of file
2013-02-11 22:01:20 -05:00
Philip Rideout
13dfc733f2
typo in the Python readme
2013-02-11 16:24:27 -08:00
David G Yu
65a437956e
Merge pull request #118 from andrewkww/assert_fix
...
subdivisionTablesFactory: Fix typo in assert()
2013-02-10 16:36:41 -08:00
Andrew Wong
ccbfea69b1
common/hud: fix a conversion warning
...
warning C4242: 'argument' : conversion from 'int' to 'char', possible loss of data
2013-02-10 00:04:31 -05:00
Andrew Wong
d4c62d4aef
osd: fix conversion warnings in glDrawContext
...
warning C4242: 'argument' : conversion from 'int' to 'unsigned char', possible loss of data
2013-02-09 23:35:02 -05:00
Andrew Wong
e04c95988c
far: fix conversion warnings in Far*SubdivisionTablesFactory
...
warning C4242: 'argument' : conversion from 'int' to 'unsigned char', possible loss of data
2013-02-09 23:35:02 -05:00
Andrew Wong
329a9a7b40
hbr: fix a few more warnings
2013-02-09 23:35:01 -05:00
Andrew Wong
08ca7af0c9
hbr: fix warnings in the Hbr*Edit constructors
...
warning C4242: 'initializing' : conversion from 'int' to 'const unsigned char', possible loss of data
2013-02-09 23:34:59 -05:00
Andrew Wong
b25226134f
fix warnings for having assignments inside conditionals
...
warning C4706: assignment within conditional expression
2013-02-09 23:34:58 -05:00
Andrew Wong
15791b28bd
cmake: ignore MSVC C4350 and C4548 warnings
...
These warnings are being triggered from inside VC's header files.
2013-02-09 21:02:49 -05:00
Andrew Wong
108ee96317
subdivisionTablesFactory: Fix typo in assert
2013-02-09 19:06:06 -05:00
manuelk
7c10b9c321
minor cleanup of doxygen cmake rules
2013-02-08 14:32:01 -08:00
manuelk
ef408fc67c
- remove the now obsolete glutViewer (replaced by glViewer)
...
- remove some glut-era callbacks in glViewer / ptexViewer
- fix OSX includes in osd_regression
fixes #117
2013-02-08 14:06:44 -08:00
manuelk
f3bb911351
- fix gcc offsetof compile warnings by passing flags & definitions from CMake to the setup.py script
...
- add a -builtin swig flag if an appropriate version of swig is found
fixes #116
2013-02-08 13:51:11 -08:00
manuelk
a81b4388b1
adding missing license banner
...
fixe #116
2013-02-08 13:48:51 -08:00
Philip Rideout
05558699d7
remove unused variable
2013-02-07 17:00:32 -08:00
Philip Rideout
293034d39c
move screenshot of demo to doc folder
2013-02-07 16:57:22 -08:00
Manuel Kraemer
ca1e294c70
Merge pull request #116 from prideout/master
...
Python Bindings for Grandma
This is probably not the final word on python bindings... but it gives us a place to start.
Note : tested only in linux environments so far
2013-02-07 16:40:12 -08:00
Philip Rideout
67398c3b3c
augmenting gitignore for pyc and SWIG-generated cruft
2013-02-07 16:18:14 -08:00
Philip Rideout
ad040466a0
fix typos in README
2013-02-07 11:41:48 -08:00
Philip Rideout
604c35ac4f
incorp feedback from mkraemer: remove the license file, move the demo to examples/python, change the min Python version to 2.6
2013-02-07 11:37:00 -08:00
Philip Rideout
90c017ebe0
update doc to match enum names
2013-02-06 22:05:56 -08:00
Philip Rideout
bb6fd9489b
update docs
2013-02-06 21:27:16 -08:00
Philip Rideout
8c6785594c
CMake now invokes distutils correctly
2013-02-06 19:24:40 -08:00
Manuel Kraemer
6d4565e6b8
Merge pull request #109 from aras-p/glvbo-fixes
...
CpuGLVertexBuffer performance fix + glViewer fixes
reviewed, approved & much appreciated : thank you
takahito + manuelk
2013-02-06 18:27:48 -08:00
manuelk
c53f973651
- fixed GL context crashes for Linux / GLFW 3.0
...
- refactored CLI arguments parsing
- minor code style cleanups
2013-02-06 14:07:47 -08:00
Philip Rideout
eb63ac0753
iterating on the cmake stuff for a python module
2013-02-06 08:53:44 -08:00
Manuel Kraemer
758a788b32
Merge pull request #110 from aras-p/osd_regression_work
...
osd_regression: add "CL" backend that tests OpenCL kernel
2013-02-06 08:00:09 -08:00
Takahito Tejima
31a5c04bf8
Merge branch 'master' of https://github.com/PixarAnimationStudios/OpenSubdiv
2013-02-05 18:06:35 -08:00
Takahito Tejima
4738916173
Fix ptex guttering on corner pixels.
...
Fixes #114
2013-02-05 18:06:19 -08:00
manuelk
45b38e5c6b
fixes a problem on Linux where apparently there is no "primary" monitor returned (NULL)
...
fixes #113
2013-02-05 18:01:30 -08:00
David G Yu
88679ce187
Fixed WIN32 build breakage.
...
GLFW tries to avoid including windows.h, but by hijacking
macro definitions provided by windows.h GLFW actually
further pollutes the global namespace.
2013-02-05 17:05:59 -08:00
Manuel Kraemer
91fddab7ef
add some logic to enable full-screen mode with GLFW 3.0
...
confirmed working on Windows - needs checking on other
platforms / versions of GLFW
fixes #113
2013-02-05 16:28:20 -08:00
manuelk
e1f6486ce4
removing more #ifdef's related to adaptive tessellation ability
...
fixes #111
2013-02-05 15:25:46 -08:00
manuelk
6f5d1e34be
partial solution to run-time environment configuration :
...
- add bool OsdGLDrawContext::SupportsAdaptiveTessellation() method
- modify glViewer to use that instead of #ifdefs
Note : this is not the final word on this as OSD really needs a more comprehensive
system to provide run-time information about available features to the client code.
fixes #111
2013-02-05 15:04:07 -08:00
Philip Rideout
5f5c22a078
Revamped Python bindings that use SWIG
2013-02-04 21:10:58 -08:00
Manuel Kraemer
2b12ffc447
build fixes :
...
- remove ptexViewer from the build on OSX (doesnt work)
- remove maya plugins from the build on OSX (until we have a compatible version available)
glViewer fixes :
- fix incorrect GLFW version check in #ifdefs (now done in cmake)
- fix default program GL version (downgraded to 1.5 where necessary)
- remove non core-profile GL calls (triggering errors)
this should allow OSX 10.7 builds to produce a functional, if restricted, glViewer.
fixes #111
2013-02-04 18:37:25 -08:00
Aras Pranckevicius
0d5b543c4a
CpuGLVB: code review changes
2013-02-04 22:10:36 +02:00
Aras Pranckevicius
663a62cb08
osd_regression: add "CL" backend that tests OpenCL kernel with GL buffer backing
2013-02-04 22:01:59 +02:00
Manuel Kraemer
626b8c40bf
Update README.md
2013-02-04 11:49:30 -08:00
Aras Pranckevicius
58cb40ec5c
CpuGLVB: dirty flag to not keep on uploading if data did not change
2013-02-04 20:57:19 +02:00
Dirk Van Gelder
eed2d98a39
Merge of in-progress Eval API test code to the mainline. Not much
...
here yet.
2013-02-04 09:35:43 -08:00