Voxelands Forum

The official Voxelands discussion forum

You are not logged in.

#1 2015-12-07 03:42:24

nic96
Supporter
Registered: 2015-09-13
Posts: 35

New Textures

I was displeased with how much the grass appeared to be tiling (strips of light grass) and decided to give it a go fixing this. I worked on it for almost two hours in gimp and an html page that I ever so often refreshed to preview the tiling effect:
WInwFUw.png

It's not perfected yet but looks pretty good in game compared to the old one so I think it's release ready.
Just need to change the hue to an autumn colour for the autumn grass.

Here's the new one I created viewed in game:
new grass texture in game


And a the old one in game just to compare:
old grass texture in game


What do you guys think? Should this be in the next release?

Cheers,
nic96

Last edited by nic96 (2015-12-07 03:43:50)

Offline

#2 2015-12-07 04:23:41

nic96
Supporter
Registered: 2015-09-13
Posts: 35

Re: New Textures

Now I've also created autumn grass textures.
I forked the Voxelands repo and committed my changes.
https://gitlab.com/nic96/voxelands/

I just realized I committed it to the master branch. I'll fix that tomorrow.

I still have one question though. How do I change the season to preview the autumn grass?

Offline

#3 2015-12-08 02:46:09

nic96
Supporter
Registered: 2015-09-13
Posts: 35

Re: New Textures

I now created a merge request.
https://gitlab.com/voxelands/voxelands/ … quests/30/

I haven't seen the autumn textures in game yet cause I'm not sure how to change season but I'm thinking it's good.
KuynyPI.pngjq2bMjw.pngdBUf7Ci.png

Maybe the colour could be improved yet for the autumn grass.

Last edited by nic96 (2015-12-08 03:04:16)

Offline

#4 2015-12-13 15:49:44

Kozbot
Member
Registered: 2015-12-13
Posts: 2

Re: New Textures

Had to register just so I could make a comment on this.  I really feel like things like this are truly important in adding a more polished feel to a game.  Completely understand the motivation behind this and appreciate that someone else cares too about the 'little things'.

Regards,
Kozbot

Offline

#5 2015-12-15 06:13:34

darkrose
Administrator
Registered: 2013-10-05
Posts: 743

Re: New Textures

About the only way to change the season is to manually edit world/env_meta.txt and change the value of world time. This value is the number of in-game days since the world was created, there's 60 days to a season, so:
0-59 is summer.
60-119 is autumn.
120-179 is winter.
180-239 is spring.

I like what you're aiming for here, but I find the new texture worse. It has both diagonal and square tiling lines, and is very noisy (something that's bugged me for a while with the mud texture as well). I've been thinking of gradually moving to having 32x32 as the default texture size, maybe try experimenting with that?
Another option is to make the texture 64x64, so it has 4 32x32 textures in it, which will be chosen from pseudo randomly, which would allow for a much more varied grass texture than what we currently have. If you want to try that, I'd be quite happy to add the code to make it work.


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

#6 2015-12-16 02:31:40

nic96
Supporter
Registered: 2015-09-13
Posts: 35

Re: New Textures

I only really have time during the weekends to work on it, but higher resolution might be a good idea. Not sure if it would or how much it would effect performance though. Also the 64 x 64 textures sounds like a nice idea. I'd definitely like to try that.

Last edited by nic96 (2015-12-16 02:34:07)

Offline

#7 2015-12-28 06:05:42

nic96
Supporter
Registered: 2015-09-13
Posts: 35

Re: New Textures

I created new 32x32 textures for grass and mud. Try them and tell me what you think:
Download textures.tar.gz
If you like them I'll commit them and create a merge request.

About the 64x64 texture I didn't create it yet. Not sure if I'll take the time to create them so for me you don't need to add the code for it.

Here is a screenshot of the textures in game:
wTjXz7I.png

Last edited by nic96 (2015-12-29 07:04:51)

Offline

#8 2015-12-31 06:32:57

darkrose
Administrator
Registered: 2013-10-05
Posts: 743

Re: New Textures

Finally got around to trying this, I likes.

There's some slight tiling lines along the z axis, but not really noticeable unless you're looking straight down from abouth 10 metres up and trying to find them... so can be ignored (though if you wanna fix it, even better).

Just one thing though, could you make a seperate footsteps texture, as in just the footprints on a transparent texture? This could then be used as an overlay in the engine rather than the current way (we couldn't do semitrans blits when they were first added). Just post it here or something, I'm gonna have a play with the way grass is rendered and will add it when I do.

Otherwise, it's good, if you wanna make a merge request I'll take it... or I can put them in myself.


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

#9 2016-01-03 17:39:48

darkrose
Administrator
Registered: 2013-10-05
Posts: 743

Re: New Textures

There's currently a 'grass' branch in git, where I've been experimenting with the way grass is rendered. I think it looks rather nice:

new-grass.png


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

#10 2016-01-04 01:02:55

nic96
Supporter
Registered: 2015-09-13
Posts: 35

Re: New Textures

Looks like you already made a footsteps texture. I already made one, but I guess I didn't visit the forums often enough to notice your request (phpbb forum system you can subscribe to topics, I guess I could use RSS).

It looks much better than before, but there are seams showing between the side texture and the top texture. If that could be fixed I'd say it'd be perfect.

The new tree and wildgrass textures look much better. Nice work!

I might try to improve the grass texture a bit more yet when I'm not busy trying to survive or doing other important stuff.

Offline

#11 2016-01-04 14:57:36

darkrose
Administrator
Registered: 2013-10-05
Posts: 743

Re: New Textures

I made the footsteps texture so I'd have something to use when experimenting with code, but I'm not entirely happy with it, so if you have a better one I'd use it.

What seams? Can you screenshot one so I can see?


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

#12 2016-01-05 03:15:18

nic96
Supporter
Registered: 2015-09-13
Posts: 35

Re: New Textures

I guess on the picture It's not too bad, but when I move about it kinda flickers a bit which makes it really visible. It looks almost like z-fighting on the edge.

M6G0qwf.png

You might have to view the image full scale to see the little white dots along the edge.

Last edited by nic96 (2016-01-05 03:17:10)

Offline

#13 2016-01-05 05:57:26

darkrose
Administrator
Registered: 2013-10-05
Posts: 743

Re: New Textures

Ah, yeah, I thought I'd got rid of them, apparently not completely though... I'll keep playing about.


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

#14 2016-02-02 05:12:01

nic96
Supporter
Registered: 2015-09-13
Posts: 35

Re: New Textures

I'm working on a new sand texture:
new sand texture WIP

This is still WIP. I think it needs a bit more dirtiness and some tiling reduction.

Edit:

I did some dirtying and sharpening. I think it looks much better. Here's the result.
sand texture WIP dirtying and sharpening.

Still needs some improvement on that tiling.
FYI this is a 32x32 texture.

Edit 2:

I think it's about ready. What do you think?
new sand texture WIP about ready?

Or should the sand maybe be a bit whiter?
new sand texture a bit whiter

Maybe this page is getting a bit slow to load. I apoligize for that.

Last edited by nic96 (2016-02-02 06:11:52)

Offline

#15 2016-02-02 09:54:19

darkrose
Administrator
Registered: 2013-10-05
Posts: 743

Re: New Textures

IRC is currently arguing discussing splitting 'beach' and 'desert', as the whiter would look on beaches, and the redder would suit deserts... so maybe both?


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

#16 2016-02-02 13:19:00

nic96
Supporter
Registered: 2015-09-13
Posts: 35

Re: New Textures

That sounds like a good plan.

Offline

#17 2016-02-02 13:32:40

darkrose
Administrator
Registered: 2013-10-05
Posts: 743

Re: New Textures

It's now in next, so there's sand.png and sand_desert.png

I've just tinted the sand texture slightly red for desert sand for now:
desert.png


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

#18 2016-02-02 14:46:00

nic96
Supporter
Registered: 2015-09-13
Posts: 35

Re: New Textures

Ok, cool. I'll commit mine after work and create a merge request.

Offline

#19 2016-02-03 10:56:02

darkrose
Administrator
Registered: 2013-10-05
Posts: 743

Re: New Textures

Awesome, both are added now smile


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

Board footer

Powered by FluxBB