<\/a>I’m kind of surprised at how quickly that went. \u00a0Just as an experiment, I’ve implemented “paint on terrain”, to see how it’d work.<\/p>\nThere’s no persistence at the moment — fly too far away from the terrain you’ve been editing and it’ll be lost, reverting to a flat grey grid.. but this shows roughly how it might work. \u00a0Right now I have four tools implemented; \u00a0“raise”, “lower”, “green”, and “brown”. \u00a0Which all do more or less what you would expect, but with a massive 40 meter wide brush.<\/p>\n
Right now, “green” and “brown” directly set the color of the landscape, which turns out to be rather boring; \u00a0the auto-generated landscapes used a four-dimensional gradient to figure out terrain colors, which gave subtly expressive colors for grass on different types of surfaces.. here, green is just.. green. \u00a0I suspect that a better option would be to give the user a “grass” brush and a “dirt” brush, which used the same gradient coloring that’s used in the auto-terrain-generation, but still give the player direct “paint” control, if he really wants it.<\/p>\n
Right now, the tools work like painting on a paint document; \u00a0you have to scrub the pointer back and forth, building up effect over an area. \u00a0It feels pretty sloppy, and I’m not really happy with that approach, but it was the fastest way to just get something up and running.<\/p>\n
If I go this direction for real (and I’m highly tempted, now that I’ve started experimenting with it), then I’m going to need to find a nicer way to easily sculpt large bits of the terrain, without turning the game into a full-blown 3D modelling package. \u00a0:)<\/p>\n
Initial thoughts: \u00a0“Terrain” tab for broad terrain types; \u00a0paint with “plain” or “forest” or “mountain”, with a huge 200+ meter brush that gives nice surface undulation, coloration, and etc. \u00a0“Shape” tab for adjusting the shape of the terrain with smaller brushes. \u00a0“Flatten”, “Raise”, “Lower”, etc. \u00a0“Clutter” tab for overriding the ground clutter which was placed by the “terrain” tab. \u00a0“Paint” tab for re-painting the terrain. \u00a0Something like that, I guess, is what it’d need.<\/p>\n","protected":false},"excerpt":{"rendered":"
I’m kind of surprised at how quickly that went. \u00a0Just as an experiment, I’ve implemented “paint on terrain”, to see how it’d work. There’s no persistence at the moment — fly too far away from the terrain you’ve been editing and it’ll be lost, reverting to a flat grey grid.. but this shows roughly how…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[3],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-gJ","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1037"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=1037"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1037\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=1037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=1037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=1037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}