Commit Graph

75 Commits

Author SHA1 Message Date
Daniel Stokes 19b67c3674 samples: Fix "Toon Shader" string in firefly demo
Closes #606
2019-04-04 10:06:07 +02:00
rdb 2807d1d166 samples: fix read from negative GeomVertexData row in fractal-plants 2019-02-13 15:42:20 +01:00
rdb 0d5d6466f1 Remove references to obsolete index from requirements.txt 2019-01-05 20:53:11 +01:00
rdb 4bf10925b3 samples: prevent duplicate connect assertion in device_tester.py 2019-01-01 16:31:11 +01:00
rdb 4a7266d420 samples: float4→float3 for vtx_normal in cartoon & fireflies samples
It seems that Cg's glslv profile causes the w coordinate of the normal column to be random.

Fixes #494
Fixes #495
2018-12-31 13:09:39 +01:00
rdb 8a9cac8c49 deploy-ng: use proper patch matching for globs 2018-12-09 21:24:51 +01:00
Mitchell Stokes 09bbee8dea deploy-ng: Default platforms to a list of platforms instead of the host platform
The list is:
  * manylinux1_x86_64
  * macosx_10_6_x86_64
  * win_amd64

Of note, win32 is missing from this list. We can add it later if there
is desire.

Also of note, there is now no path to *not* using wheels. We will need
to evaluate if we want to keep this around and, if so, expose it as an
option to users.
2018-12-08 16:19:35 -08:00
rdb c560c502b9 Merge branch 'master' into deploy-ng 2018-12-01 22:14:01 +01:00
Sebastian Hoffmann f8520773e9 samples: add input device tester program
Closes #234
2018-11-30 21:03:30 +01:00
rdb 447316c706 samples: fixes for gamepad samples 2018-11-30 20:54:37 +01:00
rdb 26fcf131c9 Merge branch 'master' into input-overhaul 2018-11-25 17:10:31 +01:00
rdb 3d7fcf2ce9 Merge branch 'master' into deploy-ng 2018-11-12 18:31:43 +01:00
rdb 074c5187b0 Adopt new WindowProperties(size=(x, y), ...) short-hand
This is intended as replacement for WindowProperties.size(x, y), which is deprecated since it conflicts with the `size` property.  See #444.
2018-11-12 17:53:53 +01:00
rdb c28045990c Merge branch 'master' into deploy-ng 2018-10-15 15:42:48 +02:00
rdb 3d66e22905 samples: improvements to flight stick sample program 2018-10-07 20:47:59 +02:00
fireclawthefox d764574d07 Added updated flight stick sample 2018-09-29 15:23:54 +02:00
fireclawthefox aff9befd35 Updated steering wheel sample
made steering wheel sample work with current version of input classes
2018-09-29 15:17:58 +02:00
rdb c4b3b558c9 samples: fixes and improvements to gamepad and mappingGUI sample 2018-09-28 22:17:19 +02:00
rdb 3ffe11485d Merge branch 'master' into input-overhaul 2018-09-28 15:12:49 +02:00
rdb 4c67861a28 samples: set heightfield to clamp mode in shader-terrain sample 2018-09-25 21:03:09 +02:00
rdb ba2de46beb Merge branch 'master' into input-overhaul 2018-06-08 15:23:47 +02:00
rdb 742c143a01 deploy-ng: support logging via log_filename (and log_append) setting 2018-04-08 17:57:48 +02:00
Mitchell Stokes d613523f14 deploy-ng: Add tests/build_samples.py script
This script will run python setup.py bdist_apps on each sample in a list
(currently only contains asteroids). The script will fail if any of the
builds fail. We can use this for some automated sanitity checking of
deploy-ng builds.
2018-03-22 18:53:26 -07:00
Mitchell Stokes fcacc3c2be deploy-ng: librt.so.1 to libutil.so.1 to exclude_dependencies 2018-02-27 18:37:03 -08:00
rdb f535a641e4 Merge branch 'master' into deploy-ng 2018-02-27 20:53:28 +01:00
Sam Edwards e15cea4331 general: Remove more unnecessary +x UNIX modes 2018-02-07 11:29:48 -07:00
rdb 8e6cf2a60b Merge branch 'master' into input-overhaul 2017-12-17 13:04:15 +01:00
Mitchell Stokes 905b15df01 deploy-ng: Rename some options
* include_paths -> include_patterns
  * exclude_paths -> exclude_patterns
  * deploy_platforms -> platforms
2017-11-26 15:33:00 -08:00
Mitchell Stokes aba26bd862 Merge branch 'master' into deploy-ng 2017-11-25 14:55:47 -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 73d13a8f5c Merge remote-tracking branch 'origin/release/1.9.x' 2017-10-31 20:20:49 +01:00
Ed Swartz 34731cd2f4 rocket: Add sample showing some Panda3D uses of libRocket. (#24) 2017-10-31 19:43:28 +01:00
rdb fba41dafae Merge remote-tracking branch 'origin/master' into deploy-ng 2017-10-26 21:23:49 +02:00
rdb 7d721a33a6 Restore setShaderInput overload taking 4 numbers, but deprecate it 2017-10-18 11:26:20 +02:00
Mitchell Stokes 09eb22b61e deploy-ng: Add plugins option to specify which plugins to copy
NOTE: pandagl is no longer automatically copied and a graphics plugin
must be specified.

TODO: Per-platform overrides
2017-07-06 19:33:16 -07:00
Mitchell Stokes c1f0545359 deploy-ng sample: Use buildbot index instead of a wheels folder 2017-04-20 17:58:01 -07:00
Mitchell Stokes 9e9aebad58 deploy-ng asteroid sample: Add --pre to requirements.txt
This forces pip to prefer 1.10 builds even if it finds 1.9 builds (e.g., for Python2)
2017-04-11 20:15:42 -07:00
rdb 163c923c82 Backport various fixes for 1.9.4 2017-03-31 18:08:49 +02:00
Mitchell Stokes 3cb24fba91 Merge branch 'master' into deploy-ng 2017-02-20 13:46:39 -08:00
刘群 4cc2009a94 Correct several spelling mistakes in comments 2017-02-18 16:24:58 +08:00
Mitchell Stokes dcb743c30d deploy-ng: Combine build_apps files and directories options into a single copy_paths
copy_paths is a list of strings and two item sequences. If a copy_paths
element is a single string, it is treated as both the source and
destination paths. If the element is a sequence, the first element is
the source and the second is the destination.

NOTE: exclude_paths now uses file globs
TODO: Support globs for copy_paths
2017-02-11 18:48:56 -08:00
Mitchell Stokes 66ef8f7c2a deploy-ng: Rename build_p3d to build_apps and bdist_p3d_archive to bdist_apps 2017-02-11 16:04:48 -08:00
Mitchell Stokes b8ee352ebb deploy-ng: Create entry_points in makewheel for dist commands
This allows setuptools to automatically find build_p3d and
bdist_p3d_archive.

NOTE: Importing direct.showutil.dist.setup still works for installs that
are not using wheels.
2017-01-28 21:09:33 -08:00
Mitchell Stokes 9723cb62d9 deploy-ng: Split applications list into gui_apps and console_apps dictionaries
The keys to these new dictionaries are the name of the application to
create and the value is the script that is the entry point for the
application. This gets rid of the need for an Application class.
2017-01-28 21:09:33 -08:00
Mitchell Stokes 159a1aa948 deploy-ng: Rename dist.build to dist.build_p3d and stop subclassing the builtin build Command
This also removes the need for a custom Distribution class.
2017-01-28 21:09:33 -08:00
Mitchell Stokes de598d966b asteroid sample: Add requirements.txt and wheels to setup.py exclude_paths 2017-01-05 19:28:22 -08:00
Mitchell Stokes c51afaf0cf deploy-ng: Support getting whl files via pip
The samples/asteriods/wheels directory and requirements.txt work-around
can be removed when we can grab py3 whls from PyPI.
2017-01-04 19:02:27 -08:00
Mitchell Stokes ca036a56f2 deploy-ng: Add setup.py to the asteroids sample 2016-12-18 11:46:21 -08:00
rdb d3008c56e0 Merge branch 'input-overhaul' of github.com:grimfang/panda3d into input-overhaul 2016-11-22 12:15:37 +01:00
rdb 40ff32c7a8 Show how to disable shadow map updates in shadow samples 2016-08-27 19:15:03 +02:00