Jump to content
Sign in to follow this  

New demo uploaded: 8BPP Cow

Recommended Posts

8BPP Cow

View File

This demo features 3D rendering to a 256x240@8bpp surface with full transformation calculation, texture mapping and per-pixel depth buffering. The model is a decimated Spot test model  with 512 vertices, 1020 triangles and a 256x64 texture.

So, I wrote this just to get familiar with this system and figure out how to write and optimize a 3D math for it. Also, it would makes a nice reason for me to get up and do some coding streams, as shown here:

Only runs on r39 since I can't find documents for older versions. There's still bunch of incorrect pixels due to depth buffer precision problems.


  • A/D - Move camera left/right
  • W/S - Move camera up/down
  • Q/E - Move camera backward/forward (Z value should be an unsigned number but the UI only displays signed numbers)
  • J/L - Rotate left/right (yaw)
  • I/K - Rotate up/down (pitch)
  • U/O - Tilt left/right (roll)

  • Submitter
  • Submitted
  • Category


  • Like 3

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

Please review our Terms of Use