[REBOL] Re: RFC: REBOL Home Multimedia Platform (RHMP)
From: robert:muench:robertmuench at: 30-Dec-2001 12:54
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of
> Petr Krenzelok
> Sent: Saturday, December 29, 2001 6:17 PM
> To: [rebol-list--rebol--com]
> Subject: [REBOL] Re: RFC: REBOL Home Multimedia Platform (RHMP)
> img: load %coins.jpg
> parse img [img-ptr:] ; a cool "hack" :-)
Hi, that's working... cool! I think I have to dump such an 'img to see what's
all contained in it :-)). Nice thing.
> it is fast - very fast. I can't imagine doing pick/poke upon each pixel
> of image on a larger image.
Yes right, Rebol isn't made for such things. A cool thing would be to have an
compile-on-demand dialect where you can write such direct face manipulation code
and get it compiled into assembler code for your platform. As you can see from
the C source, you only need to get your hands at the pointer, the rest is quite
easy.
> General convolution mechanism is not accessible from Rebol level.
Convolution? What's that?
> The question is - if you would like to create e.g. some fire effect
> (having face with some 20/sec fps timer set) how vital would be such
> often library access ...
Not at all. You would have to code your fire effect completly with C and just
trigger it once with some parameters from Rebol and than let it run.
> so you are skilled enough to create small listening server in C code?
Yeah, no problem.
> Now I understand your intentions ..... it would be interesting to hear
> RTs plans for such area though ...
:-)) I'm currently wirting a first draft of my idea and will publish it on my
website. There I want to collect all information, which than can be used to
start the coding.
My first thing I want to do is MP3 playback. Shouldn't be a big deal. My
favorite MP3 decoder library is MAD, it's integer only and sounds great! I went
to get the DigitalMars C++ compiler... just need to write some scripts for
building makefiles ;-)) It's a first shot but we will see. Robert