Terrain-Builder icon indicating copy to clipboard operation
Terrain-Builder copied to clipboard

TERRAIN TEXTURE SPLATTING?!

Open Thundros opened this issue 4 years ago • 20 comments

Hi, @FarazzShaikh ! First off, I'd like to say : BRILLIANT work! Please keep up the GREAT work! I LOVE IT! <3

Second, can you please add texture splatting to terrains & the ability to save the new textures onto the model itself?

Once again, give yourself a pat on the back for me because THIS demo is AWESOME! <3

Thundros avatar May 04 '20 16:05 Thundros

Thank you! I’m really glad you enjoyed it!

I was starting to work with textures but I can’t find a good and simple PNG parsing library. If you know any It’ll really speed up the process of adding texture splatting.

FarazzShaikh avatar May 04 '20 16:05 FarazzShaikh

@FarazzShaikh : You are absolutely welcome! :) Here is a good PNG parser library :

https://github.com/kevva/parse-png

Thundros avatar May 04 '20 16:05 Thundros

Thank you but, I’m looking for a static library with ES6 Imports. I might have to write it myself :(

FarazzShaikh avatar May 04 '20 17:05 FarazzShaikh

@FarazzShaikh : What do you mean exactly?

Thundros avatar May 04 '20 17:05 Thundros

I mean I don’t want core libraries to be node modules

FarazzShaikh avatar May 04 '20 17:05 FarazzShaikh

You can write it yourself?

Thundros avatar May 04 '20 18:05 Thundros

I shall try

FarazzShaikh avatar May 05 '20 14:05 FarazzShaikh

@FarazzShaikh : Hi! Any luck?

Thundros avatar May 14 '20 18:05 Thundros

Hello! I’ve made the decision to Port the application over into React, as it’ll offer me great flexibility for adding more features as well as incorporating npm packages. After that’s done I can easily implement Texture Splatting and Height Map Export. Thank you for your patience but it will take a month or so. Thank you again.

FarazzShaikh avatar May 14 '20 18:05 FarazzShaikh

@FarazzShaikh : No, thank YOU for doing it! <3

Thundros avatar May 14 '20 19:05 Thundros

@FarazzShaikh : Also, when you do get it working, here is a couple examples to use :

splatmap

splat1

splat2

splat3

Thundros avatar May 21 '20 21:05 Thundros

@FarazzShaikh : Hello, brother! Any luck? :) HAPPY MEMORIAL DAY btw! <3

Thundros avatar May 25 '20 19:05 Thundros

Hello! I’ve decided to take a break from the project due to burnout, I will be sure to notify you when I return to it. Thank you :)

FarazzShaikh avatar May 25 '20 21:05 FarazzShaikh

@Thundros Good News! Texture Splatting will be implemented in a release in V2! I have switched to using GLSL Shaders to handle the displacement and texturing, resulting in MASSIVE speed boosts and the ability to implement Texture Splatting. Hope you are still looking forward to it. 😄

FarazzShaikh avatar Aug 01 '20 10:08 FarazzShaikh

@FarazzShaikh I am indeed looking VERY forward to it! When can I test it? <3 This is EXCELLENT news! <3

Thundros avatar Aug 03 '20 06:08 Thundros

@FarazzShaikh : When are you adding texture splatting? I am SO excited & overjoyed to test it! <3

Thundros avatar Aug 19 '20 14:08 Thundros

@Thundros i am planning to implement a node based terrain generation system in the next major release - v3, I need to sort out the actual terrain generation first before tackling texturing. I will let you know through this thread when it is released.

Feel free to fork the latest release and and play around, I'd accept a PRs introducing new features. 😃

FarazzShaikh avatar Aug 19 '20 15:08 FarazzShaikh

@FarazzShaikh : Any luck with texture splatting using RGBA image to be able to draw textures onto terrain in paint program?

Thundros avatar Dec 15 '20 21:12 Thundros

@Thundros Sorry 😞 I have not been getting a lot of time to put into this in between university and life but i am working on version 3 this winter (currently) and will release it as soon as its done. It will include big changes like a node based terrain editor instead of the clunky sliders, this will mean that terrain splatting will hopefully be possible. Thank you 😄

FarazzShaikh avatar Dec 16 '20 11:12 FarazzShaikh

@FarazzShaikh : Long time no speak! Have you had any time to implement Texture splatting?

Thundros avatar Nov 09 '21 08:11 Thundros