Commit Graph

9324 Commits

Author SHA1 Message Date
rdb 4206e349c9 Fix obscure GL crash 2015-07-27 12:57:14 +02:00
rdb e8e155f218 AnimControlCollection methods should take floating-point frame numbers to match AnimInterface 2015-07-27 12:56:13 +02:00
rdb 3ad274639d Move Cg calls out of GSG reset() function - do profile detection entirely without Cg functions 2015-07-20 20:01:06 +02:00
rdb 87b23dfeb2 Improve shader model detection mechanism 2015-07-19 21:31:24 +02:00
rdb 194a43fa2a Merge branch 'release/1.9.x' 2015-07-19 21:24:19 +02:00
rdb 672a191d2a Improve error message when Cg support is not enabled 2015-07-19 21:23:46 +02:00
rdb e515cbdbd1 Reintroduce display mode information in Windows via Win32 API
Also clean up the CPUID code in winGraphicsPipe a bit
2015-07-19 21:13:01 +02:00
rdb 1bb1cc79f4 Improve reporting of supported extensions and compressed formats 2015-07-19 20:13:55 +02:00
rdb 8fcbfd72a1 Intel driver fixes (merge) 2015-07-19 09:32:09 +02:00
rdb 23441aa5bb Fix intel driver issues, particularly with geometry shaders 2015-07-19 09:22:57 +02:00
rdb e91a9100ed Support specifying custom gl-version or requesting debug context on Windows
Also works around NVIDIA driver bug where GL_VERSION is always reported as 1.2 for pview.exe
2015-07-18 22:41:59 +02:00
rdb 96a9e22395 Add uniform mat4 p3d_TextureMatrix[] input to GLSL 2015-07-18 11:07:18 +02:00
rdb 493b66c97d Merge compiler fix 2015-07-17 22:12:24 +02:00
rdb c224f351ec Fix gcc/clang compile error 2015-07-17 21:50:06 +02:00
rdb 5e219f6438 Add support for uniform int osg_FrameNumber in GLSL 2015-07-17 21:34:29 +02:00
rdb 5d7bc2c05e Merge branch 'release/1.9.x'
Conflicts:
	panda/src/glstuff/glShaderContext_src.cxx
2015-07-17 21:32:24 +02:00
rdb 221507437a Fix crash when passing an undersized array to a GLSL array input 2015-07-17 21:28:51 +02:00
rdb 4df64f7b42 Merge branch 'release/1.9.x' 2015-07-17 15:56:15 +02:00
rdb dafae50ce2 Protect against self-move-assignment to fix stable_sort in MSVC 2015-07-17 15:55:24 +02:00
rdb da6140a8cc Changes to GLSL input handling that further assist in efforts to port from Cg to GLSL 2015-07-14 21:04:50 +01:00
rdb 555844f82a Allow compiling out the fixed-function pipeline and request core context 2015-07-09 16:43:45 +02:00
rdb 220015a234 Drop support for vertex blend/matrix palette in OpenGL, no driver ever supported it (well) 2015-07-09 14:26:24 +02:00
rdb 9b6f4eeaf9 Fix compiler warnings in MSVC 2015-07-07 02:58:57 +01:00
rdb 7ce2a97bef BGRA color order fix for Cg on Windows 2015-07-07 02:37:48 +01:00
rdb ef9908c277 More robust Cg support on non-NVIDIA card + automatically enable hardware skinning in Shader Generator 2015-07-07 02:51:48 +02:00
rdb 214d799d82 Add optional "other" NodePath argument for get_tight_bounds() 2015-07-06 14:52:08 +02:00
rdb d43482ec9b Merge branch 'release/1.9.x' 2015-07-06 14:21:03 +02:00
rdb 7c2822515b Remove dependency on X11/Intrinsic.h 2015-07-06 14:19:46 +02:00
rdb cbcb2416d7 Merge branch 'release/1.9.x' 2015-07-06 10:32:30 +02:00
rdb fe058dfb32 Don't store two references to X11 Cursor, or we double free at shutdown 2015-07-06 10:29:44 +02:00
rdb f67ee228bf Fix error in cg-glsl-version 2015-07-05 20:39:34 +02:00
rdb 7026854cc2 Fixes to get the C binding generator to work 2015-07-05 16:07:08 +02:00
rdb c0f6588c88 Separate libp3interrogatedb out of libp3dtoolconfig.
This aids further in removing the core lib dependency on Python.
2015-06-30 15:17:15 +02:00
rdb 08fbfb1874 Add missing file, update .gitignores 2015-06-28 14:04:16 +02:00
rdb 419eadb859 Support hardware skinning in GLSL 2015-06-21 20:28:31 +02:00
rdb 7a836cbbd9 Merge branch 'release/1.9.x' 2015-06-21 17:46:34 +02:00
rdb 8ecf6a7b9f Fix getattr() and hasattr() of vector classes when invalid attribute name is used 2015-06-21 15:33:42 +02:00
rdb efa8633cb0 Merge branch 'release/1.9.x' 2015-06-18 21:21:23 +02:00
rdb 458ca5ea41 Fix error when aligning C_normal column for vertex animation 2015-06-18 21:21:00 +02:00
rdb 5d364d6128 Merge branch 'release/1.9.x' 2015-06-15 00:20:17 +02:00
rdb 6d0e4c2662 Correct scaling and normalizations of binormals and tangents in generated shaders 2015-06-15 00:19:52 +02:00
rdb ac7c8c3756 Merge branch 'release/1.9.x'
Conflicts:
	panda/src/gobj/geomVertexColumn.cxx
2015-06-14 23:16:42 +02:00
rdb bac400543a Correct scaling of normals during flatten operations 2015-06-14 23:14:56 +02:00
rdb 82e098e578 Move auto-rescale-normal handling out of GSG, support normalizing normals in shader generator 2015-06-13 18:20:18 +02:00
rdb 2515ea5dff Merge branch 'release/1.9.x' 2015-06-13 13:37:33 +02:00
rdb c85a92d378 Add assertion to GeoMipTerrain::get_block_node_path 2015-06-13 13:34:19 +02:00
rdb 11ed8a4d8d Use dynamic type lookup for interrogate to eliminate inter-module dependencies
It is now no longer necessary to link to core.pyd
Also includes a slight coercion optimization for trivial types
2015-06-06 19:36:40 +02:00
rdb 8e58e9e11c Merge branch 'release/1.9.x' (though keep template exporting in master) 2015-06-06 17:03:27 +02:00
rdb 4d46172fba Revert non-Windows template export changes from 1.9.x, they're less stable than I thought 2015-06-06 16:55:33 +02:00
rdb 3c380d9006 Support collision sphere and plane solids in bam2egg 2015-06-06 16:46:43 +02:00