Log In  


Cart #ynp_3d_demos-0 | 2026-09-25 | Embed ▽ | No License
1

I started this 3D renderer, but stopped working on it since my game concept was a bit performance-demanding and hard to design levels for. I may return after a Picotron update. Sharing in case anyone else benefits from the code.

Three demos are included. Press Heart (F) to switch demo.

Orthographic Platformer:

  • Move with left stick (arrow keys)
  • Camera with right stick (WSAD)
  • Jump with X (X)

3D Scenes (boxes and sphere):

  • Move camera with left stick + O/X (arrows + Z/X)
  • Rotate camera with right stick and L/R (WSAD + QE)

Features:

  • Quads
  • Backface culling
  • Sprite textures
  • Ambient + diffuse lighting with dither patterns

!!!WARNING!!! if you run in Picotron, it can crash Picotron itself if objects too close to camera. Save your work before using in Picotron!

Source Code (MIT License): https://github.com/yournameplease/picotron-3d-renderer

1


hi ynp , i hope you are doing well . those 3D scenes looks very promising , but when you say 'I may return after a Picotron update' you mean the new incoming version 0.3.0e ?


They mean 0.3.1, which adds extra userdata functions to make geometry calculations faster.

zep's notes on this (unsure if outdated at this point): https://pastebin.com/raw/9MMLsUFb


1

Danni is correct, thanks! Rasterization is the biggest performance bottleneck at the moment, and some of the upcoming features should help.

And I am bad about sticking with projects. So no promises on getting anything new in a timely manner!


oh i see , thx for reply guys



[Please log in to post a comment]