Commit Graph

9154 Commits

Author SHA1 Message Date
Nikola Milentijevic e687c76db8 Fix MeshDrawer::stream
Direction vector is computed as stop - start, but the position
in the loop is computed from stop as base, instead of from start;
this is changed to start as the base (and then offset must be added).
Multiplication of non-normalized direction vector with its length
yields square of the expected current step inside the loop;
this is changed to use the normalized direction vector.
2015-03-17 19:40:09 +01:00
rdb 1bd343cd87 Windows compile issues fix 2015-03-15 19:37:14 +01:00
rdb 22120524a2 PNMImage sRGB support, use floats instead of doubles 2015-03-15 17:22:28 +01:00
rdb 68cf8cf44f Fix various issues with API documentation generator 2015-03-13 18:40:26 +01:00
rdb ee024f3dc5 Typo fix 2015-03-09 15:51:22 +01:00
rdb 36525784fd Robustify GL FBO framebuffer properties handling 2015-03-09 15:27:38 +01:00
rdb d345246a93 Fix compilation with STDFLOAT_DOUBLE 2015-03-08 15:55:43 +01:00
rdb d11cafc374 Replace SSE4 instruction with SSE2 instruction 2015-03-02 16:18:55 +01:00
rdb 97c24c9ef0 Fix a Cg crash with GL_BGRA color arrays, on NVIDIA cards this time 2015-03-01 17:32:20 +01:00
rdb 04d4309b14 SSE2-enhanced sRGB encode (with runtime CPU detection) 2015-03-01 11:46:52 +01:00
rdb 223620e27e Fix draw mask propagation for initially hidden nodes when when frustum culling is off 2015-02-28 13:03:45 +01:00
rdb 3d9d9bfc95 Deprecate use of <Collide> without specifying "descend" flag 2015-02-27 19:59:54 +01:00
rdb db87bc7914 PointerToArray fixes, Windows build fixes, more move constructors 2015-02-27 12:45:11 +01:00
rdb 0e67fb7cf3 Merge pull request #9 from deflected/master
FreeBSD fixes
2015-02-26 15:39:00 +01:00
rdb 72e1df987f Fix pview issues with 1-frame animations and cycling between animations 2015-02-25 21:45:14 +01:00
rdb 52fec094bc Automatically coerce Python function to CallbackObject 2015-02-25 16:24:56 +01:00
rdb 69dc29d6f0 Merge pull request #7 from kestred/cfs-fixes
Miscellaneous compilation fixes
2015-02-25 02:25:19 +01:00
rdb 7a6aa7bfae Implement ParamNodePath; fix circular include issue in shaderInput.h 2015-02-25 01:25:19 +01:00
Sam Edwards f0b3e08e9c ffmpeg: Use av_frame_* instead of deprecated avcodec_*_frame functions beginning with lavc 55.45.101. 2015-02-24 16:22:37 -08:00
Sam Edwards 903966371c general: Fix missing includes. 2015-02-24 16:06:47 -08:00
Sam Edwards 894423ace4 ffmpeg: Don't use internal SWR_CH_MAX macro. 2015-02-24 16:06:40 -08:00
rdb 8dbe681143 Fix bug with Collide flag "polyset" and nested <Transform> elements 2015-02-24 23:51:00 +01:00
rdb 46ddd46c5c Support materials in bam2egg 2015-02-24 21:40:55 +01:00
09th c0e4de3df7 Fix bam2egg issue with animated models 2015-02-24 19:58:14 +01:00
rdb 6263a591be Fix matrix.almost_equal with custom threshold in Eigen build 2015-02-22 15:04:54 +01:00
rdb 3600abfe6d Fix coercion of non-interned strings in Python 3 2015-02-22 13:51:46 +01:00
deflected d82f2c83cd downloader: Correct lack of timezone
- Use tm_gmtoff for GMT correction under FreeBSD

Signed-off-by: deflected <deflected@github>
2015-02-20 14:10:19 +02:00
enn0x d320aced73 Fixed const-correctness for BulletAllHitRayResult. 2015-02-20 01:29:16 +01:00
enn0x b7ef0d3bc3 Exposed flag to disable collision between linked bodies. 2015-02-20 01:14:12 +01:00
rdb 0fda35d88c Commit patch by nikolm to support AmbientLight shader inputs in GLSL 2015-02-16 21:33:38 +01:00
rdb d447ec3bc6 If GL_RENDERER begins with "Gallium", disable GL_PRIMITIVE_RESTART_FIXED_INDEX 2015-02-15 14:19:47 +01:00
rdb 7ed8cc9831 Add p3d_Color uniform in GLSL shaders 2015-02-11 21:54:34 +01:00
rdb 886890b02f Merge /mnt/panda3d 2015-02-11 21:43:21 +01:00
rdb 4d2dcdcef7 Fix OpenGL ES compiler errors 2015-02-11 21:41:48 +01:00
rdb 8d17e86d2e Merge /cygdrive/g/panda3d 2015-02-11 21:13:25 +01:00
rdb b9c1765ab4 Fix eggcacher, dramatically improve Windows installer 2015-02-11 21:12:54 +01:00
rdb 5a51a7e08d Fix various build issues 2015-02-11 14:16:21 +01:00
rdb a6eb3fa442 Make NodePathCollection and TextureCollection constructors extensions 2015-02-11 14:14:03 +01:00
rdb cbd70ad8af Move all Python bindings out of core DLLs into the .pyd files. 2015-02-10 14:30:51 +01:00
rdb 79d025e9a8 Fix incorrect transformation of CollisionBox loaded from .egg file 2015-02-09 20:43:04 +01:00
rdb 8998fef903 Merge branch 'master' of github.com:panda3d/panda3d 2015-02-09 16:53:45 +01:00
rdb e9a64736a3 Fix 32-bit Windows compilation issues with Eigen 2015-02-09 16:51:59 +01:00
rdb bcf0229978 Expose p3d_ClipPlane array to GLSL 2015-02-09 15:57:47 +01:00
rdb b4a87b58f2 Support halfVector struct parameter for GLSL light source inputs 2015-02-08 23:38:07 +01:00
rdb bd86907181 Fix assortment of compilation issues and annoyances 2015-02-08 23:25:11 +01:00
rdb 91568b02bc Add EggVertex::make_average(v1, v2) 2015-02-08 19:51:18 +01:00
rdb dad8f79e96 Support using setShaderInput with a light to bind to GLSL struct 2015-02-08 01:42:11 +01:00
rdb 028c09add5 Implicit cast string to InternalName in c++, also optimize for string literals 2015-02-07 16:43:25 +01:00
rdb 78f8f65ef9 Add M_filled_wireframe render mode 2015-02-06 12:15:25 +01:00
rdb eaabc1bfa5 Add ConfigVariableColor 2015-02-05 13:34:52 +01:00