00:08:29 | | sam686 Quit (Ping timeout: 245 seconds) |
00:46:29 | | Watusimoto Quit (Ping timeout: 255 seconds) |
00:55:46 | | sam686 has joined |
00:55:46 | | ChanServ sets mode +v sam686 |
01:25:55 | | raptor has joined |
01:25:55 | | ChanServ sets mode +o raptor |
02:15:06 | sam686 | what does this look like? http://sam686.maxhushahn.com/upload/screenshot_graphics_error_1.png |
02:15:34 | sam686 | a bug on nouveau driver for nvidia graphics that linux uses by default? |
02:41:14 | raptor | wow! |
02:41:16 | raptor | probably |
02:41:30 | raptor | i always uninstall nouveau and install the nvidia drivers |
02:53:08 | | zoomber_mbp has joined |
02:53:16 | zoomber_mbp | hi raptordragon |
02:53:24 | zoomber_mbp | sam686, get my message before? |
02:53:58 | raptor | hi? |
02:54:51 | sam686 | really? strange noise was coming from my keyboard? I guess the wobbly spacebar make noise from computer vibrating table.. |
02:56:04 | zoomber_mbp | hmm |
02:56:32 | zoomber_mbp | anyways sam, what do you think about this VPS provider |
02:56:41 | zoomber_mbp | liquid-solutions.biz/ |
02:56:55 | zoomber_mbp | they're deal is amazing, but i'm worried if they'll be alive for a year or not |
03:01:00 | zoomber_mbp | sam686? |
03:01:25 | sam686 | well, i am trying linux (again) as a desktop - debian wheezy with xfce |
03:02:01 | sam686 | 64-bit too (as my Pentium D is 64 bit capable) with 3.5 MB RAM |
03:07:40 | zoomber_mbp | yes! i can add funds to the company! |
03:08:04 | zoomber_mbp | Sam this is great news, if this all blows over quickly, for a bit more money i will be buying a 2 GB VPS server for a year |
03:08:16 | zoomber_mbp | well more than a little bit of money, but still a GREAT deal |
03:08:27 | zoomber_mbp | i sent them a support ticket asking for a test drive |
03:08:41 | zoomber_mbp | also, server is down, doesn't a cron script automatically reboot it though? |
03:09:18 | zoomber_mbp | Anyways, what i meant was the new 66 server i bought was revoked, not the 216 server. i will still be paying for that one the next year, so don't worry about loosing anything there |
03:10:31 | sam686 | ok, maybe the server 66 was revoked after about a few minutes / hours it was up and never got to ssh to it? |
03:11:19 | zoomber_mbp | it was revoked because of something wrong I inputed, and i was refunded money, |
03:11:27 | zoomber_mbp | is the 216 server working though? |
03:12:45 | sam686 | i wasn't checking |
03:12:58 | sam686 | but one of my comptuer's hard disk stopped working.. |
03:14:56 | sam686 | dead hard disk noise http://sam686.maxhushahn.com/upload/hdddead.wav which sound kind of funny. |
03:18:54 | zoomber_mbp | Oooh, i should show you my old ibook's hard disk drive sound! |
03:19:01 | zoomber_mbp | it would *hiss* at mee |
03:58:00 | zoomber_mbp | raptor able to play a game with sam686 and i? |
04:00:29 | raptor | hi |
04:00:40 | raptor | not at the moment, no... sorry :( |
05:05:02 | zoomber_mbp | hi |
05:05:09 | zoomber_mbp | sam686 on? |
05:19:45 | sam686 | zoomber_mbp on ? |
05:20:09 | zoomber_mbp | yes |
05:20:19 | zoomber_mbp | i'm not so sure I should buy the server anymore |
05:20:24 | zoomber_mbp | maybe ill go back to jollyworkshosting |
05:22:05 | sam686 | maybe you might have a little too much servers i think? |
05:22:50 | zoomber_mbp | i only have 216, which will be the only one I'm continuing |
05:23:01 | zoomber_mbp | 74 and 208 will end soon, and I won't be rebuying those |
05:23:26 | zoomber_mbp | Which means ill had 216, and possibly another server, that's why I'm doing all this searching |
05:24:27 | sam686 | 1 GB or less - go with 32 bit operating system expecially if the RAM is the limits (especially if vps don't let you enable SWAP) |
05:24:58 | zoomber_mbp | it may be a 1 GB dec + 1GB burst server, so 32 bit is better, but I'm not sure that host is so credible or not.. |
05:25:52 | sam686 | vps might not always be able to "burst" the extra RAM, also burstable RAM always disallow swap, i think.. |
05:26:20 | zoomber_mbp | yeah, i know that, but i'm just wondering if the host will survive for a year, / if my server will function |
05:27:26 | sam686 | almost like asking if your computer will survive for a year, my computer fails to start because of dead hard disk, though I did switch out hard disk and install linux for now..... |
05:28:09 | zoomber_mbp | right, what i'm wondering, if them as a company will survive, or cheat me out of my service |
05:28:17 | zoomber_mbp | just skeptical right now |
05:29:19 | sam686 | i think if the company was there for over 5 years, then probably will survive for few more years.. |
05:29:40 | sam686 | company that just started have higher chance of not surviving, i think |
05:30:14 | zoomber_mbp | yes, |
05:31:56 | raptor | !! |
05:32:08 | raptor | i just got libtomcrypt and libtnl to compile for android |
05:32:16 | zoomber_mbp | nice! |
05:32:20 | zoomber_mbp | now get them to compile for mac |
05:32:23 | zoomber_mbp | ios* |
05:32:31 | raptor | no way... |
05:33:09 | zoomber_mbp | possible bit fighter on android is being coded? |
05:33:23 | raptor | zoomber_mbp: not really, more of a discovery |
05:33:48 | raptor | like - i'm teaching myself how to use the android sdk, and i figured why not try on bitfighter |
05:34:17 | sam686 | let me guess, android fails to compile bitfighter due to some missing opengl commands or other libraries? |
05:34:29 | raptor | i'm no where near that yet... |
05:34:38 | raptor | I have to figure out openAL and SDL2 first... |
05:35:00 | zoomber_mbp | hmm |
05:35:20 | zoomber_mbp | now that i have terminal working on my iPhone, and it has apt-get installed on it, MAYBE i can see what i can do there command line? :l |
05:35:22 | zoomber_mbp | :o |
05:35:54 | raptor | command line on mobile devices is death |
05:36:20 | zoomber_mbp | :o, installed make |
05:36:23 | raptor | i'd rather my 9-month-old son try and gouge my eyes out all day |
05:36:37 | sam686 | too small to type on mobile android? or was it an evil command that bricks it? |
05:36:41 | zoomber_mbp | and so goes another distraction of mine.. |
05:38:22 | zoomber_mbp | uname -a returnst this: |
05:39:26 | zoomber_mbp | Darwin Yo 11.0.0 Darwin Kernel Version 11.0.0: Sun Apr 8 21:51:47 PDT 2012; root:xnu-1878.11.10~1/Release_ARM_S5L8940X iPhone4,1 arm N94AP Darwin |
05:39:39 | zoomber_mbp | "Yo" is probably my iPhone's name, (i set that) |
05:41:19 | sam686 | Linux debian986 3.2.0-2-amd64 #1 SMP Mon Jun 11 17:24:18 UTC 2012 x86_64 GNU/Linux |
05:41:31 | zoomber_mbp | Will have any success with darwin? |
05:41:33 | sam686 | excuse me for my made up "debian986" name.. |
05:43:13 | zoomber_mbp | i just installed wget on it |
05:43:17 | zoomber_mbp | this is going to be a long address |
05:44:57 | zoomber_mbp | Now i am wget'ing Mercurial source |
05:46:28 | raptor | you can't actually develop for iphone on iphone... |
05:46:38 | raptor | you need a real mac to do it... |
05:46:42 | zoomber_mbp | looks like i need python |
05:46:44 | zoomber_mbp | downloading it |
05:47:00 | sam686 | a real mac? or a virtual mac? |
05:47:07 | zoomber_mbp | The determination of mind and resolvement of will will make me unstoppable! |
05:47:28 | zoomber_mbp | oooooh, sam got you good there though, i have to admit |
05:47:50 | zoomber_mbp | noo, i lost conception, time to restart |
05:47:57 | zoomber_mbp | whoops, my spelling is loopy today |
05:48:18 | zoomber_mbp | oh i see, its just really slow and appears like it's not updating in %ages |
05:48:19 | sam686 | i think wget can resume stopped inturrupted downloads? |
05:48:59 | zoomber_mbp | no, i'm using apt-get sam, but python is 11MB, and connection rate is 4 kB/s |
05:49:10 | zoomber_mbp | lmfao i'm going to stop this download |
05:49:25 | zoomber_mbp | yeah it went too slow, failed |
05:49:40 | sam686 | 4 gB/s = 32 kbps - dialup speed? |
05:51:11 | sam686 | maybe set it to use a different mirror, if there is one? maybe the server might be buzy? |
05:55:32 | zoomber_mbp | no, connection wise, I'm finally onto a better network now though |
05:56:20 | | zoomber_mbp_ has joined |
05:56:22 | zoomber_mbp_ | ok |
05:56:23 | zoomber_mbp_ | finally |
05:57:07 | raptor | luavec compiles! |
05:58:37 | raptor | SDL2 compiles too |
05:58:42 | raptor | now the ugly: OpenAL |
05:59:49 | zoomber_mbp_ | yay |
05:59:59 | zoomber_mbp_ | well at least you can compile a server if AL fails |
06:00:03 | sam686 | you could always use the no-audio code like the dedicated does without openal library stuff.. |
06:00:06 | | zoomber_mbp Quit (Ping timeout: 264 seconds) |
06:00:07 | | zoomber_mbp_ is now known as zoomber_mbp |
06:00:13 | raptor | huh... didn't think of that... that's a good idea |
06:00:19 | zoomber_mbp | what sam said |
06:00:51 | zoomber_mbp | 278KB/s is a MUCH faster speed, don't you think? |
06:01:26 | sam686 | 2000KB/s is much faster, jsut about the speed I get.. |
06:02:38 | raptor | FYI, this is good when learning git: http://byte.kde.org/~zrusin/git/git-cheat-sheet-medium.png |
06:03:34 | sam686 | or could use HG-GIT to let HG pull git, because umm there isn't a very good GUI for GIT |
06:03:48 | raptor | haha, true, i forgot about that.. |
06:03:48 | sam686 | for windows... |
06:05:25 | zoomber_mbp | ok, compiling HG |
06:15:16 | sam686 | i tried, but it looks like i couldn't get "Nvidia" to work, but "Nouveau" seem to be kindof fast for my old nvidia graphics anyway (except one glitch) - 137 FPS 1280 x 1024 fullscreen bitfighter.. |
06:16:03 | sam686 | the glitch: http://sam686.maxhushahn.com/upload/screenshot_graphics_error_1.png |
06:18:26 | zoomber_mbp | gcc now working on my iphone |
06:19:01 | zoomber_mbp | now headers and libraries |
06:21:43 | sam686 | good luck trying to even get sound, input, network, and graphics to work... |
06:24:18 | zoomber_mbp | i'm not even going to try that |
06:24:27 | zoomber_mbp | actually, for kicks, i will |
06:24:38 | zoomber_mbp | lets see what the first error turns out to be |
06:25:07 | raptor | openal compilied! |
06:25:38 | raptor | oh man, i have to sleep |
06:25:40 | raptor | good night! |
06:26:31 | zoomber_mbp | i guess androids the way to go |
06:26:32 | zoomber_mbp | night |
06:27:05 | raptor | well, if i had a developer friendly mac environment, i'd probably get to the same stage by now for iOS |
06:27:15 | raptor | might even be farther... |
06:27:28 | zoomber_mbp | raptor, my first attempt to build bit fighter from the iphone: |
06:27:29 | raptor | the real problem will come with developing a UI... |
06:27:40 | zoomber_mbp | Yo:~/t/bf/bitfighter-017b root# make |
06:27:41 | zoomber_mbp | make[1]: Entering directory `/private/var/root/t/bf/bitfighter-017b/tnl' |
06:27:42 | zoomber_mbp | g++ -DTNL_ENABLE_LOGGING -I../libtomcrypt/src/headers -I../libtomcrypt -O2 -c assert.cpp |
06:27:43 | zoomber_mbp | In file included from tnl.h:35, |
06:27:44 | zoomber_mbp | from assert.cpp:27: |
06:27:45 | zoomber_mbp | tnlTypes.h:40:15: error: new: No such file or directory |
06:27:48 | zoomber_mbp | oops, probably should have pastebinned that |
06:27:58 | raptor | ha! |
06:28:06 | zoomber_mbp | after looking at the rest of it |
06:28:20 | raptor | sounds like you don't have the c++ standard libs (stl) set up right.. |
06:28:22 | zoomber_mbp | I have 0% hope |
06:28:23 | zoomber_mbp | http://pastebin.com/Tb0sPpva |
06:28:31 | zoomber_mbp | not yet i dont... |
06:28:52 | raptor | ok sleep time |
06:28:58 | | raptor Quit () |
06:32:55 | zoomber_mbp | sam686, talked to jollyworkshosting again |
06:33:18 | zoomber_mbp | I talked about a custom order, they said in the offer for a 2vCPU core |
06:33:32 | zoomber_mbp | does that mean 2 cores? or just 1 2Ghz core like before? |
06:34:26 | sam686 | not sure, maybe they mis-typed it or it might mean something else? |
06:39:46 | zoomber_mbp | ah, 2-vcpu i guess means, 2 virtual cpus? |
06:42:59 | zoomber_mbp | eh, i just sent a ticket asking that |
07:08:16 | zoomber_mbp | nice sam686, it's two cores, and they're giving me up to 2.8 Ghz speed (i think) |
07:08:25 | zoomber_mbp | or maybe up to 2 Ghz, but the core holds 2.8Ghz |
07:08:28 | zoomber_mbp | either way, this is awesome-o |
07:12:36 | sam686 | going to bed now... |
07:13:14 | | sam686 has left |
07:24:38 | zoomber_mbp | interesting way of setting up a custom fps account |
07:24:39 | zoomber_mbp | vps |
07:25:15 | zoomber_mbp | After talking to such kind support, they gave me a custom link, which was 0 dollars for a custom not defined vps |
07:25:31 | zoomber_mbp | After checkout, the thing already appears as a service, and boots with 384 MB. |
07:25:47 | zoomber_mbp | Note this is before they applied the actual customization, and before Ive added funds either |
07:26:17 | zoomber_mbp | so technically they somehow fooled themselves, i suppose |
07:26:30 | zoomber_mbp | anyways, at least they're such great support |
07:37:31 | zoomber_mbp | there we go, all sorted |
07:55:20 | | zoomber_mbp Quit (Quit: zoomber_mbp) |
08:32:20 | | Watusimoto has joined |
10:13:18 | | Watusimoto Quit (Ping timeout: 264 seconds) |
10:51:32 | | Watusimoto has joined |
12:12:06 | | Watusimoto Quit (Ping timeout: 264 seconds) |
13:28:47 | | raptor has joined |
13:28:47 | | ChanServ sets mode +o raptor |
15:35:46 | | kaen has joined |
16:06:04 | raptor | well kaen, i have most supporting libraries built for android now... |
16:06:42 | raptor | did you end up doing any work on OpenGL? |
16:10:52 | raptor | not that i expected any particular work, i was just curious if you had done anything that may make my future job easier :) |
16:12:44 | kaen | nothing useful, I'm afraid. but great work on building those libs! |
16:13:03 | raptor | ok... |
16:13:15 | raptor | i think i'll have to start migrating to openGL ES 1 |
16:13:33 | raptor | it *shoudl* stay compatible with GL 1.1 |
16:14:31 | | Watusimoto has joined |
16:14:49 | raptor | argh... i'll probably just have to disable sound somehow... |
16:18:03 | raptor | hi Watusimoto |
16:18:08 | Watusimoto | hi |
16:18:28 | raptor | soo... i got TNL, luavec, libtomcrypt, and SDL2 compiled for android... |
16:18:31 | raptor | :) |
16:18:49 | raptor | just as a learning experiment, of course |
16:20:25 | Watusimoto | really |
16:20:27 | Watusimoto | great! |
16:20:32 | raptor | for reals |
16:20:50 | Watusimoto | so... what's left? core bitfighter? |
16:21:04 | raptor | well... the audio is giving me a bit of a headache |
16:21:15 | raptor | so, i think i'll just skip it for now and start on the core |
16:21:31 | raptor | because we already can disable it with ZAP_DEDICATED |
16:21:54 | Watusimoto | well, awesome |
16:22:29 | raptor | now i fully expect that if I get everything to compile, the hard part will then begin: UI |
16:29:50 | Watusimoto | I don't think the UI will be that hard after we figure out what needs to happen |
16:37:21 | raptor | i hope not... |
16:37:48 | raptor | but this sort of stuff with getting things compiled, etc., is my strong point |
16:40:15 | Watusimoto | yes -- you do this very well |
16:40:36 | raptor | OK... on to compiling the core! |
16:42:48 | | BFLogBot - Commit f83369fdd22e | Author: buckyballreaction | Log: Use different define to disable audio |
16:43:10 | raptor | ^^ that also fixes dedicated again on linux.. |
16:50:56 | Watusimoto | yay! |
17:13:08 | raptor | argh - if I ifdef out a constructor |
17:13:32 | raptor | and put an empty one in the corresponding #else block, i get linker errors |
17:16:34 | | kaen Quit (Remote host closed the connection) |
17:18:20 | | kaen has joined |
17:20:51 | raptor | and then I ask myself: "self, do you really want to support another platform?" |
17:23:35 | raptor | also remember to always return 0 instead of o |
17:25:41 | raptor | ah... missing virtual functions.. |
17:33:42 | raptor | yay boost problem solved... although it may be that you can *only* compile for android on linux now... |
17:35:15 | raptor | unless we remove boost... |
17:35:44 | raptor | which, as i grow older and wiser, i wonder if we should again... |
17:42:13 | raptor | ok, back in a couple hours |
17:46:32 | | raptor Quit (Ping timeout: 246 seconds) |
18:10:34 | | Watusimoto Quit (Ping timeout: 265 seconds) |
19:21:53 | | kaen Quit (Quit: making me loopy) |
19:23:47 | | kaen has joined |
19:26:20 | | kaen Quit (Remote host closed the connection) |
19:27:55 | | kaen has joined |
19:49:32 | | Watusimoto has joined |
19:54:55 | | raptor has joined |
19:54:56 | | ChanServ sets mode +o raptor |
20:06:25 | Watusimoto | hi |
20:06:51 | Watusimoto | lucky me -- I fell asleep while reading, and slept for 3 hours. |
20:07:02 | Watusimoto | I feel like it's about 6AM... totally off kilter |
20:07:10 | raptor | oh man |
20:07:22 | Watusimoto | also had a beer at lunch, and a cup of coffee just before I dozed off |
20:07:30 | Watusimoto | so my system is totally confused |
20:07:38 | raptor | your brain needs a reboot... |
20:07:43 | Watusimoto | indeed |
20:13:49 | raptor | cold shower? (REALLY cold...) |
20:28:58 | Watusimoto | maybe |
20:30:09 | Watusimoto | anyway, I'm trying to create an automated arg checker and documenter for lua functions that can be tied into that class map I was working on a while back; it's a beast |
20:30:34 | raptor | oooo |
20:31:12 | Watusimoto | I have totally ruined teleporter.cpp/h with all sorts of weird structs trying to figure out how it might work |
20:31:25 | Watusimoto | I will have a lot of cleanup if I decide it's a good way forward |
20:31:26 | raptor | nooooo |
20:31:33 | Watusimoto | well, a lot of cleanup in any event |
20:31:43 | Watusimoto | most of the cruft will need to move to LuaObject |
20:32:38 | Watusimoto | one of the ideas is to verify that all the lua arguments are of an appropriate type; the problem is each function might have multiple combinations of args it can accept |
20:33:16 | Watusimoto | right now each function does that independently, and there is no central repository of what signatures are permitted by each function |
20:34:53 | Watusimoto | it's very tricky working with arrays and macros, because the "," confuses the preprocessor |
20:35:20 | Watusimoto | because of course I'm trying to force this all through the xmacro framework |
20:35:37 | Watusimoto | finally built!!!!!!! |
20:36:21 | | koda has joined |
20:39:28 | Watusimoto | almost kind of works |
20:39:36 | Watusimoto | surprisingly, given the complexity |
20:39:50 | Watusimoto | only one of my 6 test cases failed |
20:40:53 | Watusimoto | but I need a better class name than xx |
20:44:58 | Watusimoto | actually, all the tests worked; I had a problem in the test itself |
20:53:02 | raptor | yay! |
20:53:11 | raptor | (sorry stepped away for supper) |
20:53:43 | Watusimoto | no worries |
20:54:03 | raptor | i'm down to GLES errors! |
20:54:04 | raptor | yay |
20:54:26 | raptor | ClientGame was a good first class to try to compile... |
20:56:52 | Watusimoto | did it work? |
20:57:01 | Watusimoto | (I know the answer) |
20:57:10 | Watusimoto | (I NO the answer) |
20:57:33 | raptor | ha |
20:57:41 | raptor | i'm down to just these with CLientGame: http://pastie.org/4217173 |
20:57:48 | raptor | used to be like 50 pages of errors |
21:01:18 | raptor | and interesting fact: by default android doesn't let you have run-time type information available |
21:01:30 | raptor | so no dynamic_cast, typeid |
21:01:43 | raptor | found the workaround |
21:07:02 | Watusimoto | interesting |
21:07:13 | Watusimoto | we don't really need dynamic cast much anymore |
21:07:22 | Watusimoto | most can be replaced with static, I think |
21:07:30 | Watusimoto | unless we really need to check the type |
21:08:37 | Watusimoto | lua_isstring returns true when the item is a number |
21:08:41 | Watusimoto | for better or worse |
21:08:46 | raptor | ha |
21:08:50 | raptor | a direct number? |
21:08:55 | raptor | like 5 instead of "5"? |
21:09:00 | Watusimoto | testItem:addDest(100) |
21:09:06 | Watusimoto | 100 will be considered a string |
21:09:31 | Watusimoto | the logic being, I think, that it's trivial to make it a string if you want it to be one |
21:09:55 | Watusimoto | but that means we can't differentiate btwn method sigs that use strings and ints |
21:10:03 | Watusimoto | though i have no use case for needing to do so |
21:10:26 | raptor | anthing with chat messages? |
21:11:56 | Watusimoto | I doubt it -- we only want strings there |
21:11:58 | Watusimoto | I think |
21:12:14 | Watusimoto | does this syntax seem readable, or just confusing? |
21:12:15 | Watusimoto | // Fn name Accepted parameter profiles Profile count |
21:12:15 | Watusimoto | #define TELEPORTER_LUA_METHOD_TABLE \ |
21:12:15 | Watusimoto | TELEPORTER_LUA_METHOD_ITEM(addDest, ARRAYDEF({{ PTx, END }, { STRx, END }}), 2 ) \ |
21:12:15 | Watusimoto | TELEPORTER_LUA_METHOD_ITEM(delDest, ARRAYDEF({{ INTx, END } }), 1 ) \ |
21:12:15 | Watusimoto | TELEPORTER_LUA_METHOD_ITEM(clearDests, ARRAYDEF({{ END } }), 1 ) \ |
21:12:30 | Watusimoto | oops... would look better with fixed-width font |
21:12:52 | raptor | looking... |
21:12:54 | Watusimoto | in this fictional case, addDest could take a point or a string |
21:13:15 | Watusimoto | (and a point can be a luavec or two numbers) |
21:13:31 | raptor | seems readable enough to me |
21:13:33 | raptor | PTx? |
21:13:37 | raptor | is that another macro? |
21:13:40 | Watusimoto | no |
21:13:48 | Watusimoto | it's a temporary hack to avoid name collision |
21:14:04 | Watusimoto | lots of cleanup to do |
21:14:36 | Watusimoto | but that code will replace this |
21:14:38 | Watusimoto | const luaL_reg Robot::luaMethods[] = |
21:14:38 | Watusimoto | { |
21:14:38 | Watusimoto | { "getCPUTime", luaW_doMethod<Robot, &Robot::getCPUTime> }, |
21:14:38 | Watusimoto | { "getTime", luaW_doMethod<Robot, &Robot::getTime> }, |
21:14:38 | Watusimoto | ... |
21:14:58 | Watusimoto | and will let us document what parameters each lua function takes |
21:15:18 | Watusimoto | and will give us better parameter validation |
21:15:24 | Watusimoto | I hope |
21:15:37 | raptor | ok |
21:15:54 | Watusimoto | and, I hope, will not impact performance much |
21:16:12 | Watusimoto | (i.e. won't require much additional checking beyond what we do now) |
21:27:39 | raptor | hmmm... no glColor3f anymore |
21:27:51 | | raptor is reading the 128 page difference specification |
21:34:38 | Watusimoto | only 128 pages? |
21:35:08 | raptor | it the well, it's the differences between GL ES 1.1 and GL 1.5 |
21:35:43 | raptor | but i've already moved away from it: no examples |
21:37:07 | raptor | this is useful: http://pandorawiki.org/Porting_to_GLES_from_GL#Converting_the_easy_stuff |
21:38:19 | raptor | actually this'll be easier than I thought... |
21:40:26 | raptor | should i take the easy way out and just redefine the relevant functions? or should I actually convert everything? |
21:40:39 | raptor | e.g. for GL ES, you can just do: |
21:40:40 | raptor | #define glColor3f(a,b,c) glColor4f(a, b, c, 1.0f) |
21:40:48 | raptor | because glColor3f is missing |
22:16:26 | raptor | goodbye glVertex... :( |
22:27:39 | Watusimoto | ah... for the color stuff... why not? |
22:28:02 | raptor | ok, i'm starting the full port to ES 1.1 |
22:28:05 | Watusimoto | do we acually use glcolor3f much> |
22:28:17 | raptor | only a handful of times - i'm switching them now |
22:28:33 | Watusimoto | and most can just be glColor() |
22:28:50 | Watusimoto | only 19 refs |
22:29:10 | Watusimoto | and, actually, most could be named colors as well, but that's a side issue |
22:29:18 | raptor | yes |
22:34:21 | raptor | c++ question: |
22:34:53 | raptor | in the gl es example here: http://stackoverflow.com/a/421839 |
22:35:06 | raptor | he does something like this: |
22:35:08 | raptor | const GLshort v[8] = { x, y, x+w, y, x+w, y+h, x, y+h }; |
22:35:13 | raptor | can you use const there? |
22:48:49 | raptor | ClientGame compiled!!!! |
22:48:51 | raptor | !!! |
22:48:52 | raptor | !! |
22:51:04 | raptor | Watusimoto: should I disable screenshots for android? |
22:51:24 | Watusimoto | probably |
22:51:35 | raptor | yay, another library i don't have to compile... |
22:51:35 | Watusimoto | certainly for now |
23:05:07 | raptor | oh rats, gameObjectRender is already upon me |
23:06:04 | raptor | Watusimoto: did you see my 'const' question above? |
23:07:08 | raptor | actually forget it - i'll just not use it.. |
23:07:44 | | Watusimoto_ has joined |
23:09:44 | | Watusimoto Quit (Ping timeout: 245 seconds) |
23:18:36 | | sam686 has joined |
23:18:36 | | ChanServ sets mode +v sam686 |