Takahito Tejima
de3e706379
Potential fix for the shader compilation problem.
...
Replace face varying computation functions with equivalent macros
to avoid gl_PrimitiveID undefined error.
2013-07-08 16:16:28 -07:00
Takahito Tejima
2b4dd1cb0a
Add convenient functions to compute face varying attributes.
...
closes #171
2013-07-03 12:08:10 -07:00
Takahito Tejima
37b2b8150e
Add FaceVarying color display mode into glViewer
2013-07-02 11:16:27 -07:00
David G Yu
288b27dc28
Finished varying color shader updates for glViewer
2013-06-28 18:34:34 -07:00
David G Yu
d2abf61c56
Added adaptive tess of user varying values
...
This isn't necessarily a final design, but
it gets enough of the pieces in place to move
forward.
2013-06-28 14:05:47 -07:00
Takahito Tejima
e030157f73
Add varying buffer handling to OsdMesh.
...
Fix a bug that breaks varying interpolation on cuda kernel
Clean up glViewer with some new functions : varying color, screen space lod, patch culling
2013-06-27 12:57:21 -07:00
David G Yu
967fc4db72
Fixed glsl shader portability edgeDistance
...
Moved all edgeDistance declarations to client shader code.
2013-06-10 16:32:45 -07:00
David G Yu
1461deb308
Fixed glsl shader portability (input,output)
2013-06-10 16:31:30 -07:00
Takahito Tejima
ab4f79c128
Remove deprecated GL calls, comply with 4.2/3.3 core profile. Use VAO, update glsl shaders, remove immediate draws, etc.
...
In example code, GLUT has been replaced with GLFW so that glViewer/ptexViewer can run on OSX (10.7 or later).
OSX note: still have some problem with clang, may need to explicitly specify gcc on cmake cmdline
-DCMAKE_CXX_COMPILE=/usr/bin/g++
fixes #98
2013-01-29 15:54:18 -08:00