Archived

This topic is now archived and is closed to further replies.

djsomers

blitting ISO's (idea)

Recommended Posts

This is probably not the first time this has been done, but... How about if you have an iso map with differing heights. Say if you have a base ISO of 64*64 pixels and every ISO has a baseline and from this baseline a height. So, to blit the ISO you could read from bottom-right to top-left of the image: The following is crude to say the least...
  
   __________ 
  |    /\    |
  |   /  \   |
  |  /    \  |
  | /      \ |
  |/        \|
  |\        /|
  | \      / |
  |  \    /  |
  |   \  /   |
  |    \/    |
  ------------
  height=0 (flat)

   __________ 
  |    /\    |
  |   /  \   |
  |  /    \  |
  | /      \ |
  |/        \|
  |\        /|
  ||\      /||
  || \    / ||
  ||  \  /  ||
  ||   \/   ||
  ||   |    ||
  ||   |    ||
  ------------  <-read
  height=2 (from basline)

  
this way the images themselves can be different heights, without bothering about shifting imgaes up and down in memory. What''s your opinion ????? djsomers

Share this post


Link to post
Share on other sites