From: Dan P. <ba...@al...> - 2005-11-20 17:59:31
|
On Nov 20, 2005, at 9:07 AM, Sam Steele wrote: > These all sound pretty useful, and they're probably implemented > better than my two. Ok cool, I'll see about adding some of this stuff soon. > This was one of the most impressive parts of FoF to me. I remember > scrolling through it and thinking "This is so not a power-of-two > texture.. how'd he do that?" ;-) Might be fun to combine that with > my http-client KOS demo for a ghetto in-game browser, DreamPassport > style! Heh! What would you say if I told you it's already been done? ;) I was actually going to do that for something I was working on but the project never got finished. Pretty fun to see it go out to the web and grab stuff though. That might be another nice package in Tiki -- networking abstractions. Especially in Win32 where you have to do some crazy stuff with WinSock. Anyway, the manual viewer does actually use power of 2 textures. It just lets you specify how big they are on screen. The manual source syntax is based on TeX (which I discovered is very easy to parse :). Here's an example: \just{center}\ps{32}\color{white}About Cryptic Allusion \imagelink{0 128 256 dan} \imagelink{1 216 256 roddy} \imagelink{2 256 256 ca alpha} \image{2} \just{full}\ps{18}\color{gray} Cryptic Allusion (CA for short) was originally conceived almost ten years ... The app that builds all that stuff is just a C++ cmdline tool that takes your source file, any TXFs you're using, images, etc, justifies and formats everything, and basically builds a display list for the browser to use at runtime. I've always been a bit of a compiler geek so that was fun to write ;) |