rdb
ef623aa0e2
pview should use clamp wrap mode when loading image as model
2016-02-03 13:37:23 +01:00
rdb
623d81db6b
Support various kinds of BMP headers (incl reading bmp with alpha)
2016-02-03 13:36:38 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
ffac45ce2b
Fix OpenGL ES compilation
2016-01-28 13:54:54 +01:00
rdb
17ad8f254d
Support BC4/BC5 compression, more texture formats, DX10 DDS files, rgba16/32 DDS files
2016-01-28 13:16:53 +01:00
rdb
c855049f24
Fix glstuff compilation error
2016-01-27 17:14:32 +01:00
rdb
0a366e987f
Merge branch 'release/1.9.x'
...
Conflicts:
panda/src/glstuff/glGraphicsStateGuardian_src.cxx
panda/src/putil/bamReader.h
2016-01-26 11:45:04 +01:00
rdb
375baaaabd
Fix constant reloading of texture when using gl-ignore-mipmaps
2016-01-26 11:39:50 +01:00
rdb
d574dd4b0b
Fix texture format selection in FrameBufferProperties
2016-01-26 11:39:19 +01:00
rdb
ea368dd559
Bam reader robustness; allow threaded bam reading from Python
2016-01-26 11:35:04 +01:00
rdb
47de3542f6
Apply tobspr's texture memory calculation fixes to 1.9 branch
2016-01-26 11:15:22 +01:00
tobspr
8d6ad30c07
Fix reported memory usage when using immutable texture storage storage
2016-01-20 19:33:16 +01:00
tobspr
570d630316
Use r11_g11_b10 in the FrameBufferProperties
2016-01-20 18:55:25 +01:00
rdb
bb85b261f8
Expose more properties to Python
...
Rename "from" to "from_solid" to avoid clashing with Python keyword
2016-01-13 21:29:34 +01:00
rdb
6eb460c359
Add ability to cache compiled GLSL shaders, remove unused ShaderUtilization
2016-01-13 19:58:11 +01:00
David Rose
bc58335214
Merge branch 'master' of https://github.com/panda3d/panda3d
2016-01-11 13:27:24 -08:00
David Rose
ea07322b1d
PNMImage::indirect_1d_lookup()
2016-01-11 13:27:18 -08:00
David Rose
059c929b79
store_mask() with a range limit
2016-01-11 13:27:02 -08:00
rdb
ebbdb6fac5
Fix bug reading roughness from .bam material
2016-01-11 19:18:53 +01:00
rdb
becd0aa416
Return diffuse color for get_base_color if neither base color nor metallic have been specified
2016-01-11 18:23:52 +01:00
rdb
41fad59ae8
bam 6.40: support writing NodePaths, allows instanced lights and clip planes
2016-01-11 15:04:06 +01:00
rdb
9b4ce5ec0a
Fix crash when culling compute nodes in state-sorted bin
2016-01-10 21:04:53 +01:00
rdb
22fb9dec65
Add baser/baseg/baseb/basea and ior scalars to egg <Material>
2016-01-09 17:15:41 +01:00
rdb
3393454582
Metalness workflow PBR stuff, support light color temperatures, make light specular color tied to light color by default
2016-01-09 16:08:33 +01:00
tobspr
817a002ac6
Fix texture::estimate_texture_memory
2016-01-04 18:30:44 +01:00
tobspr
a9e18f9d24
Improve Vector implementations: - Remove unecessary assignment operators - Add normalize() method - Use properties for certain swizzle masks - Add constexpr where appropriate
2016-01-03 22:02:00 +01:00
rdb
9e38ba9f9c
Clean up CollisionBox interface a bit; add properties to collide classes
2016-01-03 20:24:45 +01:00
rdb
aa3f3ab51b
Merge remote-tracking branch 'origin/release/1.9.x'
...
Conflicts:
panda/src/glstuff/glShaderContext_src.cxx
2016-01-03 20:11:04 +01:00
rdb
8564dbedce
Backport workaround for NVidia 361.43 driver bug to 1.9
2016-01-03 20:09:24 +01:00
Dennis Brakhane
9cb6903690
workaround for NVidia 361.43 driver bug
...
This driver returns internal/synthetic uniform shaders when
asked for the list of active uniforms. They all start with
"_main_" and have names like "_main_0_gp5fp[0]". We need to
ignore these, otherwise, Panda will later crash with failed
assertions when trying to set this unknown uniform.
2016-01-03 16:44:25 +01:00
rdb
6a2e1a438c
Clamp shininess to 0 to avoid a GL error when negative shininess was entered
2016-01-02 21:48:25 +01:00
rdb
1d098b0099
Add roughness and metallic to p3d_Material struct
2016-01-01 11:36:09 +01:00
rdb
f4f7df9949
Add signed-distance-field text rendering to DynamicTextFont and egg-mkfont
2015-12-31 22:00:37 +01:00
rdb
0ba3bd659e
Add normal/depth information to box-box test to make it work with the pusher
2015-12-31 21:08:11 +01:00
rdb
b1dcd9be46
Merge remote-tracking branch 'origin/release/1.9.x'
2015-12-31 21:03:38 +01:00
rdb
8eab20a6c1
gl-texture-max-lod false should not inhibit the setting of GL_TEXTURE_MAX_LEVEL
2015-12-31 20:43:30 +01:00
rdb
6035a9613d
Fix issues in box-sphere interaction
2015-12-31 20:39:20 +01:00
rdb
86a898b40a
Tack on combining diacritics for static fonts if font doesn't specify modified letters
2015-12-31 12:48:02 +01:00
rdb
bccddaf4e8
TextNode properties, fix setters that return error bool
2015-12-29 18:46:37 +01:00
rdb
ffabf6925c
Add roughness and metallic material parameters for PBR
2015-12-27 23:44:35 +01:00
rdb
9e14c16e1a
Collect supported shader binary formats
2015-12-26 20:07:28 +01:00
rdb
dafe48a6bc
Begin to add snake_case/property interfaces to important direct classes
2015-12-26 17:00:51 +01:00
rdb
46fe58a87a
Merge remote-tracking branch 'origin/release/1.9.x'
...
Conflicts:
panda/src/gobj/geomVertexData.cxx
2015-12-26 15:22:32 +01:00
rdb
86faaae9f8
Add variant of transform_vertices that accepts a SparseArray
2015-12-26 13:54:53 +01:00
rdb
62cdb5cac5
Remove temp-hpr-fix
2015-12-26 13:26:10 +01:00
rdb
f12e2b5f68
Merge branch 'release/1.9.x'
2015-12-25 17:02:56 +01:00
tobspr
7d9b5d61f9
Fix crash when unpacking aligned textures
2015-12-25 17:02:34 +01:00
rdb
2f7c8e8e97
Fix typo in error message
2015-12-25 17:00:40 +01:00
rdb
bad0a7321a
Change by liuzhengcai to fix compile error on 32-bit MSVC 2010
2015-12-24 17:03:40 +01:00
rdb
5406fab702
Merge branch 'release/1.9.x'
2015-12-24 16:18:22 +01:00
rdb
e4857a58bb
Add many more Python properties
2015-12-24 16:17:34 +01:00
rdb
86eef29974
Error instead of crash if no spawn templates are present (with thanks to tobspr)
2015-12-24 16:11:16 +01:00
rdb
db6f0342cc
Add properties with has/clear (interrogatedb v3.1)
2015-12-24 14:25:45 +01:00
rdb
07d2b64d74
Restore missing function from GLGSG
2015-12-23 23:15:09 +01:00
rdb
a0f5465ad4
Add ShaderAttrib::make(shader, priority)
2015-12-22 20:25:41 +01:00
rdb
08c29313b2
Reduce redundant state changes, add gl-fixed-vertex-attrib-locations
2015-12-22 20:22:24 +01:00
rdb
927a5bd48b
More efficiently manage which vertex arrays are enabled/disabled
2015-12-21 21:23:20 +01:00
rdb
88e5cdfd86
More efficient clears for FBO
2015-12-21 17:59:48 +01:00
rdb
dc0f40cadd
Use multibind when binding textures and samplers to a shader
2015-12-21 17:59:28 +01:00
rdb
c093fc0fa4
Eliminate unnecessary glHint and glPointParametefv calls
2015-12-21 17:58:30 +01:00
rdb
5f59f54475
set_render_mode_thickness/perspective no longer overwrites wireframe color
2015-12-19 23:44:23 +01:00
rdb
56194acf87
Fix clock-mode Config.prc setting
2015-12-19 15:34:34 +01:00
rdb
834cc57deb
More properties for classes
2015-12-16 21:41:55 +01:00
rdb
1fe33efda6
Merge branch 'release/1.9.x'
...
Conflicts:
panda/src/glstuff/glGraphicsStateGuardian_src.cxx
2015-12-16 21:10:52 +01:00
rdb
5b1cfd115c
Backport some GL tweaks to 1.9, particularly gl-support-texture-lod
2015-12-16 21:07:07 +01:00
tobspr
81691e3103
Fix crash on invalid tangent in rope node, fix invalid tangents for certain up vectors
2015-12-16 20:52:56 +01:00
rdb
49d69a6b36
OpenGL debug tweaks, allow disabling texture LOD functionality
2015-12-15 12:45:50 +01:00
mfwass
f8837999ed
Cleanup trailing whitespace
2015-12-13 10:08:41 -05:00
rdb
6480e82e3b
First pass adding properties to many Panda classes
2015-12-10 16:23:06 +01:00
rdb
735bdaf924
Merge branch 'release/1.9.x'
...
Conflicts:
panda/src/glstuff/glGraphicsStateGuardian_src.h
2015-12-10 13:58:24 +01:00
rdb
c0f48900e0
More OpenGL compatibility for versions older than 2.0
2015-12-10 13:52:40 +01:00
rdb
6cb93f588b
Merge branch 'release/1.9.x'
...
Conflicts:
dtool/PandaVersion.pp
2015-12-09 22:57:48 +01:00
tobspr
8e772366b1
Fix unitialized memory in nurbsVertex, prevent division by zero in NurbsCurveEvaluator
2015-12-09 22:53:27 +01:00
rdb
c2b44b57c9
Fix crash on very, very, old OpenGL versions
2015-12-09 22:46:25 +01:00
rdb
efe8ec60ee
Fix luminance formats in core-profile-only OpenGL contexts
2015-12-08 19:00:33 +01:00
rdb
66861f137f
Fix Windows compile error: MSVC doesn't like variables named "near" and "far"
2015-12-08 18:55:27 +01:00
rdb
25451feb87
Improve shadow system, add point light shadows, GLSL shadow inputs
2015-12-07 21:12:07 +01:00
rdb
50d2e8324e
Merge branch 'release/1.9.x'
...
Conflicts:
.travis.yml
direct/src/directtools/DirectLights.py
panda/src/nativenet/buffered_datagramconnection.h
2015-12-06 22:32:12 +01:00
rdb
287c44ce53
Various fixes for Python 3 versions before Python 3.3
2015-12-06 22:05:44 +01:00
rdb
1891f56224
Improve box-into-plane and box-into-poly collisions, add interior/surface points
2015-12-06 13:11:38 +01:00
rdb
c97778eeb6
Add box-into-polygon collision test
2015-12-05 16:22:18 +01:00
rdb
fe9e752229
Implement box-into-box collision test, and fix a scaling issue with box-into-plane
2015-12-05 13:14:27 +01:00
rdb
f7b61d4fa4
Add box-into-plane collision test
2015-12-04 00:03:11 +01:00
Sam Edwards
d4eccee359
Merge pull request #64 from xHarv14/master
...
openal: Grab volume from manager instead of assuming max volume.
2015-12-02 18:27:33 -08:00
tobspr
0ec8f1d758
Make instance count override properly
2015-11-30 21:24:17 +01:00
rdb
cb41ff2791
Fix updating of light position input in Cg
2015-11-29 14:28:59 +01:00
Harvir
7fb30ae070
openal: Grab volume from manager instead of assuming max volume.
2015-11-29 01:33:03 +00:00
rdb
75caef56aa
Fix another snprintf issue on MSVC 2010
2015-11-28 18:51:47 +01:00
rdb
061e315e01
Fix error due to missing snprintf in MSVC 2010
2015-11-28 18:39:56 +01:00
tobspr
3cf2b5496b
Add clear_tag_states() to camera
2015-11-28 17:55:07 +01:00
rdb
1b857d6bda
A few interrogate improvements
2015-11-28 17:54:01 +01:00
rdb
eca343c712
Add not-completely-useless output() method to ShaderAttrib
2015-11-28 17:53:35 +01:00
rdb
1628238222
Fix circular reference in shader context preventing shader states from being cleared
2015-11-28 17:52:03 +01:00
rdb
bdf91e206d
Remove references to Python.h and py_config.h from Panda headers, to prevent picking up a dependency on Python libraries in third-party modules
2015-11-28 16:33:44 +01:00
rdb
e5fac610c8
Remove unnecessary HAVE_EGL setting in dtool_config.h
2015-11-28 16:23:18 +01:00
rdb
84c0fbd1b1
Remove deprecated empty-node-path behavior
2015-11-28 16:22:22 +01:00
rdb
48808fe269
Add get_supports_hlsl check, fix shader generator for DirectX 9
2015-11-26 01:05:26 +01:00
rdb
fb317e3b7a
Implement depth textures and shadow mapping in DirectX 9 renderer
...
(at long last)
2015-11-26 01:04:26 +01:00
rdb
a819e9055b
Merge branch 'release/1.9.x'
2015-11-25 23:42:36 +01:00
rdb
2abe2df1b4
Add dummy return values to keep MSVC happy
2015-11-25 02:53:56 +01:00