0
Commit Graph

40 Commits

Author SHA1 Message Date
Andrew Chin
dc80c88e94 Biome tinting uses now uses the Biome Extractor data files.
See:
http://www.minecraftforum.net/viewtopic.php?f=25&t=80902&view=unread
2010-11-23 00:26:07 -05:00
Andrew Chin
210e65730f Hacky work on biome tinting
Currently this requires python-gearman, gearman-java, and a java SDK.

This code will probably be all thrown away, but if you really want to
play, first compile Biome.java, then run the resulting Biome.class.
Note you'll probably need to hack the signatures out of minecraft.jar to
get it to run.

Then copy grasscolor.png into the cwd, and run gmap.py as usual.

It is slowwwww.  Perhaps running Biome.class on multiple machines might
speed things up?

Here's the kind of output produced: http://smp.em32.net/biome_test/
2010-11-23 00:26:07 -05:00
Andrew Brown
605811bf0c Merge remote branch 'eminence/master' 2010-11-07 09:08:56 -05:00
Andrew Chin
0b6461083b Modified tintTexture() to look more like the original grass color 2010-11-03 22:57:47 -04:00
Andrew Chin
290269f8fe Corrected pumpkin rendering, Hacky tinting for grass, leaves
* Pumpkins and Jack-o-lanterns now face the correct direction
 * Pumpkins and jack-o-lanterns now have different textures (thanks
   alexjurkiewicz).  one is lit, the other is not
 * a bad looking green tint is applied to grass and to leaves
   Someone please make this better
2010-11-02 20:46:56 -04:00
Andrew Chin
2c49113bd2 Render the new blocks from the Boo update.
The following are now rendered:
 * Pumpkins
 * Jack-O-Lanterns (look identical to pumpkins at the moment, to match
   the ingame rendering)
 * Bloodstone
 * Slow Sand
 * Lightstone
2010-11-02 19:39:22 -04:00
Aaron Griffith
395e26ef9c changed most PIL paste() calls into composite.alpha_over() calls
The ones I have not changed are those where paste() is really
preferred, and I've noted why in comments.

Calls to "dest.paste(src, rect, mask)" were converted to calls to
"composite.alpha_over(dest, src, rect, mask)".
2010-10-23 13:42:31 -04:00
Aaron Griffith
4c58d28854 fixed remaining function renames from merge 2010-10-05 08:55:35 -04:00
Aaron Griffith
51e1721a6d Merge branch 'master' into lighting
Conflicts:
	chunk.py
	gmap.py
	textures.py
	world.py
2010-10-05 08:35:23 -04:00
Andrew Brown
4dc1f70acf Merge remote branch 'eminence/master' 2010-10-02 22:19:18 -04:00
Andrew Chin
60966ffa73 Improve efficiency of special textures by pre-computing them 2010-10-02 20:17:13 -04:00
Andrew Brown
759a38353d Merge branch 'master' of git://github.com/c99koder/Minecraft-Overviewer 2010-10-02 17:47:48 -04:00
Andrew Chin
6993f2159d Render iron and wood doors with correct orientation.
Note: iron doors need testing (they are currently broken in my test SMP
world)
2010-10-02 15:33:33 -04:00
Andrew Chin
cd97222a9b Render ladders (with correct orientation) 2010-10-01 23:19:53 -04:00
Andrew Chin
66a90bb411 Render furnaces with the correct texture (instead of smooth stone)
These are handled specially, since one side texture is different than the
other
2010-10-01 22:51:02 -04:00
Andrew Chin
78962cfbe5 Passable crop rendering 2010-10-01 22:33:25 -04:00
Sam Steele
5d22e1cd6f Fix whitespace formatting, make snow 1/4th of block 2010-09-30 22:47:10 -07:00
Sam Steele
e54f375295 Merge branch 'master' of http://github.com/eminence/Minecraft-Overviewer 2010-09-30 18:44:04 -07:00
Andrew Chin
822dd75431 Render minetracks (with correct orientation)
Other things with direction (torches, ladders, stairs, etc) will be
handled in a similar fashion.  Note: minetracks on slopes are still
not rendered correctly
2010-09-30 21:38:14 -04:00
Sam Steele
cf971c17c6 Render snow as half-blocks 2010-09-30 18:36:10 -07:00
Andrew Brown
7a696fcee0 modified to support freezing 2010-09-28 23:04:21 -04:00
Andrew Chin
6240f40226 Half blocks (step/#44) should be rendered reasonably well.
Tested 1 half block (44), 2 half blocks (43), a 3 half blocks (43,44)
and all seem to look OK.
2010-09-28 00:09:50 -04:00
Andrew Chin
aa8a369aa8 Better cacti rendering 2010-09-27 21:32:26 -04:00
Aaron Griffith
db62ad94ee correct (though chunk-local only) per-face lighting 2010-09-27 19:04:35 -04:00
Benjamin Herr
e83796c102 Deal with higher-resolution textures 2010-09-27 20:20:31 +02:00
Andrew Brown
58202bd779 Fixed this 2010-09-26 23:29:06 -04:00
Andrew Brown
458870510c Merge remote branch 'eminence/master' 2010-09-26 23:05:34 -04:00
Andrew Brown
a957d0b097 clarified texture issue in readme. Misc changes
Added check for python >=2.6
Added current directory and program directory to paths to search for
minecraft.jar
2010-09-26 23:04:12 -04:00
Andrew Chin
18040d96b4 Add support for some non-block textures
The following textures now no longer render as blocks:
 * Flowers
 * Mushrooms
 * Saplings
 * Reeds
 * Torches

Note that torches attached to wall are still rendered incorrectly
2010-09-26 01:33:24 -04:00
Andrew Brown
d6f5afc40f Added GPL license to all files.
If anyone is interested in using this software under different
conditions, contact me.
2010-09-21 22:51:12 -04:00
Andrew Brown
95f6342154 added a link to the world examples in the readme.
Also clarified an error message
2010-09-21 22:37:45 -04:00
Andrew Brown
612307ff15 implemented hack to fix water grids. Water looks okay now! 2010-09-15 21:52:57 -04:00
Andrew Brown
07d6df1cbe fixed minecraft.jar path on macs 2010-09-11 15:33:00 -04:00
Andrew Brown
1e296e858a readme updates, texture code updates.
Re-factored the way the textures and blocks are being built. It should
be easier to understand and add new exceptions (sorta). Also fixed the
water and lava with other texture packs by putting a static water.png
and lava.png in with the code.
2010-09-10 00:04:02 -04:00
Andrew Brown
8afeb05cc8 disabled rendering torches and minetracks for now 2010-09-04 19:20:04 -04:00
Andrew Brown
8c162ce890 Checks for terrain.png in CWD first. Thanks alexjurkiewicz! 2010-08-29 11:37:18 -04:00
Andrew Brown
70361f3a6b added proper paths for Macs. Thanks ventolin! 2010-08-28 23:26:31 -04:00
Andrew Brown
427f6fb92d padded block list to 256 length 2010-08-28 20:29:38 -04:00
Andrew Brown
403815a7dd added proper env var for windows 2010-08-28 18:50:19 -04:00
Andrew
2eca1a5fb5 initial comit 2010-08-22 10:16:10 -04:00