Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Compression Methods

Author
Message
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 11th Feb 2003 13:49
i wish i didn't have to post cause i wanted to wait until i'd got something good, but i kinda need an answer on this.

i've not done math for a good few years and certainly not on this scale ... would



be the same as (with the given that the (u,v) and (x,y) are arrays to the bitmap points )



i really can't remember what a SUM equasion is, gonna check through some books in a mo - but i'm sure someone understands this for me. This is just cause i need this compression method working and this would be simple with quadratics, but pro doesn't have them - and i havn't a clue howto do them outside of C

its very important i get this answer'd within the day else i can't use it - i'm on a very tight time limit
Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 11th Feb 2003 14:12
SUM? I'm pretty sure that's just a way of saying Summation in text (typically it would be represented with a Greek Sigma sign).

It just means "for" - like a "for next" loop, yeah? So the value ontop is the number of times to execute the loop and the value below is the value to increment by.

In your example:

7
SUM
i=0

is just counting from 0 to 7 and assigning the values to i.

HTH

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 11th Feb 2003 14:20
Oh and the forum messed your original equation up a bit I think because the 7/x=0 and 7/y=0 should be above the SUM and not shunted along to the right like that (would work out to well if they were there for real! especially as it works by feeding the values into the sum from the right).

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 11th Feb 2003 14:22
ahh... oki (^_^) thanks was wondering,
so should be



something like that? hopefully i can get it from that hehee

thanks

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 11th Feb 2003 15:43
lmao... oki i dont think i got it cause when i tried it, looked like some psycadellic mess

i think i'll save this as some standard encoding to make it simpler and add compression later when i have more time, now is getting on with the model format - "oh joy quanterions time!"

hehee, well atleast KG's getting some cool new toys ... and this is good practise.

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?

Login to post a reply

Server time is: 2026-07-06 20:49:44
Your offset time is: 2026-07-06 20:49:44