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
David Rose
cbb55d02e6
minor fix to PfmVizzer::project()
2013-04-19 21:09:30 +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
4f50f8de90
PfmVizzer::make_vis_mesh_geom() should not try to add points behind the lens
2013-04-06 01:12:31 +00:00
David Rose
d52335621b
More pfm enhancements
2013-03-06 02:41:40 +00:00
David Rose
93bd44e85e
fix confusion with depth range of Lens::project()
2013-01-11 02:26:36 +00:00
David Rose
eefb99cbc5
define Lens::extrude_depth() to reverse Lens::project(), and use this in PfmVizzer
2013-01-10 02:01:39 +00:00
David Rose
6f248198e7
clip to bounds in make_displacement()
2012-11-20 19:36:08 +00:00
David Rose
1733b1abd9
ae-undershift-factor
2012-11-20 00:32:43 +00:00
David Rose
85014ba179
fix some off-by-one errors
2012-11-19 23:06:41 +00:00
David Rose
7299a150c3
raise precision of 16-bit image processing
2012-11-02 01:14:51 +00:00
David Rose
94bf21b65c
make_displacement()
2012-11-01 20:23:15 +00:00
David Rose
8e3e89b5b3
fix build circularity issue
2012-10-01 00:40:56 +00:00
David Rose
0f1098c1ae
move PfmFile to pnmimage
2012-08-11 14:28:56 +00:00
David Rose
5a9cb3f934
revert fiddly change: bad idea.
2012-08-10 18:08:31 +00:00
David Rose
908feb7631
fiddly change to pixel offsets
2012-08-09 23:32:19 +00:00
David Rose
9ae0dd8cca
correct matrix for 3-d uvs
2012-08-09 05:27:59 +00:00
David Rose
3ce560b4a9
more pfm refinements
2012-07-26 22:22:59 +00:00
David Rose
e2066b62ff
wip: add_vis_column()
2012-07-26 02:23:26 +00:00
David Rose
d459a084b4
more pfm fixes
2012-07-24 20:50:36 +00:00
David Rose
7fd2a81412
resolve some float-double confusion
2012-07-24 13:09:22 +00:00
David Rose
5eef6cd37e
fix some stdfloat_double issues with pfmfile
2012-07-23 04:34:40 +00:00
David Rose
8cc85e4024
support for 4-channel pfm files
2012-07-23 02:10:21 +00:00