21613 Commits

Author SHA1 Message Date
Mitchell Stokes
aba26bd862 Merge branch 'master' into deploy-ng 2017-11-25 14:55:47 -08:00
Mitchell Stokes
6fc26922de deploy-ng: Use callbacks for build_scripts 2017-11-24 20:24:10 -08:00
rdb
dac08490ee deploy-ng: implement getting executable path on Linux and macOS 2017-11-24 23:43:15 +01:00
rdb
409b241b40 Fix compile errors 2017-11-24 22:38:51 +01:00
rdb
d755de849c deploy-ng: new extensible blob format with PRC configurability 2017-11-24 21:48:18 +01:00
rdb
a7e00d0ee6 makewheel: use platform from build 2017-11-24 17:48:25 +01:00
rdb
e03c249cc5 makepanda: write target platform to file, rebuild if platform changes 2017-11-24 17:47:51 +01:00
Mitchell Stokes
883c6555ec deploy-ng: Add prints for progress in build_apps
Also, print out the platform when we fail to get a panda3d wheel.
2017-11-23 12:53:56 -08:00
Mitchell Stokes
6acbeb8176 deploy-ng: Fix error when running bdist_apps 2017-11-23 12:53:36 -08:00
Mitchell Stokes
e827120e46 deploy-ng: Do not warn about missing manylinux1 system libraries 2017-11-22 18:46:51 -08:00
Mitchell Stokes
ffdac54a0b deploy-ng: Switch copy_paths to include_paths and rename_paths 2017-11-22 18:44:07 -08:00
rdb
bec9ff8a40 loader: fix UB in try_load_file when loading file without known type 2017-11-23 01:15:44 +01:00
Mitchell Stokes
214b67c3c0 deploy-ng: Convert .egg to .egg.bam instead of .bam 2017-11-22 15:39:34 -08:00
Mitchell Stokes
949214834c deploy-ng: Fix error when build directory is missing 2017-11-22 14:02:30 -08:00
Mitchell Stokes
a8d1e9444b deploy-ng: Fix build_apps user options 2017-11-22 13:15:40 -08:00
rdb
39dba025b7 deploy-ng: fix library suffix being stripped on FreeBSD 2017-11-22 21:42:17 +01:00
rdb
82ced9900e deploy-ng: allow using setup.cfg instead of setup.py 2017-11-22 20:57:03 +01:00
rdb
80b6021d22 deploy-ng: don't warn about missing Windows system libraries 2017-11-22 20:05:50 +01:00
rdb
da2ad0f0bc deploy-ng: default to ACP if console codepage codec wasn't frozen
This is necessary because when Python is initialized, it takes the codec to use from GetConsoleCP() and GetConsoleOutputCP() without bothering to check whether the given codec is available.  However, in most cases, the console codepage will be the same as the ANSI codepage (ie. GetACP()) which is always supported by Python via the 'mbcs' codec.

So what we do is we check whether the console codepage is frozen in, and if not, we set the console codepage to the ANSI codepage and set the stdin/stdout/stderr encoding to 'mbcs'.

This is still not a perfect solution because the ACP may not be able to encode all characters that the application is printing, which would still result in unexpected errors.  Ideally, we'd pull in Python 3.6's _io._WindowsConsoleIO class, which bypasses this whole mess by directly using the wide-character Windows APIs to write to the console.
2017-11-22 19:33:17 +01:00
rdb
6ec4e5db68 deploy-ng: fix typo in copyfile call 2017-11-22 19:28:08 +01:00
rdb
37572b312c loader: try appending .bam to filename if loading doesn't find model 2017-11-22 19:27:14 +01:00
Mitchell Stokes
a2fd511db8 deploy-ng: Make use of distutils.core.Command.announce() instead of print() for verbosity levels 2017-11-21 19:02:27 -08:00
Mitchell Stokes
56ebf981df deploy-ng: Add user_options and finalize_options to build_apps 2017-11-21 18:48:42 -08:00
Mitchell Stokes
44a4d18a8e deploy-ng: Add descriptions to build_apps and bdist_apps setuptools commands 2017-11-21 18:37:17 -08:00
Mitchell Stokes
54dad81646 deploy-ng: Add RPATH to search_path when parsing ELF files 2017-11-21 14:57:15 -08:00
Mitchell Stokes
3995ea4c3b deploy-ng: Fix skipping ignored directories 2017-11-21 11:07:39 -08:00
Mitchell Stokes
37b9e256d8 deploy-ng: Raise a RuntimeError if pip is not version 9.0 or greater
This is when pip download was introduced and is required for deploy-ng.
2017-11-21 09:52:26 -08:00
Younguk Kim
a26662ce46 Fix compile error by missing header file 2017-11-02 18:04:36 +09:00
rdb
075cb14cbb bullet: implement debug draw via cull callback for efficiency
Now the debug drawing will no longer happen if the debug node is not being visited by the cull pass, ie. in another scene graph.  Furthermore, the generation code has been optimized a bit more.

This change means it no longer inherits from GeomNode.  Future improvements could include better culling (which is currently disabled entirely).

Closes: #130
2017-11-01 21:55:54 +01:00
rdb
490dbe7b2a readme: fix link to issue tracker 2017-11-01 21:32:48 +01:00
rdb
745b51f10f ShaderGenerator: fix M_blend to match fixed-function pipeline
See panda3d/panda3d#178
2017-11-01 20:20:38 +01:00
rdb
73d13a8f5c Merge remote-tracking branch 'origin/release/1.9.x' 2017-10-31 20:20:49 +01:00
rdb
c17db98aec Merge branch 'pr-pview-adjust-camera-clip' of git://github.com/eswartz/panda3d 2017-10-31 20:15:38 +01:00
Ed Swartz
34731cd2f4 rocket: Add sample showing some Panda3D uses of libRocket. (#24) 2017-10-31 19:43:28 +01:00
rdb
4cd826e63a Merge branch 'fix-audio-distance-factor' of github.com:nikolmiv/panda3d
Closes: #13
2017-10-31 19:31:27 +01:00
frainfreeze
f22c0cdd83 Add README.md files for various directories
Closes: #10
2017-10-31 19:20:24 +01:00
rdb
0c0f9adab9 Support coroutines and async/await in the task manager and loader 2017-10-31 18:56:41 +01:00
rdb
fba41dafae Merge remote-tracking branch 'origin/master' into deploy-ng 2017-10-26 21:23:49 +02:00
rdb
a7d68a8412 egg2bam: fix external refs not being resolved relative to egg file 2017-10-26 17:36:43 +02:00
rdb
51090ccf12 pgraph: fix LightLensNode assert due to bad refcount in LightAttrib::compose 2017-10-20 20:12:25 +02:00
rdb
407c8e8712 bullet: add interface to access BulletTriangleMesh vertices/triangles 2017-10-20 19:53:02 +02:00
rdb
8a35f360bd Fix build error 2017-10-18 12:29:44 +02:00
rdb
7d721a33a6 Restore setShaderInput overload taking 4 numbers, but deprecate it 2017-10-18 11:26:20 +02:00
rdb
410049fd4b Improvements for ShaderGenerator-based programs:
* Disable state munger, which isn't needed
 * Reflect updates to TextureStage properties (Fixes #178)
 * Also respect combine mode and rgb scale changes
 * Allow rehashing and clearing generated shader cache

State munger is now disabled whenever any shader is applied.  Panda assumes that any custom shader will apply color scale by itself.
2017-10-18 11:16:29 +02:00
rdb
6ecfcb1fd3 Store munged states more efficiently, without weak key maps 2017-10-17 23:21:38 +02:00
rdb
8078fa2b38 More efficiently store SimpleHashMap with empty values 2017-10-17 23:04:16 +02:00
rdb
dee8d83998 interrogate: fix regression with setter of MAKE_PROPERTY2
See also tobspr/RenderPipeline#86
2017-10-17 21:18:51 +02:00
rdb
bb60e8c373 display: fix segfault when output is removed during render
Fixes: #176
2017-10-15 18:48:53 +02:00
rdb
0db3d27247 ShaderGenerator: fix updating color of combine stages with CS_constant
This also changes the function of TextureStage::uses_color(), which no longer incorporate TextureStage::involves_color_scale()

Fixes: #177
2017-10-15 17:06:59 +02:00
rdb
51d948a7fa Support compilation for Python 3.7 2017-10-13 12:40:47 +02:00