rdb
52a4278b80
Fix cwiseProduct compile error when building with Eigen
2014-10-29 12:20:22 +00:00
David Rose
5d5150c5aa
componentwise_mult()
2014-10-28 21:46:15 +00:00
David Rose
5dad10cf78
PfmFile::add_sub_image(), mult_sub_image()
2014-10-28 21:45:41 +00:00
David Rose
7bce2d6124
support GL_RGBA16, GL_LUMINANCE16, GL_LUMINANCE_ALPHA16 etc.
2014-10-28 21:44:45 +00:00
David Rose
df33105e30
workaround for some artifacts with missing points in distortion map
2014-10-28 21:43:27 +00:00
rdb
d3947d4b01
Fix scissoring crash. Also prevent crash when GLSL is not supported.
2014-10-27 16:09:33 +00:00
rdb
d7b21c9aeb
Replace assert with more helpful error
2014-10-27 15:18:49 +00:00
rdb
6d6a4398c6
Change max vertices to 65534 to avoid conflict with strip cut index
2014-10-27 13:25:38 +00:00
rdb
241adfe34d
Implement comparison and hashing in NetAddress. Clean up Socket_Address code a bit.
2014-10-27 12:09:56 +00:00
rdb
5c681a0346
public -> private
2014-10-21 21:40:53 +00:00
rdb
0181fae076
This should fix LP bug #954257 ; replace locked BamWriters mechanism with atomic list.
2014-10-21 20:45:30 +00:00
David Rose
a9d1d1ad54
fix build issue, should include look_at.h instead of look_at_src.h
2014-10-21 18:07:27 +00:00
rdb
3ce705519d
Oops, forgot these two files. Part of cfsworks' patch
2014-10-20 11:02:42 +00:00
rdb
a65b477734
Commit patches by cfsworks:
...
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb
783d8552ef
Fix bin2c to generate an include to stddef.h (for size_t definition)
2014-10-19 22:32:30 +00:00
David Rose
9f896821e7
fix scissoring during the DisplayRegion's glClear() operation
2014-10-16 00:57:21 +00:00
rdb
31a71c990d
Fix issues with OS X 10.9 compilation, fix issues uncovered by clang
2014-10-12 18:45:37 +00:00
rdb
ab8ebe6e30
Fix issues with point rendering, both software and hardware.
2014-10-11 01:28:32 +00:00
rdb
902bedc314
Fix Python 3 crash on Windows, and fix some Python 3-related compile errors
2014-10-10 13:45:05 +00:00
rdb
296476f7dd
Fix compile error when compiling with optimize level 4
2014-10-09 14:24:03 +00:00
rdb
7524299de9
Fix regressions with Direct3D support. Add sRGB support to DX9 renderer.
2014-10-08 19:56:28 +00:00
rdb
5f8fffccfe
Add GSG::get_supports_texture_srgb()
2014-10-08 15:13:26 +00:00
rdb
fbc3564bf9
More work on Android port
2014-10-08 15:09:25 +00:00
rdb
32a9e4d9ed
Add support for sRGB framebuffers and blending to tinydisplay renderer.
2014-10-08 11:34:41 +00:00
rdb
4ffb512fae
Fix error in get_region_pixels_i that causes crash in tinydisplay
2014-10-08 11:27:40 +00:00
rdb
0a84dd9ca3
Android fixes
2014-10-06 17:44:58 +00:00
rdb
e7c08ec2fe
Fix some errors with shader object labels
2014-10-03 12:21:59 +00:00
rdb
24386cdc1e
Use a table to make InternalName::make more efficient for Python interned strings
2014-10-02 18:28:06 +00:00
rdb
bce1f2dd5a
Commit patch by Technologicat (closes LP #1214782 )
2014-09-26 15:17:14 +00:00
rdb
a25a9e655e
Support strip cut indices and (using those) support direct rendering of linestrips in OpenGL
2014-09-25 00:16:44 +00:00
rdb
db0fd516a0
Add GPU profiling capabilities to PStats using OpenGL timer queries
2014-09-24 23:53:37 +00:00
rdb
de95ed855d
Support enumeration of different pixel formats in WebcamVideo, support for RGB pixel formats in Video4Linux
2014-09-24 15:33:40 +00:00
rdb
162786ae3b
Forgot to change these cases of _x_size and _y_size
2014-09-21 13:27:08 +00:00
rdb
0e785de0ff
Fix crash in do_issue_scissor
2014-09-20 20:51:40 +00:00
rdb
c178aba639
Add property support to interrogate (using MAKE_PROPERTY or using published members)
2014-09-19 15:23:52 +00:00
rdb
4be5346a1a
Creating a TypeHandle from Python should properly initialize it to TypeHandle::none()
2014-09-17 21:01:49 +00:00
rdb
8b7217b4f9
Add an "off" ScissorAttrib, don't apply scissoring to overlay display region so that a full-window clear is truly a full-window clear
2014-09-16 20:44:39 +00:00
rdb
579f4c7f47
fix compile error
2014-09-16 19:40:43 +00:00
rdb
b24adbcad1
Fix issues resizing OpenGL FBOs. Use LVecBase2i for storing buffer size.
2014-09-16 14:51:13 +00:00
rdb
89b824597c
fix LP bug 1219422: fix ShaderGenerator errors when LightRampAttrib is in use but no diffuse is present
2014-09-16 13:25:18 +00:00
rdb
e5ec2eaf50
Fix bug on Windows when resizing windows in any way other than dragging them
2014-09-15 16:46:28 +00:00
rdb
9184fe71a9
vectors and matrices should be passed by reference. Fixes compile error on 32-bit windows
2014-09-15 14:39:11 +00:00
rdb
3200bb4443
fix compilation error on 32-bit Windows with Eigen
2014-09-14 23:41:36 +00:00
rdb
87910799b6
Split off epvector.h into its own file in an attempt to cut down compilation time
2014-09-14 22:04:36 +00:00
rdb
0e16497401
Expose DynamicTextGlyph::get_page
2014-09-14 10:42:06 +00:00
rdb
3b60afb12b
Make TextGlyph typed
2014-09-14 10:34:01 +00:00
rdb
1286264952
publish textglyph interfaces to make it easier for people to implement their own font rendering algorithm
2014-09-14 10:17:13 +00:00
rdb
340169c80c
Add load_sub_image
2014-09-13 19:49:17 +00:00
rdb
02e95bdba3
PNMTextMaker constructor should take FreetypeFont
2014-09-13 17:21:38 +00:00
rdb
031005d55e
Fixes for webcams on Linux with MJPEG streams that omit Huffman tables
2014-09-08 11:14:40 +00:00
rdb
bb7a6a3ec4
Fix broken convergence distance calculation, adding a configuration variable to restore the old behavior if needed.
2014-08-20 20:24:13 +00:00
rdb
70f73a5ea1
linmath no longer depends on putil
2014-08-20 19:39:13 +00:00
rdb
a7f2f50236
Move string_utils.* to from putil to dtoolutil
2014-08-20 19:33:55 +00:00
rdb
cd79de19b2
Add more parameters for binding images to shaders.
2014-08-19 20:22:57 +00:00
rdb
1055c2e0fd
Use glClearBufferfv to clear MRTs more efficiently (without having to call glDrawBuffers several times)
2014-08-17 16:41:19 +00:00
enn0x
d658ba7254
Bullet: exposing bounds for single shape and all shapes.
2014-08-06 22:35:15 +00:00
enn0x
aaca66cdc1
Exposing BulletShape.getBounds
2014-08-04 22:41:31 +00:00
rdb
3d19752dc0
Add proper comparison operators and get_hash to ButtonHandle
2014-07-29 13:25:43 +00:00
rdb
0dc6c663a1
Add get_children et al to PandaNode
2014-07-29 13:22:26 +00:00
rdb
24d705b031
The "null" ButtonHandle and TypeHandle now evaluate to false
2014-07-29 11:15:12 +00:00
rdb
82e4500d2a
Add p3d_ModelMatrix, p3d_ViewMatrix, and p3d_ViewProjectionMatrix. Fix osg_ViewMatrix and osg_InverseViewMatrix.
2014-07-27 12:10:52 +00:00
rdb
29cfc2b778
Correct CPU mipmap generation for sRGB textures
2014-07-19 16:47:57 +00:00
rdb
875f4d9ddf
Fix GLSL bug on nvidia cards with disabling vertex attribs
2014-07-18 19:24:39 +00:00
rdb
b60fce49b5
Support generating mipmaps for 32-bit float textures
2014-07-18 18:23:29 +00:00
rdb
0ef51b8723
Support for integer vertex attributes in GLSL
2014-07-18 15:39:49 +00:00
rdb
67a289fe4a
Shader generator should use float3 for normals, not float4
2014-07-18 14:34:24 +00:00
rdb
4856804938
Add shininess shader input
2014-07-18 14:21:45 +00:00
rdb
c257ce624e
Interrogate overhaul that dramatically increases performance for the simpler methods
2014-07-18 13:54:38 +00:00
rdb
a76a011105
Fix bugs with Cg shaders
2014-07-18 11:32:31 +00:00
rdb
f805098a03
Let's not name members "_object" since it confuses interrogate when parsing initialiser lists.
2014-07-17 13:12:35 +00:00
rdb
cea09d4b9e
Turn off gl-immutable-texture-storage by default (it seems to cause trouble on NVIDIA cards, which demand a sized internal format be used)
2014-07-15 12:45:38 +00:00
rdb
3983c0de05
Oops, I checked in too much
2014-07-15 11:16:56 +00:00
rdb
efa258ebf3
Memory barriers, immutable texture storage, bindless textures, fixes for multisample FBOs, code cleanup, etc.
2014-07-15 08:46:58 +00:00
rdb
de54dda8c1
Add convenience methods to turn geometry into patches
2014-07-13 17:09:14 +00:00
rdb
ce88a95ddc
dump-generated-shaders should truncate file when writing
2014-07-13 15:00:22 +00:00
rdb
2dd503df00
Improve font crispness dramatically by setting text-minfilter to linear by default
2014-07-08 20:24:00 +00:00
rdb
274659cdc3
Fix compile issue on Mac OS X with GLhandleARB
2014-07-07 23:28:40 +00:00
rdb
dda0d9c15f
check in 32-bit float texture formats
2014-07-07 19:49:25 +00:00
rdb
40c880a1c0
Viewport array support on DisplayRegion. Not 100% sure if I want to end up sticking to this design, but it works. (I may revert this later.)
2014-07-07 19:10:15 +00:00
rdb
e5447a5fcd
Use LVecBase4i to store _pixels in DisplayRegion
2014-07-06 10:26:09 +00:00
rdb
d5a61d3705
Accept integer samplers
2014-07-06 09:42:19 +00:00
rdb
03eddda4a2
Add more integer versions of set_shader_input
2014-07-04 17:34:49 +00:00
rdb
89c5f6f602
Allow using PTA's for float vectors
2014-07-04 14:47:41 +00:00
rdb
667b3a2729
Allow passing ints to set_shader_input
2014-07-04 12:16:35 +00:00
rdb
0b8d9fd08e
Fixes for OpenGL ES
2014-07-03 22:24:34 +00:00
rdb
a3d80ae3eb
Use explicit cast to try and squelch compile error
2014-07-03 22:06:51 +00:00
rdb
66e98f8c70
Allow passing matrices to GLSL shaders either via NodePath or directly as a Mat4
2014-07-03 21:59:22 +00:00
rdb
f8675fcd7b
Allow calling dispatch_compute directly to GraphicsEngine
2014-07-03 21:57:33 +00:00
rdb
44aea55a66
Int shader inputs
2014-07-03 21:56:55 +00:00
rdb
6e64ff951c
Add support for passing int arrays and vectors to GLSL shaders.
2014-07-03 21:54:45 +00:00
rdb
cc35d0dd41
Allow Shader parameter in ShaderAttrib::make
2014-07-03 19:14:36 +00:00
rdb
0e1f261ca5
Add F_r32i texture format (useful for atomic image writes from shaders)
2014-07-03 17:39:53 +00:00
rdb
7a610cc198
Revert accidental checkin of memory barrier
2014-07-03 17:11:17 +00:00
rdb
a16b98a468
Disable error checking by default for a substantial performance increase
2014-07-03 17:10:41 +00:00
David Rose
e7fd70c2bc
fix some build issues on windows/ppremake
2014-07-01 17:42:24 +00:00
David Rose
a0fa038ec4
support 32-bit as well as 16-bit AE displacement maps
2014-07-01 17:41:26 +00:00
David Rose
06b2e69a49
support floating-point tiff files
2014-07-01 17:40:37 +00:00
rdb
a726ccf303
Fixes for image binding
2014-06-29 10:07:38 +00:00
rdb
ce6f243019
Clean up glShaderContext, separate GLSL shader context from Cg shader context
2014-06-29 08:28:16 +00:00
rdb
bddb2f6806
Fixes for apiclip_x (also change some invert operations to make use of inversion cache)
2014-06-28 15:45:29 +00:00
rdb
5d1e507aef
Implement broken apiclip_of_x
2014-06-28 11:37:15 +00:00
rdb
2142fbb45b
frame-rate-meter-milliseconds
2014-06-27 15:49:58 +00:00
rdb
de5031afde
gl-dump-compiled-shaders, pstats collector for compute-dispatch call, a few minor other things
2014-06-26 19:13:52 +00:00
rdb
0a8b35bcea
Add PTA class for integer vectors
2014-06-25 08:37:03 +00:00
rdb
756cc27589
Fix date
2014-06-25 08:36:41 +00:00
rdb
575e3dee85
Remove mesa from pandasymbols
2014-06-25 08:35:52 +00:00
rdb
8beac06328
update_texture should always make sure that there is a texture created, even if there is no image available
2014-06-20 15:04:39 +00:00
rdb
128f82863e
Support OpenGL debugging features (see gl-debug).
...
Also fixed the GLX code not to call reset() on the temp context but on the real context instead.
2014-06-20 13:17:01 +00:00
rdb
ef9f985406
Add ComputeNode to Sources.pp
2014-06-19 23:30:58 +00:00
rdb
633bbbafce
Fix for MSVC compile issue
2014-06-19 21:56:59 +00:00
rdb
c9e00acd4b
Check in cg-glsl-version variable.
2014-06-19 21:39:08 +00:00
rdb
39a321d0ba
Compute shader support under OpenGL :-)
2014-06-19 21:29:35 +00:00
rdb
e8612f6ced
Provide up-to-date wglext.h
2014-06-19 20:37:28 +00:00
rdb
1d5a95fb22
Fix broken include
2014-06-19 19:49:39 +00:00
rdb
1dc15d821f
WGL srgb framebuffer support
2014-06-19 19:37:05 +00:00
rdb
601922e49e
sRGB texture support, add floating-point flags to FrameBufferProperties
2014-06-19 19:32:03 +00:00
rdb
df30721f79
Seamless cube map sampling in OpenGL
2014-06-18 22:29:50 +00:00
rdb
8d3f7d62f4
Remove use of CLP() macro for config variables
2014-06-18 21:45:20 +00:00
rdb
6454ddddc5
Eliminate GLP() macro (so we can write glEnable instead of GLP(Enable) again).
2014-06-18 21:06:05 +00:00
rdb
5a88e20894
Allow creating a buffer under a callback GSG
2014-06-18 21:02:28 +00:00
rdb
c33ef307d6
Delete MesaGL renderer, it seems not to be used any more
2014-06-18 14:59:11 +00:00
rdb
e4747ebf50
Extremely experimental support for GL_ARB_shader_image_load_store
2014-06-15 12:57:58 +00:00
rdb
37f9858e1b
Add p3d_Material in GLSL
2014-06-11 21:54:15 +00:00
rdb
0090ebc465
more backward compatibility for GeomVertexWriter
2014-06-11 18:44:43 +00:00
rdb
5dae464394
Add integer vectors. Also add __pow__ operator to vectors.
2014-06-11 18:01:50 +00:00
rdb
29385dca31
Allow GLSL matrix arrays
2014-06-10 13:35:33 +00:00
rdb
816bedc8ae
Support p3d_ColorScale (thanks wezu) and support 2d texture arrays in GLSL shader inputs (thanks tobspr)
2014-06-10 09:53:54 +00:00
rdb
3753dc5790
Add Carbon to required frameworks (for keyboard mapping detection)
2014-05-29 22:26:55 +00:00
rdb
0f34d7be2c
Fix for depth_component16, 24, 32 in get_external_image_format
2014-05-29 14:11:26 +00:00
rdb
73b72386a0
Remove 'temp hack' preventing the use of multiple GraphicsEngines
2014-05-24 05:14:20 +00:00
rdb
1d43bd0f39
Reset the state and transform before the end_frame callback (needed for Blender integration)
2014-05-22 13:44:36 +00:00
Chris Brunner
3813ff7dde
Allow for mpeg2 files with the m2v extension
2014-04-30 19:49:57 +00:00
enn0x
de4cfbb28b
Fixed bug in BulletManifoldPoint copy assignment operator.
2014-04-27 17:06:00 +00:00
rdb
99a2b963d2
Commit patch by cfsworks to properly copy Lens::CData::_min_fov in copy constructor
2014-04-24 13:01:59 +00:00
rdb
28ba81f82d
Commit patch by cfsworks to properly mark OpenAL sounds as inactive when they are created while the manager is inactive
2014-04-24 13:01:01 +00:00
rdb
e665c2a908
Try using our own version of glext and gl2ext for OpenGL ES
2014-04-22 09:17:23 +00:00
rdb
78ed00ef2b
fix uninitialised _frame pointer (thanks cfsworks for pointing it out)
2014-04-18 15:22:56 +00:00
rdb
caad44773b
Commit patch by cfsworks to fix double-free issue with ffmpeg
2014-04-16 13:49:53 +00:00
rdb
5abc6aa2fc
Oops, fix compile error
2014-04-05 21:47:54 +00:00
rdb
6ddab65511
Fix SubprocessWindow compile error
2014-04-04 23:24:46 +00:00
rdb
566feda34d
Commit patch by cfsworks to move pgraph stuff to extensions
2014-04-04 09:23:58 +00:00
rdb
d792c93026
Overhaul stereo FBOs in Panda making it more reliable, fix MRT bugs, disable auto-GLSL profile choosing on AMD, add max_color_targets (not yet implemented)
2014-04-04 08:45:49 +00:00
rdb
95edd07b25
Fix use of chdir
2014-03-29 13:50:55 +00:00
rdb
fd76cff5f0
Patch by phx to support -C in all cases
2014-03-29 09:32:52 +00:00
rdb
528a607f4a
Add FrameBufferProperties argument to WindowFramework
2014-03-20 22:56:53 +00:00
rdb
32ad6785f2
Missing HAVE_PYTHON
2014-03-18 08:24:52 +00:00
rdb
e02d8706f3
Fix EggGroupNode compilation. _ext.cxx sources should not be added to the standard composite files.
2014-03-17 10:12:26 +00:00
rdb
fd09dc0ab2
Add output() and write() to ButtonMap
2014-03-17 09:58:15 +00:00
rdb
e9ec2cbf78
Implement get_keyboard_map on Mac OS X
2014-03-17 09:41:04 +00:00
David Rose
dbc6091cf0
add PfmVizzer::set_aux_pfm() and PfmFile::set_no_data_threshold()
2014-03-13 23:16:21 +00:00
David Rose
25ee1ce285
fix compilation issue with ppremake
2014-03-13 23:15:19 +00:00
rdb
356012246e
Implement win.get_keyboard_map() on Windows
2014-03-10 12:24:03 +00:00
rdb
d6be70b339
s/text/label/
2014-03-09 18:54:30 +00:00
rdb
88f1cc5347
oops, fix typo
2014-03-09 17:49:03 +00:00
rdb
b1e95feb3b
Add ButtonMap class / window.get_button_map() for querying keyboard layout + X11 implementation thereof
2014-03-09 17:35:31 +00:00
rdb
98ffa974ac
Make string coercible into ButtonHandle
2014-03-09 17:32:59 +00:00
rdb
a0f8208dc3
Add missing PY_VERSION_HEX guard
2014-03-09 11:21:54 +00:00
rdb
1b93b8fbb3
Add methods to efficiently access PfmFile data from Python
2014-03-09 01:05:34 +00:00
rdb
0b99086e8c
Improve key events on Cocoa: add support for the brand new raw key event system, distinguish between left/right modifier keys, fix the lack of down event on help/insert key, fix the lack of up-event while command is pressed
2014-03-08 20:58:03 +00:00
rdb
9367ad586a
Distinguish between lmeta and rmeta key, add menu key
2014-03-08 15:07:42 +00:00
rdb
738b2936e4
safety asserts
2014-03-08 14:30:34 +00:00
rdb
d8201030d4
Try cast to keep paranoid compiler happy
2014-03-08 12:17:57 +00:00
rdb
8c12dd1f84
Compile fixes for GLES 2
2014-03-08 12:03:57 +00:00
rdb
4255c939d3
fix compile errors with older bullet versions
2014-03-07 22:27:11 +00:00
rdb
20c1f16291
Set default text-pixels-per-unit from 30 to 40 to improve default font quality
2014-03-07 22:09:29 +00:00
rdb
31b79dc554
Add raw keyboard event support on Windows
2014-03-07 19:45:02 +00:00
rdb
a81e192ba5
Fix a compile warning on Windows
2014-03-07 19:43:48 +00:00
rdb
93ed8b275e
Fix build for GLES
2014-03-07 19:14:45 +00:00
rdb
85a5be984f
Raw button event support, with X11 implementation (untransformed QWERTY)
2014-03-07 12:52:15 +00:00
enn0x
455a504cec
Fixes to Bullet soft body transform handling.
2014-03-05 23:15:53 +00:00
rdb
82eb82d026
Restructure code slightly to reduce code duplication, fix GLES compile errors
2014-03-05 15:23:12 +00:00
rdb
33f4aa520d
Normal maps should affect aux normal even without lighting
2014-03-04 08:29:32 +00:00
enn0x
ae820a30bc
Cleaning up BulletContact (API changes only in C++)
2014-02-27 20:57:23 +00:00
rdb
52f1abeeae
Remove French accent encoded in who-knows-what
2014-02-25 07:52:32 +00:00
rdb
c15ce9885f
Expose HierarchyMatchFlags to Python
2014-02-24 15:22:20 +00:00
enn0x
3ac369a3b0
Fix for bug #1282477
2014-02-23 09:49:12 +00:00
rdb
a58ddb3cfa
Add missing EXPCL_PANDAPHYSICS
2014-02-20 23:10:59 +00:00
rdb
607bdac3dc
Add missing EXPCL_PANDAPHYSX symbols
2014-02-20 22:53:16 +00:00
rdb
3b1e193abb
extension functions for ODE classes
2014-02-20 21:56:34 +00:00
rdb
dd6cfe5fa9
Export EggParameters
2014-02-20 21:50:00 +00:00
enn0x
e2c6e3fb56
Fix bug #1282466
2014-02-20 20:53:01 +00:00
rdb
7e455e0fad
Add files that belonged to the previous commit
2014-02-20 13:58:23 +00:00
rdb
5f2c0a6e04
Big commit aiding in separation of Python bindings:
...
* Most extension functions have been moved to C++.
* In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
2014-02-20 13:33:26 +00:00
rdb
2ae458c2df
Fix a bug with tangents and binormals
2014-02-20 12:37:08 +00:00
rdb
bf4221da1e
Fix crashes and borks with the Ogg Vorbis loader
2014-02-18 19:03:47 +00:00
enn0x
259d2df0c4
Added utility function BulletWorld::test_filter
2014-02-16 21:58:40 +00:00
rdb
04bbf28a71
Oops, forgot to check in header file as well.
2014-02-16 10:22:11 +00:00
rdb
edab64c570
fix Cg error reporting and lack of shader unbinding
2014-02-15 21:34:57 +00:00
rdb
bfebff1d0a
don't compare modes an unnecessary second time.
2014-02-15 16:14:21 +00:00
enn0x
1a96ab9aa9
Added filtering for BulletWorld.contactTest
2014-02-14 23:31:07 +00:00
rdb
4da840805f
Add support for k_time / osg_FrameTime inputs, and change the Shader Generator not to require a separate texcoord set for every texture in an effort to cut down on register overuse.
2014-02-10 11:32:06 +00:00
rdb
89749133ff
oops, remove vorbis-enable-vfs which I never implemented
2014-02-10 11:25:39 +00:00
rdb
ddcd74047b
more error checks and allow disabling seeking and VFS behaviour
2014-02-10 11:24:36 +00:00
rdb
67d12cdd4a
add InternalName::join(sep)
2014-02-10 09:51:21 +00:00
rdb
94962c15d2
addTexture -> add_texture
2014-02-10 09:50:37 +00:00
rdb
de7ec424c7
Add get_tangent_name and get_binormal_name
2014-02-09 16:45:08 +00:00
rdb
b8935be2c3
fix bug LP#1277916: MeshDrawer causes crash if setBudget not explicitly called
2014-02-09 10:41:26 +00:00
David Rose
edd731b232
copy_channel_masked()
2014-01-29 17:30:40 +00:00
rdb
618781e7cc
there's no reason to interrogate the ffmpeg code.
2014-01-17 22:09:53 +00:00
rdb
849dc05a60
Fix blunder
2014-01-13 22:06:47 +00:00
rdb
56577ec08a
Don't rely on color fregs, they have unintended side-effects. Also, don't use up unnecessary registers when texgen is enabled.
2014-01-13 21:31:42 +00:00
rdb
b781547956
a tiny optimisation to use less registers
2014-01-11 15:06:22 +00:00
rdb
faa78c734e
Add HAVE_PYTHON guards
2014-01-06 21:11:23 +00:00
rdb
eeb2c4211f
Fix compilation of raw mouse support in Linux
2013-12-25 13:59:08 +00:00
rdb
ea22e87f79
remove GLX_EXT_import_context section entirely as we're not using it, and it uses GLXContextID which seems to give trouble related to conflicting definitions.
2013-12-23 22:08:33 +00:00
rdb
4e92e480e0
Make DatagramIterator typed (ask me if you want to know why)
2013-12-23 20:46:20 +00:00
rdb
dd345d6c02
Add missing include
2013-12-16 21:03:22 +00:00
rdb
e9ce924b54
Add missing include
2013-12-16 20:49:02 +00:00
David Rose
f615e0beeb
fix some stereo-fbo and cube map issues, introducing DisplayRegion::set_target_tex_page()
2013-12-06 23:45:40 +00:00
David Rose
741203a693
some minor debug aids and robustness additions
2013-12-06 20:53:40 +00:00
enn0x
47a66f0e54
Added method for getting Bullet version.
2013-12-03 21:28:57 +00:00
enn0x
bfac6fa6be
Added part info to Bullet raycast results.
2013-12-03 19:18:20 +00:00
enn0x
cc79e24c6c
Implemented tick callback for BulletWorld.
2013-11-30 13:25:08 +00:00
rdb
56334e73e8
try fix segfault (sorry!)
2013-11-22 10:53:19 +00:00
rdb
126573775a
fix LP bug 1133771, RenderState.compare_to does not work with state-cache or uniquify-attribs disabled
2013-11-19 21:34:55 +00:00
rdb
ea126d3175
missed a few PY_VERSION_HEX checks for buffer interface support
2013-10-29 17:42:58 +00:00
rdb
4a91704958
add copy_data_from version that takes a Python buffer object
2013-10-29 12:14:47 +00:00
rdb
2fdf53efb8
Add a version of offset_vertices that takes a range
2013-10-29 11:29:39 +00:00
rdb
87aa66f09c
Py_buffer is not available in Python versions before 2.6
2013-10-29 10:36:16 +00:00
rdb
6296ed0a4e
fixed issue that caused compiler warning
2013-10-27 17:28:47 +00:00
rdb
d899d8e6ed
update libRocket file interface
2013-10-23 16:45:27 +00:00
rdb
bf270fadc1
only load default font if it's the ttf one, not the bam one
2013-10-23 16:38:48 +00:00
rdb
8383427022
patch by Josh Enes (bug 1074173)
2013-10-22 12:32:15 +00:00
rdb
829e79cf29
Load the default font (Perspective Sans) by default
2013-10-19 11:13:32 +00:00
rdb
0c83cc5530
crisp text in librocket (use nearest filtering instead of linear)
2013-10-19 08:44:59 +00:00
rdb
5463752f8e
64-bit windows
2013-10-07 16:51:46 +00:00
David Rose
8076fedd64
fix incorrect depth computation for OSphereLens
2013-09-27 22:20:44 +00:00
rdb
2dd56f9007
fix bug
2013-09-25 23:06:53 +00:00
David Rose
fee446f949
add Texture::ensure_loader_type() to fix problem with reloading video textures from the model-cache directory.
2013-09-24 19:19:02 +00:00
rdb
fccd9965ee
support for using the mat3 type in a shader. make p3d_NormalMatrix a mat3.
2013-09-19 22:44:38 +00:00
rdb
30ef435607
Fix p3d_ModelViewMatrix and p3d_ProjectionMatrix and variants. Also add p3d_NormalMatrix.
2013-09-19 19:49:03 +00:00
rdb
3eefecbd0f
Compile fix
2013-09-18 23:25:04 +00:00
rdb
2ac66761b1
fix
2013-09-18 19:11:51 +00:00
rdb
c7784d2d93
fix
2013-09-18 18:25:04 +00:00
rdb
f867ea701d
sorry for the newlines
2013-09-18 15:52:36 +00:00
rdb
64c598abb1
various fixes for FBOs and image formats, including tobspr's patch for F_r16, F_rg16, F_rgb16 support.
2013-09-17 22:08:31 +00:00
Chris Brunner
3d74098257
un mac-ify the text
2013-09-17 18:49:18 +00:00
rdb
cc3bae7e76
Big interrogate cleanup, new extension system, add __iter__ support, add buffer protocol support
2013-09-17 10:11:43 +00:00
rdb
5aa773b41a
remove fmod speaker modes that aren't supported across versions
2013-09-16 10:18:26 +00:00
rdb
21def6e5cc
fix ffmpeg compile issues?
2013-09-16 08:45:57 +00:00
rdb
48baa5c58e
ffmpeg compatibility fixes
2013-09-16 07:21:06 +00:00
rdb
e0ae9b1bc7
fix error when compiling without libswresample
2013-09-16 07:05:41 +00:00
enn0x
323d6b8a82
Bullet, fix for 64bit issue with btSoftBodyWorldInfo
2013-09-10 21:23:12 +00:00
rdb
aa826304d7
Add missing include
2013-09-03 13:18:23 +00:00
rdb
87074cc505
append LL to integer constant to appease OS X compiler
2013-09-03 09:53:19 +00:00
rdb
324aacfbaa
fix compile error with gcc
2013-09-01 12:40:56 +00:00
rdb
8992801b24
Don't use 'interface' as variable name, it conflicts with a built-in declaration in gcc
2013-09-01 07:15:57 +00:00
enn0x
b6cd74f708
Bugfix for BulletbodyNode::add_shape (identity transform)
2013-08-30 18:28:20 +00:00
rdb
055919f936
whoops
2013-08-29 17:05:29 +00:00
Chris Brunner
c6a66643e9
fix Windows compile error
2013-08-29 16:37:16 +00:00
rdb
e5c4c10e20
fix Linux compile error
2013-08-29 13:12:36 +00:00
David Rose
930848539c
fix a NaN issue in forward_distort()
2013-08-27 23:57:21 +00:00
rdb
1b129d905d
lod config vars should be defined in pgraphnodes, not pgraph
2013-08-27 21:37:10 +00:00
David Rose
a16238932a
looks like we had a long-term confusion for LFLAGS as a set of linker flags and as a set of flex flags. Renamed LFLAGS to FLEXFLAGS for flex input.
2013-08-26 22:44:22 +00:00
rdb
fe784c04f6
fix for seeking in .wav files
2013-08-26 21:22:00 +00:00
rdb
7553c9d01a
protect against static init issues
2013-08-26 20:16:08 +00:00
rdb
2510631e5b
winmm.lib is needed for MicrophoneAudio
2013-08-26 18:39:13 +00:00
rdb
7346306437
Remove dependency on ATL, and add the fugliest, most horrible hack to keep using the interfaces from the defunct qedit.h header.
2013-08-26 14:33:01 +00:00
rdb
bca09667a6
Split vrpn out of panda into a libp3vrpn. Split ffmpeg out of movies into libp3ffmpeg. Add registry for MovieVideo and MovieAudio. Add a libvorbisfile-based Ogg Vorbis loader. Add a native .wav loader.
2013-08-26 12:16:27 +00:00
rdb
0821026944
Add version of TrackerNode that takes a ClientTrackerDevice directly
2013-08-26 12:14:21 +00:00
rdb
aa4cc5c531
Support latest version of FMOD Ex (removes reverb filter in favor of sfxreverb)
2013-08-26 09:59:28 +00:00
rdb
eaab45dc9a
Support for stereo FBOs
2013-08-25 19:52:31 +00:00
rdb
fd3fb16ec1
Add some OSG shader inputs for GLSL
2013-08-25 19:50:08 +00:00
rdb
451f6faf37
remove now-nonexistent -i flag to linker
2013-08-25 18:43:41 +00:00
rdb
2d66cdc3ba
compile fixes
2013-08-25 17:12:00 +00:00
rdb
d6a6499a7a
fix errors
2013-08-25 07:32:52 +00:00
rdb
a585faa807
Add UvScrollNode::_w_speed
2013-08-24 19:29:13 +00:00
David Rose
93afeb40f2
By interrogate conventions, char * means a string, while unsigned char * means a data buffer.
2013-08-23 22:26:17 +00:00
David Rose
b41e04dc60
useful debug
2013-08-23 21:36:51 +00:00
rdb
266890c86a
Add version of extract_bytes that extracts into character buffer
2013-08-23 15:03:01 +00:00
rdb
03e96d8c4a
Uff, this should bring Panda up to date with the latest version of ffmpeg. We now use AVIOContext instead of URLProtocol, avcodec_decode_audio4 instead of 3, and add support for libswresample to resample the input data to 16-bits signed int since some codecs now give float data. If this breaks anyone's build, please, just consider updating your ffmpeg version.
2013-08-22 18:20:10 +00:00
rdb
ef9e2def2e
A bit more work toward trying to get a framebuffer without color attachment
2013-08-15 09:06:58 +00:00
enn0x
a343eef6b1
Adding minkowski sum shape.
2013-08-14 23:31:42 +00:00
rdb
e3301b8896
make_texture_buffer should request color and alpha bits by default (alpha bits for backward compatibility)
2013-08-14 23:13:29 +00:00
rdb
3f56259c7f
try to fix some FBO bugs on Intel HD Graphics
2013-08-14 22:51:54 +00:00
rdb
6113979792
merge from panda3d_1_8_branch: work around conflicting declarations of glShaderSource
2013-08-13 20:35:07 +00:00
rdb
2274f2e651
FBO overhaul: support layered framebuffers (RTM_bind_layered), support render-to-2d-array, better respect FrameBufferProperties, more simple handling of RTP_depth_stencil
2013-08-13 12:44:27 +00:00
rdb
a6eeaf42b5
set_size_padded should not pad z for cube maps and 2d texture arrays
2013-08-12 14:29:40 +00:00
rdb
4690cb4bbf
include coverage-samples in FrameBufferProperties
2013-08-12 14:28:04 +00:00
rdb
d489f68115
Add support for 2D texture arrays to ShaderGenerator and BufferViewer (actual render-to-texture-array functionality to come)
2013-08-12 09:18:24 +00:00
David Rose
b4a09e4296
I think the default cache size should be 10GB intead of 1GB nowadays.
2013-08-01 16:48:14 +00:00
David Rose
c63fe6f56d
osx build error
2013-08-01 06:43:02 +00:00
David Rose
dba661253a
Fix handling of large (>2GB) files on Windows. Egad, off_t is 32 bits on Windows, even in 64-bit Windows. Ridiculous.
2013-08-01 00:10:20 +00:00
rdb
9901dee2c2
support ADD_SIGNED combine mode in shader generator
2013-07-29 09:12:03 +00:00
rdb
230b65c58a
fix cg shader arrays
2013-07-28 23:18:08 +00:00
rdb
f23f2a0ea7
Add gl-separate-specular-color, enabled by default
2013-07-28 22:01:36 +00:00
rdb
ccf4863ca1
prepare_scene() should also prepare shaders
2013-07-28 22:00:38 +00:00
enn0x
64851b9557
Added missing NULL-check in BulletsoftBodyNode::attach_angular_joint.
2013-07-06 00:27:04 +00:00
rdb
6bb87ca9c5
Avoid creating an unnecessary intermediate node when loading .egg models (see forum thread 16039)
2013-06-27 13:09:32 +00:00
rdb
872362bd3e
fix bind call in more recent msvc versions
2013-06-26 15:32:20 +00:00
enn0x
0ee060aefd
Added missing methods for modifying Bullet constraint frames.
2013-06-16 06:43:38 +00:00
David Rose
ac3f5e924c
two-parameter radius in pull_spot()
2013-06-06 21:14:12 +00:00
David Rose
c277d802a0
pull_spot()
2013-06-06 02:05:35 +00:00
enn0x
3830ef2f85
Bullet: getTotalForce/Torque exposed
2013-05-31 15:13:19 +00:00
David Rose
297864e834
resolve pixel-offset issues with gaussian and box filters
2013-05-30 20:32:18 +00:00
David Rose
c7daa00c5b
fix off-by-one on gaussian_filter and box_filter
2013-05-29 00:22:38 +00:00
David Rose
842f4d82a0
pfm-resize-quick, and let pfm-resize-gaussian default to false
2013-05-28 23:49:19 +00:00
rdb
8019297cea
Make "Loading <model>" a framework_cat message
2013-05-28 18:39:28 +00:00
rdb
a7b6b71faa
recognise ogv as video extension
2013-05-27 10:07:12 +00:00
Chris Brunner
261a53ba06
no message
2013-05-22 23:27:30 +00:00
enn0x
ca103005a5
Added method to enforce calling the transform_changed hook on bullet nodes.
2013-05-22 21:37:29 +00:00
David Rose
48c2ea92c5
Support GeomVertexFormat::remove_column(name, keep_empty_array = false)
2013-05-22 20:46:24 +00:00
rdb
412c79f147
fix erroneous INLINE modifier
2013-05-22 15:32:24 +00:00
rdb
3b33710fbf
Fix BulletSoftBodyControl compilation
2013-05-22 15:08:23 +00:00
rdb
11403d7826
Fix regression from 1.18 that broke separate shader programs
2013-05-22 13:47:37 +00:00
enn0x
3a3b35e7c5
Support for driving Bullet soft body joints, and rolling friction (Bullet 2.81 only).
2013-05-22 09:51:34 +00:00
rdb
a978682ed2
more compilation fixes for recent gcc
2013-05-22 09:10:22 +00:00
David Rose
ef6e88c8be
protect against old cg version
2013-05-20 18:24:35 +00:00
rdb
4a8970a87d
fix for newer gcc versions
2013-05-19 19:06:02 +00:00
rdb
8a6db3f2ee
fix missing method definitions
2013-05-18 09:44:16 +00:00
rdb
da09882f67
fix for cg profile limitation on non-nvidia cards
2013-05-17 21:26:47 +00:00
enn0x
a2a0b485ac
Bullet: experimental support for linear/angular soft body joints
2013-05-16 21:23:34 +00:00
David Rose
7e645bdca6
officially support 2-channel PfmFile; load pfm into RGB, not BGR for texture loads
2013-05-10 17:28:34 +00:00
enn0x
20d60f2126
Removing obsolete bullet-full-sync option.
2013-05-06 12:37:54 +00:00
enn0x
ae4b5c0f33
A little bit inline documentation, for local scaling of Bullet shapes.
2013-05-06 12:19:10 +00:00
enn0x
ba56763212
Another fix for local scaling in Bullet shapes.
2013-05-06 00:39:30 +00:00
David Rose
e0d23cd027
assertion error
2013-05-04 14:16:38 +00:00
David Rose
96b048519e
stdfloat_double issue
2013-05-04 03:02:06 +00:00
David Rose
74621e39b6
stdfloat_double issue
2013-05-04 02:53:10 +00:00
David Rose
0d7b4c1b26
whoops, missed a commit
2013-05-04 00:02:06 +00:00
David Rose
a38de91fbd
PfmFile::set_no_data_nan() and related methods
2013-05-03 18:05:05 +00:00
David Rose
1885ccdb97
PfmVizzer::set_keep_beyond_lens(), and some bugfixes
2013-05-02 23:17:00 +00:00
enn0x
468ddb3528
Fix which allows setting scale on a Bullet rigid body before any shape is added.
2013-05-01 21:15:43 +00:00
enn0x
4a8e14bfbd
Fix for repeatedly scaling shapes.
2013-05-01 21:00:47 +00:00
enn0x
5249e8ba4b
Tiny cleanup with Bullet/SceneGraph sync.
2013-05-01 20:28:23 +00:00
enn0x
0f22583ba5
Fixed buggy scaling for multi-shape bodies.
2013-05-01 20:18:23 +00:00
rdb
61a95917a8
fix copy&paste error
2013-04-30 19:18:30 +00:00
rdb
45a71c280f
Add get_cvs and get_knots
2013-04-25 17:44:03 +00:00
David Rose
5d2b7bc5ea
fix some minor bugs in PfmFile::resize(), add config variable quality controls
2013-04-20 00:43:24 +00:00
David Rose
cbb55d02e6
minor fix to PfmVizzer::project()
2013-04-19 21:09:30 +00:00
David Rose
335c80f8ac
fix bug in GeomVertexData::unclean_set_format()
2013-04-18 23:45:10 +00:00
David Rose
0e41e68d31
fix PfmFile::reverse_distort()
2013-04-15 23:35:13 +00:00
enn0x
1a81d09078
Added missing export defs for some Bullet classes.
2013-04-13 07:07:39 +00:00
David Rose
56afff435c
small pfm fixes
2013-04-12 01:10:39 +00:00
David Rose
a99e543f05
wip: PfmFile::calc_bilinear_point()
2013-04-11 17:24:32 +00:00
David Rose
a515048908
add undist_lut to ProjectionScreen, PfmVizzer
2013-04-11 14:41:46 +00:00
David Rose
abf29fa3fe
fix static text in y-up (or other non-default) coordinate system
2013-04-10 21:33:01 +00:00
David Rose
d3a295623e
Lens::set_custom_film_mat()
2013-04-09 01:38:22 +00:00
enn0x
830fbcde1f
Fixed copy&past error in Bullet spherical constraint (detected by consultit).
2013-04-07 12:14:46 +00:00
rdb
1d25aefd0b
Slight performance enhancement under OpenGL ES 2
2013-04-06 23:11:45 +00:00
David Rose
4f50f8de90
PfmVizzer::make_vis_mesh_geom() should not try to add points behind the lens
2013-04-06 01:12:31 +00:00
enn0x
0a09dad23a
Alternate CTOR for BulletHingeConstraint
2013-04-04 20:30:10 +00:00
rdb
ab709b528b
fix GL_BGRA error
2013-03-28 23:24:11 +00:00
rdb
fbc37338e4
fix compilation issues
2013-03-28 22:58:41 +00:00
enn0x
0dd50f1d5a
Add warning for unsupported collision solid 'box' when saving to egg file (same as for 'sphere' etc.)
2013-03-28 22:05:14 +00:00
enn0x
a6bdde5f26
Load CollisionBox from egg files
2013-03-28 21:04:03 +00:00
rdb
c4c97c3571
fix GL_BGRA error on gles 2
2013-03-28 15:41:25 +00:00
David Rose
a27908a7e8
restore implicit coercion of Python objects into CPTA
2013-03-27 19:40:47 +00:00
David Rose
e36dee223a
minor debug aids
2013-03-27 16:51:09 +00:00
rdb
40cddd6280
Fixes for Python 3.2
2013-03-27 15:48:24 +00:00