Log In  

14

Cart [#48972#] | Copy | Code | 2018-02-04 | Link
14

Hello again!

Here's something I made this weekend - I recreated a pixel art image which was made by @Kldpxl:

https://twitter.com/Kldpxl/status/944196919643070464

I love his pixel art because it often has a really striking photographic look about it, so I tried to carry that effect over as much as I could.

Some features:

  • It's 100% code: all sprites are generated at load time
  • Textured ground plane with perspective distortion
  • Value noise with multiple octaves (used for building all textures)
  • Raymarcher for generating sprites with lighting:
    • Four types of plants
    • Background mountains
    • Horizontally-tiling clouds
  • 3D-positioned plant billboards
  • 3D extrusion for low grass and road lines

I think it even runs at 60 fps!

P#48976 2018-02-04 16:53 ( Edited 2018-02-05 15:14)

::

Super mega impressive!
(well, limited to the "demo" category as it already uses almost all cpu!!)

Tech question: do you mipmap the road? On a similar "3d road" project, I found that it helped quite of lot given the lack of pixel density of pico (to say the least!)

To be super picky, clouds are a bit "off" (IMHO).
Would multiple shaded spheres be a better choice?

P#48977 2018-02-04 17:03 ( Edited 2018-02-04 17:08)

::

That's so awesome!

P#49014 2018-02-05 13:57

::

@freds72 - Thanks! It's not doing any mipmapping, but doing so would definitely help reduce the weird noise in the distance (but I've run out of performance and texture space). I think the clouds are a little wonky, too, but the current state is the best I was able to render this time around!

@egordorichev - Thanks to you, too!

P#49015 2018-02-05 15:14

Log in to post a comment

user:
password:

New User | Account Help
:: New User
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2018-02-21 03:21 | 0.242s | 1835k | Q:20