Commit Graph

1628 Commits

Author SHA1 Message Date
fireclawthefox 936ef1953c Small extensions for the mirror demo
Add extra parameters for buffer size and clear color
Add sample code at the bottom to display usage of mirror demo

Closes: #195
2017-11-12 00:19:50 +01:00
fireclawthefox feb36d9818 Fixed mirror demo
Set "mirror" camera to always have the same roll as the mirror
-> otherwise the model in the mirror will move unexpectedly
Set y coordinate of the mirror corners to the cameras distance
-> This fixes a crash and keep the mirrored model at correct sizer

Closes: #194
2017-11-12 00:15:58 +01:00
fireclawthefox 649a9abf8d Fix initial usage of letterbox
Set start position of letterbox frames to the hidden position

Closes: #193
2017-11-12 00:06:13 +01:00
rdb 0c0f9adab9 Support coroutines and async/await in the task manager and loader 2017-10-31 18:56:41 +01:00
wezu 40c6f41da2 direct: provide snake_case functions for some classes
Closes #147
2017-06-20 21:56:03 +02:00
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
wezu 353ccfebc1 Remove print() from Messenger.find() and Messenger.findAll()
If one needs to use find() or findAll() not for debugging purposes (like for getting the function or arguments for some binding), then the print functions in these methods are really unwelcome. find() is the only nice way to get this info (other then de-name-mangling __callbacks)
2017-04-22 13:39:14 +02:00
rdb 83507e413f Fix Mac OS X Snow Leopard build 2016-12-05 16:30:44 -05:00
rdb f1f4951fb5 Merge remote-tracking branch 'origin/release/1.9.x' 2016-10-13 00:25:57 +02:00
rdb f363088cb2 Fix exception when creating intervals before ShowBase is started 2016-09-30 00:21:12 +02:00
deflected 234e7eefee loader: Added loading of 2D texture array
Signed-off-by: deflected <deflected@users.noreply.github.com>
2016-09-12 13:21:23 +03:00
rdb 70f10a70d1 Merge branch 'release/1.9.x' 2016-09-12 00:48:03 +02:00
rdb 3ce808c705 Fix in-place asyncFlattenStrong 2016-09-11 20:28:33 +02:00
rdb 4ec5b77678 Fix error with async flatten 2016-08-27 20:11:18 +02:00
rdb 67998eaec2 Buffer viewer should override texture filter settings; fixes filtered shadow maps and edge bleeding 2016-08-27 19:24:23 +02:00
rdb 47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
Sam Edwards 0846a89677 general: Stop using several deprecated pandac.PandaModules imports. 2016-06-27 00:06:40 -07:00
rdb f068a8613b Fix a few unnecessary uses of exec/eval 2016-06-22 13:50:58 +02:00
rdb 4283a63a7d Merge branch 'release/1.9.x' 2016-06-11 01:29:14 +02:00
rdb 12873c0d7e Fix wxPython and tkinter issues on Mac OS X 2016-06-10 02:02:36 +02:00
rdb 7a681dc993 Python 3 fixes for rtdist builds 2016-05-29 02:01:57 +02:00
John Cote c896f7269b bugfix: Add missing import to ShowBaseGlobal (#96) 2016-04-17 09:09:55 +02:00
rdb 902a314f68 Remove unused squeeze tool 2016-04-13 17:28:08 +02:00
rdb 516e88c8fc Fix to unbreak travis test script 2016-03-28 23:20:26 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb 54fa31ba17 StandardError -> Exception, other 2to3 changes, threaded 2to3 2016-03-25 17:13:09 +01:00
rdb 6334f2511d Let's not display deprecation warnings in release builds 2016-03-25 16:41:58 +01:00
rdb 58837c0f4a Fix particle sample and tkinter in Python 3 2016-03-22 11:31:51 +01:00
tobspr d9ec4d402a Add print-pipe-types prc variable to prevent pipe output 2016-02-23 18:46:34 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 0d03207d1b Dramatically reduce size of frozen/compiled code by pruning/masking unnecessary imports/code 2016-02-12 22:20:27 +01:00
rdb 98a86bf43a Merge branch 'release/1.9.x' 2016-02-03 13:39:14 +01:00
rdb 03c8d4c009 Fix use of many builtins 2016-02-02 13:41:20 +01:00
rdb 2c61260c5f Generated API reference fixes 2016-02-01 14:49:09 +01:00
rdb dafe48a6bc Begin to add snake_case/property interfaces to important direct classes 2015-12-26 17:00:51 +01:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 32367fcbdc Fix various import issues in the direct tree 2015-12-06 22:36:05 +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 0a9f9887f9 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/Packager.py
	direct/src/p3d/ppackage.py
	makepanda/makepandacore.py
2015-11-21 03:17:33 +01:00
rdb 2d6c2c5c6d Remove dependency on tkpanels and tkwidgets modules when building .p3d package 2015-11-20 17:42:18 +01:00
rdb 0869266f1a Fix base.config error in 1.9 2015-11-13 19:25:24 +01:00
Harvir f725cda60c Fix import errors introduced with the core.pyd rename. 2015-11-10 13:04:36 +01:00
rdb 31dbcae262 Deprecate many extension methods, make extension methods imported via modules instead of dumped into core.py, move _core.pyd and _direct.pyd back to core.pyd, direct.pyd respectively, move MAIN_DIR set-up code to module init time 2015-11-10 00:44:29 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 4a5d64909a Merge branch 'release/1.9.x'
Conflicts:
	direct/src/showbase/ShowBase.py
2015-11-09 02:29:41 +01:00
rdb ba3a2c1e38 Fix saveCubeMap and saveSphereMap in multithreaded pipeline 2015-11-09 02:26:02 +01:00
rdb 0ae2df7e02 Merge branch 'release/1.9.x' 2015-11-01 15:54:58 +01:00
rdb b1c7086cbc Fix Rope, fix some unnecessary reliances on base.config 2015-11-01 15:53:02 +01:00
rdb d3494edf2c Address some rare crashes at shutdown 2015-10-31 04:11:12 +01:00