Texture related requests

User avatar
Kenney
Member
 
Posts: 131
Joined: Fri Jan 02, 2015 12:12
In-game: Kenney

Texture related requests

by Kenney » Tue Jan 06, 2015 13:46

I'd love to see these features in the base Minetest engine:

1. Randomized textures

Rather than having to create multiple types of the same node it would be awesome if, for example, the animation property could be used to randomize textures. Just feed in an animation (strip of the same textures, with slight alternations) and random_texture = true and it would select a random frame from the animation upon placing the block. (no idea how this would work code wise).

2. Randomized rotation of textures

Same as 1 but instead it just randomly rotates the texture on the block, which would allow for more varied ground textures.

3. Advanced connected textures

While the glasslike_framed drawtype is already great, it would be better to have a more advanced system that would allow more connected textures than just placing a 1px detail image over the original. Something like this would be the best, in my opinion:

Image

4. Dynamic mixing of textures

While this would technically probably be impossible it would be great to dynamically mix textures. This would remove the need for both the first and second feature requests. Something among the lines of this:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local ranTexture = "grass_" .. math.random(1,8) .. ".png"
minetest.register_node("voxus:grass", {
tiles = {ranTexture},
}
Games:
Voxus | UFO Race
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Texture related requests

by philipbenr » Tue Jan 06, 2015 14:54

This has been similarly done in BFD, although, it is not quite as you have described.
There also was a similar topic I think...

+1 though.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Texture related requests

by rubenwardy » Tue Jan 06, 2015 15:34

BFD registers separate nodes. The point is to do this using one node. It could be done using seeded random based on the node position to choose a texture and orientation.

Edit: corrected "ransoms" to "randoms"
Last edited by rubenwardy on Tue Jan 06, 2015 17:49, edited 2 times in total.
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

Re: Texture related requests

by Jordach » Tue Jan 06, 2015 17:20

rubenwardy wrote:BFD registers separate nodes. The point is to do this using one node. It could be done using seeded ransoms based on the node position to choose a texture and orientation.

rubenwardy: "buh muh shadeerrrrs!!!1!"

That's why I had to like with BFD.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
maier.nathan
Member
 
Posts: 40
Joined: Wed Dec 04, 2013 02:07
GitHub: npmaier
In-game: Bikemare EdgarLinton

Re: Texture related requests

by maier.nathan » Sat Jan 17, 2015 06:59

I could use a randomized texture for an effect or potion.
+1
 


Return to Minetest Features

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron