0
Commit Graph

60 Commits

Author SHA1 Message Date
Socolin
4c29cf453d Support blockid > 255 2012-09-01 15:44:09 +03:00
Andrew Chin
a7d4e57593 Bump overviewer version 2012-08-01 09:53:26 -04:00
Andrew Chin
7a1f3acefc Bump c_overviewer version 2012-07-20 22:29:28 -04:00
RamsesA
2b421d6d25 added a fast resize function
Added resize_half() and resize_half_wrap() functions to composite.c and
overviewer.h, to replace the call to PIL's resize function made by
tileset.py. Also added "resize_half" to COverviewerMethods in main.c, so
it can be called from Python. Should increase performance by 10 to 20%
for the entire program.
2012-07-03 20:26:23 -04:00
Richard Pastrick
bd7b6c507c Bump version 2012-06-10 08:44:18 -07:00
Richard Pastrick
721ab67989 Fix an issue with baked in overlays not having any alpha, tested with non baked in too and no change there 2012-06-07 15:02:21 -07:00
Aaron Griffith
05bfaaf967 added slime overlay, colors chunks green if slimes can spawn 2012-06-05 23:18:15 -04:00
Aaron Griffith
f4a1c32d1a added sealevel option to HeightFading primitive 2012-06-05 01:09:47 -04:00
Andrew Chin
4ae77a9f47 Force rebuild due to new texture stuff 2012-06-03 21:19:39 -04:00
Aaron Griffith
f395a13d98 biomes=False now renders correctly again
Closes Issue #737
2012-05-16 10:15:38 -04:00
Aaron Griffith
34e5ddf620 biomes are now murky *and* smooth
closes issue #708

Props to mkor for taking advantage of the existing average loop, and
CounterPillow for sussing out the correct biome multiplication
color. This commit is just a teensy bit more future-proof.
2012-05-06 20:22:31 -04:00
Aaron Griffith
838bd2e5ab fixed Hide() primitive and made EdgeLines() play nice 2012-04-12 15:33:24 -04:00
Aaron Griffith
9ba3cbabc8 fixed biomes to use z/x instead of x/z indexing
reference: Issue #644
2012-03-15 05:12:01 -04:00
Aaron Griffith
4a9c4fd150 get_data will no longer repeatedly try to open missing chunks 2012-03-03 23:15:16 -05:00
Andrew Chin
935d221886 Revert "Clean up build warnings on Windows"
This was causing segfaults, reason unknown

This reverts commit 868256b538.
2012-03-02 17:45:24 -05:00
Andrew Chin
868256b538 Clean up build warnings on Windows 2012-03-02 13:40:58 -05:00
Aaron Griffith
137935801d bumped extension version after merge, just in case 2012-03-01 17:47:38 -05:00
Aaron Griffith
d1c5c14ff7 fixed huge memory leak when calling chunk_render on empty section 2012-03-01 15:55:47 -05:00
Aaron Griffith
8b28e42c8d Merge branch 'rewrite' into anvil
Conflicts:
	overviewer_core/src/overviewer.h
	overviewer_core/tileset.py
	overviewer_core/util.py
	overviewer_core/world.py
2012-02-26 19:39:58 -05:00
Aaron Griffith
5d50f35ac1 broke out background-clearing code from base overlay primitive 2012-02-26 11:52:43 -05:00
Aaron Griffith
2b7af1886a overlays converted into render primitives 2012-02-26 11:39:07 -05:00
Aaron Griffith
414b754e24 biomes now work, still no swamp purple though 2012-02-22 04:14:44 -05:00
Aaron Griffith
4ac7c1222a lighting and smooth lighting updated for anvil 2012-02-21 15:51:34 -05:00
Aaron Griffith
136ea70281 all sections now loaded for each chunk, cave mode now works 2012-02-21 14:22:52 -05:00
Aaron Griffith
187b2690f4 added get_data for getting data across chunk boundaries, fixed PAD 2012-02-21 03:49:19 -05:00
Aaron Griffith
a0d584bba6 Base render primitive now draws correctly (no biomes yet though) 2012-02-21 02:42:42 -05:00
Aaron Griffith
09c4e4cbf8 removed really old composite.py stub wrapper 2012-02-09 10:12:12 -05:00
Aaron Griffith
a1dacfa994 added back biome colors, and misc. cleanup in world.py 2012-02-08 15:25:22 -05:00
Aaron Griffith
302e1d592a Merge branch 'master' into rewrite 2012-02-06 21:41:11 -05:00
Andrew Brown
ff3bfceef7 more C code fixes. Activated caching.
Also removed some code that I accidentially left in.
Also added a traceback printing decorator around get_chunk() because the
C code can potentially swallow those exceptions.
2012-01-17 21:52:01 -05:00
Andrew Brown
bbe105ead7 Fixes segfaults in the C extension
This should have been part of 70ef0af0 but I didn't catch these.
2012-01-16 22:00:44 -05:00
Andrew Brown
70ef0af00c modified C extension for get_chunk() raising exception on not found 2012-01-16 01:59:16 -05:00
Aaron Griffith
f1758a51a7 added netherbrick stairs to lighting estimator
Reported in Issue #581.
2012-01-08 16:22:06 -05:00
Aaron Griffith
e3610f8ac5 moved to a layer-based rendermode system, moved normal mode to base primitive
options are now handled partially in the python side, in rendermodes.py
2012-01-08 00:08:16 -05:00
Aaron Griffith
4eaf103213 fixes to get lighting mode working again 2012-01-06 20:23:15 -05:00
Aaron Griffith
a1dc392526 c_overviewer is now auto-initialized, and some other minor fixes 2012-01-02 00:40:56 -05:00
Aaron Griffith
a69a78f412 c_overviewer.render_loop now works with normal render mode 2012-01-01 23:02:30 -05:00
Aaron Griffith
f9b0f8667b initial update of C code to work with textures object 2012-01-01 22:44:08 -05:00
Aaron Griffith
debb14c48b overviewer no longer trusts ancillary data from blocks that should have none 2011-12-18 04:51:53 -05:00
Aaron Griffith
e500a1ab26 Merge branch '19prep'
Conflicts:
	overviewer_core/src/overviewer.h
	overviewer_core/textures.py
2011-11-18 17:25:01 -05:00
Aaron Griffith
f6651cd759 bumped extension number to prepare for likely merge tomorrow 2011-11-17 09:33:22 -05:00
Aaron Griffith
944edf4ef8 changed material property lookups to use a bit table, not python sets 2011-11-11 20:05:29 -05:00
Aaron Griffith
acbf87db3f bumped extension version for new smooth-lighting mode 2011-11-07 19:50:55 -05:00
Aaron Griffith
4bddf2c78a fixed top smooth lighting tesselation error 2011-10-18 09:56:01 -04:00
Aaron Griffith
2705a1efe8 smooth-lighting triangles now pull lighting data correctly for each vertex 2011-10-16 17:18:24 -04:00
Aaron Griffith
80a3849a6c added a triangle drawing function, with interpolated color 2011-10-11 21:17:10 -04:00
Aaron Griffith
e67dd9ba6e incremented extension version for RMO 2011-09-08 07:49:09 -04:00
Aaron Griffith
e800138079 Merge remote branch 'brownan/master' into rendermode-options 2011-08-26 21:06:14 -04:00
Alejandro Aguilera
03f9734039 Bump overviewer extension version 2011-08-23 22:10:20 +02:00
Andrew Chin
320f7a178c Fixed lighting issue
If more than one half-step or stair is stacked on top of another, the
bottom steps/stairs will be black in a lighting render.  This is now
fixed
2011-08-18 20:40:36 -04:00