POV-Ray : Newsgroups : povray.off-topic : Very interesting... : Re: Very interesting... Server Time
12 Jun 2024 04:07:35 EDT (-0400)
  Re: Very interesting...  
From: triple r
Date: 8 Aug 2008 22:05:00
Message: <web.489cfa412b2c0b34ef2b9ba40@news.povray.org>
Chambers <ben### [at] pacificwebguycom> wrote:

> Wait... are you saying that he implemented a bitmap, but in decimal, and
> stored it as a float?
>
> Gah!!!

On reading that back, it really wasn't as clear as it was in my head--I should
work on that--but you got it!  Gah is right.  1100 (base 2) => 1100 (base 10)
=> 1100.0.  To get the information back out, you just do a log10, subtract the
largest power of ten, and repeat until you have all the information!  Not to
say I haven't done some dumb things in my day, but *that*...

 - Ricky


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.