Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New appletree schematic #2194

Merged
merged 1 commit into from
Aug 20, 2018
Merged

New appletree schematic #2194

merged 1 commit into from
Aug 20, 2018

Conversation

paramat
Copy link
Contributor

@paramat paramat commented Aug 17, 2018

I have been unhappy with the appletree schematic for a long time.
Screenshot shows a version with no per-node probability to show the form better (and no height variation). The PR has some of the outer leaves with probability 223 (7/8).

screenshot_20180815_014154

^ Sorry for opaque leaves but this shows the form better

Decoration density is reduced by the ratio of new to old tree schematic areas.

@paramat
Copy link
Contributor Author

paramat commented Aug 18, 2018

So don't comment.

@paanrama
Copy link

It is a pretty little tree, but I think it can have more fruit positions (maybe it can be done on external leaves).

Also can be an opportunity to use a slightly ligther green in the leaves.

@paramat
Copy link
Contributor Author

paramat commented Aug 18, 2018

Trees have an average of 1 apple per tree, so 4 fruit positions is plenty.
I don't want to put fruits on the outside as then leaves have to be removed, this spoils the outer shape of the crown. I like the apples being a little 'hidden' in the tree, otherwise it feels a little too easy and overly obvious. So i dislike the mgv6 trees.

@Fixer-007
Copy link
Contributor

Updated comment: it simply feels like big same-looking umbrella, needs more variability?

@Napiophelios
Copy link
Contributor

when walking around gathering things
you don't really notice much of a change;
but when you fly around, especially over dense areas,
its a more "aesthetically pleasing landscape".

:)

@paramat
Copy link
Contributor Author

paramat commented Aug 19, 2018

Fixer:

All screenshots show a version with no per-node probability to show the form better. The PR has some of the outer leaves with probability 223 (7/8).

@paramat
Copy link
Contributor Author

paramat commented Aug 19, 2018

PR updated to version with height variation.
Ready for review, sapling version and table docs will be updated once shape is appoved.

screenshot_20180819_193132

screenshot_20180819_193451


local M = {name = "default:leaves", prob = 255}
local N = {name = "default:leaves", prob = 223}
local F = {name = "default:apple", prob = 63}
local Y = {name = "default:tree", prob = 255, force_place = true}

mts_save("new_apple_tree_rand_slice", {
	size = {x = 7, y = 8, z = 7},
	data = {
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, N, M, N, _, _,
		_, _, _, N, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,

		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, M, M, F, M, M, _,
		_, N, M, M, M, N, _,
		_, _, N, M, N, _, _,
		_, _, _, _, _, _, _,

		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		N, M, _, _, _, M, N,
		_, M, Y, _, Y, M, _,
		_, N, M, M, M, N, _,
		_, _, _, N, _, _, _,

		_, _, _, Y, _, _, _,
		_, _, _, Y, _, _, _,
		_, _, _, Y, _, _, _,
		_, _, _, Y, _, _, _,
		M, F, _, Y, _, F, M,
		N, M, _, _, _, M, N,
		_, M, M, M, M, M, _,
		_, _, N, M, N, _, _,

		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		N, M, _, _, _, M, N,
		_, M, Y, _, Y, M, _,
		_, N, M, M, M, N, _,
		_, _, _, N, _, _, _,

		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, M, M, F, M, M, _,
		_, N, M, M, M, N, _,
		_, _, N, M, N, _, _,
		_, _, _, _, _, _, _,

		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
		_, _, N, M, N, _, _,
		_, _, _, N, _, _, _,
		_, _, _, _, _, _, _,
		_, _, _, _, _, _, _,
	},
	yslice_prob = {
		{ypos = 2, prob = 127},
	},
})

@paramat paramat removed the WIP label Aug 19, 2018
Copy link
Contributor

@Ezhh Ezhh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 for me with the height variation.

@paramat
Copy link
Contributor Author

paramat commented Aug 19, 2018

Added sapling version and updated table docs. Will do final test.

@paramat
Copy link
Contributor Author

paramat commented Aug 19, 2018

Had an idea to move 2 opposing branches down a node for a more interesting structure. A little like how the acacia tree has 2 branches a node lower.
Note this is not in the PR (yet).

screenshot_20180820_002536

screenshot_20180820_001947

screenshot_20180820_002256

I find this helps make the taller version not seem so high off the ground, because 2 branches are lower. The branches are now more visible from the side.
Looks better to me.

@paramat paramat added the WIP label Aug 19, 2018
@Fixer-007
Copy link
Contributor

Can you place branches more randomly somehow?

@Ezhh
Copy link
Contributor

Ezhh commented Aug 20, 2018

Rotation helps with randomness. The only other thing would be to add a low chance of not all branches appearing for every tree, but I don't think that's really needed.

Precisely reduce trees and logs per mapchunk division to compensate.
@paramat paramat removed the WIP label Aug 20, 2018
@paramat
Copy link
Contributor Author

paramat commented Aug 20, 2018

Updated to new design.
Retested, found a couple of bugs due to forgetting to reset sapling protection check volume and the offset in 'place schematic' when it grows. Fixed.
So assuming +1 from Ezhh.

@paramat paramat merged commit 20b4338 into minetest:master Aug 20, 2018
@paramat paramat deleted the newappletree branch October 24, 2018 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants