rdb
dd2806c8bd
Mark constructors 'explicit' for which coercion makes no sense
2017-11-06 19:47:38 +01:00
rdb
6f8b379bda
Big patch full of performance improvements
...
This particularly benefits applications with a lot of nodes.
2017-04-03 01:41:23 +02:00
rdb
edb83fe89a
Various optimizations to reduce performance overhead of rendering
2017-02-21 02:20:06 +01:00
rdb
4a8819b0bd
MeshDrawer fixes and improvements:
...
* Fix random number generator on Windows (LP 1663895)
* Assert instead of crash when passing in non-Camera to begin() (LP 1663900)
* Prevent repeated calls to generator()/set_budget() from leaking GeomNodes (LP 1663903)
* Make the generator more efficient
2017-02-19 22:16:49 +01:00
David Rose
c4d232b0be
publish PfmVizzer destructor to fix leak
2017-01-04 16:56:09 -08:00
rdb
da0d7752c1
Register .webm extension for videos
2016-12-18 00:08:59 +01:00
rdb
8381118a97
Assorted tweaks and compile warning fixes
2016-07-14 12:54:39 +02:00
rdb
7d6b7f40f5
Merge branch 'release/1.9.x'
2016-06-09 21:52:51 +02:00
rdb
a1749b2f07
Don't align transform_blend vertex column to 4 byte boundary
...
Somewhat improves performance of CPU vertex animation
2016-06-09 21:48:57 +02:00
wolfgangp
821e625c4f
Remove obsolete property heightfield_tex
2016-05-03 14:57:25 +02:00
tobspr
dac2bfc7b9
Support for setting a heightfield handle directly on the ShaderTerrainMesh
2016-04-30 09:32:09 +02:00
rdb
369df86096
Fix a compile issue or two
2016-04-29 19:17:47 +02:00
rdb
a2ae62dbda
Introduce ability to write older .bam versions, down to 6.21
...
See https://www.panda3d.org/manual/index.php/Dev:Bam_Format
2016-04-29 16:30:41 +02:00
David Rose
063f9bbc4d
minor compilation issues
2016-04-28 16:14:44 -07:00
wolfgangp
4821b69ec1
Match ShaderTerrainMesh triangulation scheme with Bullet's
2016-04-11 22:01:13 +02:00
tobspr
84f5baaf2c
Add ShaderTerrainMesh sample
2016-02-20 14:05:50 +01:00
tobspr
da29c7eea4
Add new terrain implementation (ShaderTerrainMesh)
2016-02-18 20:51:14 +01:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
e4857a58bb
Add many more Python properties
2015-12-24 16:17:34 +01:00
rdb
08c29313b2
Reduce redundant state changes, add gl-fixed-vertex-attrib-locations
2015-12-22 20:22:24 +01:00
rdb
db3ab953e4
Remove ppremake, genPyCode, and all hacks created to support them
2015-11-09 19:06:49 +01:00
rdb
be652bb112
Merge branch 'release/1.9.x', change default value of geomipterrain-incorrect-normals to false
2015-10-23 16:20:17 +02:00
rdb
da1d5755f9
Add config var to toggle between incorrect/correct normal generation for GeoMipTerrain
2015-10-23 16:18:59 +02:00
rdb
bac400543a
Correct scaling of normals during flatten operations
2015-06-14 23:14:56 +02:00
rdb
c85a92d378
Add assertion to GeoMipTerrain::get_block_node_path
2015-06-13 13:34:19 +02:00
rdb
11350334d0
Add assertion to prevent invalid use of FrameRateMeter
2015-05-02 22:07:03 +02:00
rdb
f8779d7eaf
Warn if GeoMipTerrain is passed a height field with sRGB color space
2015-03-31 22:33:11 +02:00
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
22120524a2
PNMImage sRGB support, use floats instead of doubles
2015-03-15 17:22:28 +01:00
rdb
d345246a93
Fix compilation with STDFLOAT_DOUBLE
2015-03-08 15:55:43 +01:00
rdb
0ad0d4ec33
Further optimizations to the cull pipeline.
...
The only transform still stored in CullableObject is internal transform.
NB: I haven't tested my PipeOcclusionCullTraverser changes. Please contact me if you encounter problems with it.
2015-01-22 16:22:16 +01:00
rdb
c04cd29246
Cull improvements: don't compute bounds when not necessary
2015-01-08 23:16:38 +01:00
rdb
6ce891f748
Finally fix the aspect ratio on the blasted FPS meter
2015-01-07 22:34:43 +01:00
rdb
95d85819b0
Separate out sampler state from texture, support sampler objects, support LOD min/max/bias
2014-12-12 15:58:45 +01:00
David Rose
255027b18d
add optional undist_lut parameter to PfmVizzer::project()
2014-12-04 17:17:57 -08: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
31a71c990d
Fix issues with OS X 10.9 compilation, fix issues uncovered by clang
2014-10-12 18:45:37 +00:00
David Rose
a0fa038ec4
support 32-bit as well as 16-bit AE displacement maps
2014-07-01 17:41:26 +00:00
rdb
2142fbb45b
frame-rate-meter-milliseconds
2014-06-27 15:49:58 +00:00
Chris Brunner
3813ff7dde
Allow for mpeg2 files with the m2v extension
2014-04-30 19:49:57 +00:00
David Rose
dbc6091cf0
add PfmVizzer::set_aux_pfm() and PfmFile::set_no_data_threshold()
2014-03-13 23:16:21 +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
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
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
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
a7b6b71faa
recognise ogv as video extension
2013-05-27 10:07:12 +00:00
David Rose
74621e39b6
stdfloat_double issue
2013-05-04 02:53:10 +00:00
David Rose
1885ccdb97
PfmVizzer::set_keep_beyond_lens(), and some bugfixes
2013-05-02 23:17:00 +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