David Vierra
d36d88c746
DisplayList no longer remembers its drawFunc or calls compile() automatically.
...
Pass drawFunc when calling compile().
2015-11-09 11:49:07 -10:00
David Vierra
39a717b3ca
Issue #169 : Init X11 threads for threaded buffer swap
...
Ref: http://blog.qt.io/blog/2011/06/03/threaded-opengl-in-4-8/
2015-11-09 11:44:52 -10:00
David Vierra
b5889d528c
Add function for gathering node statistics
2015-11-07 06:26:09 -10:00
David Vierra
df15798a6e
Collapse some one-child nodes in WorldScene into their parents
2015-11-07 06:25:58 -10:00
David Vierra
983bec64ff
Skip emitting empty nodes for entity meshes
2015-11-07 06:25:35 -10:00
David Vierra
311a714616
Add names to almost all scene nodes
2015-11-07 06:25:19 -10:00
David Vierra
e2cd8d2258
Move setup.cfg to pytest.ini
2015-11-05 11:00:27 -10:00
David Vierra
ea88d7b36e
Finish fixing up test_relight
2015-11-04 13:40:36 -10:00
David Vierra
df4883472c
Custom traceback frames are now compatible with IPython
2015-11-04 13:40:35 -10:00
David Vierra
e9feb01a43
Add more excludes to specfile, don't mass-include all source files, only the ones that aren't imported internally
2015-11-04 13:40:35 -10:00
David Vierra
c7cfcd73b8
Update IPython widget for IPython 4.0
2015-11-04 13:40:34 -10:00
David Vierra
bfd2bd9bc9
Fix incorrect dtype in updateLightsByCoord
2015-11-01 15:20:39 -10:00
David Vierra
48e51a12ba
Update mcedit2.spec for PyInstaller 3 (really, this time).
2015-11-01 15:20:25 -10:00
David Vierra
9d0dab3c40
Add match and exclude patterns for pytest
2015-11-01 15:20:05 -10:00
David Vierra
459de55e1f
Log region reads/writes at a new, lower level than DEBUG.
2015-10-30 22:06:39 -10:00
David Vierra
261df22b80
Remove logging.basicConfig calls from tests
...
And remove one from blocktypes. What was it even doing there?
2015-10-30 04:55:10 -10:00
David Vierra
b92ac828aa
Fix test_relight and history
fixture.
2015-10-30 04:53:29 -10:00
David Vierra
3c1abfec8f
Travis: Upgrade pip version and install wheel
2015-10-30 04:44:53 -10:00
David Vierra
00913303cc
Patch up a few remaining tests
2015-10-30 04:42:14 -10:00
David Vierra
58ab4d32e0
Remove all remaining references to test.templevel
2015-10-30 04:35:12 -10:00
David Vierra
7f1b7d36f1
Enable cached pip packages
2015-10-30 04:07:06 -10:00
David Vierra
0edb5480f6
Fix a few tests that had collection errors.
2015-10-30 04:03:03 -10:00
David Vierra
f5f6ab0e49
Remove logging from RenderNode
...
This reverts commit fd795bf79cfc0e068d0d7b8e58acc0f034150f69.
2015-10-30 03:23:32 -10:00
David Vierra
91f6b2be94
ChunkLoader now notifies clients of deleted chunks via chunkInvalid
2015-10-28 19:17:47 -10:00
David Vierra
af264492c2
Begin naming Nodes
2015-10-28 19:09:03 -10:00
David Vierra
45c6ab9031
Increase camera initial speed.
2015-10-28 19:06:10 -10:00
David Vierra
787e8ba5c8
Fix deleted chunks not being purged from caches.
2015-10-28 19:05:58 -10:00
David Vierra
ced819a668
Camera update ticks now tick relative to the time interval between updates.
2015-10-28 03:54:31 -10:00
David Vierra
d364e5db59
Fix blocktypes not being created on newly created worlds
2015-10-28 03:52:55 -10:00
David Vierra
c858d4ebfe
Finish modifying old tests to run under pytest
2015-10-28 03:52:45 -10:00
David Vierra
fc82c17f9b
Skip transform tests (TODO: these are not automated tests, fix)
2015-10-28 03:52:16 -10:00
David Vierra
1e65b6ef2d
Increase cache limit in testThrashing to be more than the maxsize of recentChunks
2015-10-28 00:52:05 -10:00
David Vierra
5f01a1bde2
Rewrite test fixtures using _temp_file and _temp_level
2015-10-28 00:50:27 -10:00
David Vierra
1a80d4b699
Rearrange tests/ folder so tests/mceditlib doesn't overload src/mceditlib in module searches
2015-10-28 00:34:57 -10:00
David Vierra
f459f3d9f2
Install xdist and catchlog for tests
2015-10-28 00:34:56 -10:00
David Vierra
92f2715f3e
Add travis.yml
2015-10-28 00:34:56 -10:00
David Vierra
bf9a278296
Move cython to mceditlib reqs
2015-10-28 00:34:55 -10:00
David Vierra
8c33e43112
Split setup.py into two files
2015-10-28 00:34:55 -10:00
David Vierra
fa02b40cf1
requirements.txt now references requirements-mceditlib.txt
2015-10-28 00:34:54 -10:00
David Vierra
b4c605cb1c
Move all tests/benchmarks out of src/ and into tests/ and benchmarks/
2015-10-28 00:34:53 -10:00
David Vierra
81c65fb925
Swap GL buffers on a second thread to improve chunk loading speed and UI responsiveness.
2015-10-27 23:15:37 -10:00
David Vierra
f71f0f749e
Increase maxFPS, improving perceived smoothness
2015-10-27 23:15:36 -10:00
David Vierra
ee9e6ae111
Camera movement is smoother. Tweak camera tick rate, acceleration, and min speed.
2015-10-27 23:15:36 -10:00
David Vierra
db76266204
Add crude, half-implemented "Go To" buttons to the CommandBlock inspector
2015-10-27 23:15:35 -10:00
David Vierra
e3b602d4a9
Status bar now updates in response to viewport movement (as when holding camera keys)
2015-10-27 23:15:35 -10:00
David Vierra
33d2537c24
Refactor Scenegraph nodes to allow states attached to each Node. (Big, messy change!)
...
States have an enter() and exit() function to setup and teardown GL states. Previously, states were their own nodes, so each state created its own display list. Now, creating a node for each state is optional.
2015-10-27 23:15:34 -10:00
David Vierra
fd795bf79c
xxx destroy this commit, adds logging to rendernode
2015-10-25 16:39:24 -10:00
David Vierra
333e0e6b3b
Add command visuals for /give, /playsound, /summon, /testforblock, /blockdata, /fill, /setblock
...
Register command visuals using a decorator
2015-10-25 16:38:11 -10:00
David Vierra
d1e2a7680e
Add half-done command parsers for /fill, /give, /playsound, /clone, /blockdata
...
Register command parsers using a decorator
2015-10-25 16:37:23 -10:00
David Vierra
e2f41bac1e
Shaped selection renderer feels slightly more responsive.
...
Load chunks immediately over a very short duration when the box is resized.
2015-10-25 16:36:17 -10:00