Hacking Andre's book...
rjo_
Posts: 1,825
The number of ah-ha moments per hour in reading Andre's book is astounding... and I have been studying what is available as best I could for a while now.
I have something of a fixed schedule. Everyday I wait in my car for about a half hour for my son's bus to get home... and I sit there playing sudoku or trying to find something to read or re-read. Andre has taken care of that... actually having a book in front of me of this kind of quality is an amazingly refreshing. And please allow me to say just how charmed I was to come over to this forum
I've seen some of the really cheap shots that the book cover has taken... and I was thinking that what Andre should do is rename the book and break it up into about 5 volumes for $29.95 each and put a carbon fiber cover on it[noparse]:)[/noparse]
On the serious side, I would like to share an "ah-ha" moment with you guys. There has been this constant, almost insane conversation about the merits of using the Prop for parallel processing and the relative power of the system.
I am basically a graphics guy... but I'm not formally trained. So there is a lot that I don't know, but I've done a fair bit of my own development and this I do know... there are lots algorithms that will interest you guys that will fit quite nicely into a parallelized Prop system. I haven't put one together because up until the last week there hasn't been any way to get images into the Prop of any real quality. That has now changed.
I can tell you flat out... that it is more than possible to put a very simple prop system together that will run rings around a Mac G5 doing the same algorithm in Java.
The "ah-ha" moment came to me when I was reading Andre's explanation of the VGA signal... and it became obvious that we can use the same lines and basically the same software approach to stream data down a parallelized pipe line... which makes really advanced 3D display/analysis, basic image processing, etc. etc. within easy grasp.
Saying it and doing it are two different things... but I'll be doing it and putting it here.
Thanks Andre.
Rich
I have something of a fixed schedule. Everyday I wait in my car for about a half hour for my son's bus to get home... and I sit there playing sudoku or trying to find something to read or re-read. Andre has taken care of that... actually having a book in front of me of this kind of quality is an amazingly refreshing. And please allow me to say just how charmed I was to come over to this forum
I've seen some of the really cheap shots that the book cover has taken... and I was thinking that what Andre should do is rename the book and break it up into about 5 volumes for $29.95 each and put a carbon fiber cover on it[noparse]:)[/noparse]
On the serious side, I would like to share an "ah-ha" moment with you guys. There has been this constant, almost insane conversation about the merits of using the Prop for parallel processing and the relative power of the system.
I am basically a graphics guy... but I'm not formally trained. So there is a lot that I don't know, but I've done a fair bit of my own development and this I do know... there are lots algorithms that will interest you guys that will fit quite nicely into a parallelized Prop system. I haven't put one together because up until the last week there hasn't been any way to get images into the Prop of any real quality. That has now changed.
I can tell you flat out... that it is more than possible to put a very simple prop system together that will run rings around a Mac G5 doing the same algorithm in Java.
The "ah-ha" moment came to me when I was reading Andre's explanation of the VGA signal... and it became obvious that we can use the same lines and basically the same software approach to stream data down a parallelized pipe line... which makes really advanced 3D display/analysis, basic image processing, etc. etc. within easy grasp.
Saying it and doing it are two different things... but I'll be doing it and putting it here.
Thanks Andre.
Rich
Comments
Intriguing! I don't know what you're getting at, but I'll be watching this thread with bated breath.
Andre'
I have managed to work partially (1/2) thru the book and have picked up so many pointers..
There are soo many questions asked here continously that are all answered by your master piece.
(mainly in the Propeller Forum)
So everybody that reads this message .. if your serious about getting to know the Propeller inside..out
do yourself a favour and buy the book or even better the Hydra Game full kit.
I just wish I had more time to play...
cheers Ron Mel OZ
Post Edited (OzStamp) : 1/4/2008 11:58:17 PM GMT
Anyway, glad you liked it [noparse]:)[/noparse]
Andre'
·· I could use a little help in the color selection area. I read the manual cover to cover but alot of the algorithems I won't need so I just glanced over them. Maybe I missed something in terms of palletes etc. A page number would be a great help.
Nice job Andre!!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
······· Q. What do you get if you put a trs-80 in a steambath?
······· A. A propchip with an attitude
······· "What do you mean, it doesn't have any tubes?"
······· "No such thing as a dumb question" unless it's on the internet
Technologically challenged individual, Please have pity.
Then you need to convert your art to the palette, this is rather easy, you need to convert your palette into a 256 color palette in the format your tooks likes, which many just need a list of 8 bit RGB values. Then you bring in your art and then convert using whatever algorithm to the nearest color in your target palette. Then you will quickly see what looks good and bad, and what colors to avoid.
That's about it really.
Andre'
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
E3 = Thought
http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
And this is the wrong sub-forum - Rinks, Rjo, Mpark: Please post it in the Propeller Forum!
How you pick colors depends on the driver being used. Some apply correction to the colors, others don't. Those are raw drivers, vs the Parallax ones.
Have you tried the palette program that comes with the Propeller tool? It will show you values that work with the Parallax drivers. Once you know the color value, then you put it in the colors array to assign it to the tile, or tiles of interest.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Wiki: Share the coolness!
Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
And thanks for the compliments on the book. That was a difficult book to write since it had to be to newbies and veterans, game programming, hardware, software, and about a chip that "barely" existed when I was writing it.
Andre'