Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2015-12-14. : 3:59 am] Dem0n -- glPointSize(3); glBegin(GL_POINTS); glColor4f(255, 0, 0, 1); glVertex3f(0, 0, 0); glEnd();[2015-12-14. : 3:58 am] Dem0n -- The code around it works... I have no experience with actually drawing stuff onto the screen (that was handled for me in all my projects), so I have no idea what I'm doing here.[2015-12-14. : 3:54 am] O)FaRTy1billion[MM] -- Dem0nDem0n shouted: The viewing dimensions are -1 to 1, right? typicallt[2015-12-14. : 3:46 am] poiuy_qwert -- Mini Moose 2707Mini Moose 2707 shouted: Turns out that the notepad in settings is really bad at unicode and saving/loading it a bunch of times will gradually expand to a bunch of garbage characters that eat everything after them. XDDDDDD bush hid the facts[2015-12-14. : 3:44 am] O)FaRTy1billion[MM] -- if you see only 1 pixel, then try .5s. If you still only see 1 pixel, try like 100[2015-12-14. : 3:43 am] Dem0n -- I have a value from the given code called yfov, which stands for y field of view, and it's used to set the frustum, so maybe?[2015-12-14. : 3:42 am] Dem0n -- Oh wait, is the y value the one that needs to be within the frustum?[2015-12-14. : 3:42 am] Moose -- Turns out that the notepad in settings is really bad at unicode and saving/loading it a bunch of times will gradually expand to a bunch of garbage characters that eat everything after them. XDDDDDD[2015-12-14. : 3:41 am] O)FaRTy1billion[MM] -- It depends on frustum and stuff more than actual screen dimensions[2015-12-14. : 3:41 am] Dem0n -- I believe so... If the screen is like 800x600, any values in between those will be on screen, right?[2015-12-14. : 3:40 am] O)FaRTy1billion[MM] -- Are the coordinates on-screen? Does an equivalent GL_TRIANGLES work?[2015-12-14. : 3:39 am] Dem0n -- I'm running that in the function that gets called repeatedly, each time with different parameters so that it looks like the points are moving upwards[2015-12-14. : 3:39 am] O)FaRTy1billion[MM] -- are you drawing as GL_POINTS instead of the usual GL_TRIANGLES?[2015-12-14. : 3:35 am] O)FaRTy1billion[MM] -- Not going to work and programming is the best decision I've ever made[2015-12-13. : 11:13 pm] Dem0n -- someone pls get on iccup real quick and host for me and inferno ;_;[2015-12-13. : 10:47 pm] O)FaRTy1billion[MM] -- read from tablePtr to EOF, then ignore the last 4 bytes.[2015-12-13. : 10:47 pm] O)FaRTy1billion[MM] -- with the aiscript.bin, it might be easier just to read to EOF and then just divide (EOF-tablePtr-4)/16 to get the count, then just read that directly.[2015-12-13. : 10:45 pm] O)FaRTy1billion[MM] -- The only benefit of a hardcoded list of AI names is at least one pair of them have the exact same name associated, and SCMD changed the names of at least the vision ones to be less ambiguous.. but those could be hardcoded exceptions if you choose to read from the data files.[2015-12-13. : 10:42 pm] O)FaRTy1billion[MM] -- char* tbldata = tblbuf; short* tblhdr = (short*)tbldata; return &tbldata[tblhdr[index]]; or something ... though I usually do it with a lot more casting instead of two variables. [2015-12-13. : 10:40 pm] O)FaRTy1billion[MM] -- I always just read tbl files with pointer magic, I don't even bother parsing them. [2015-12-13. : 10:39 pm] O)FaRTy1billion[MM] -- So the number of strings used is exactly the same as the capacity.[2015-12-13. : 10:39 pm] O)FaRTy1billion[MM] -- tbl files are a lot cleaner than STR section, though. They aren't intended to have strings be modified, added, or removed.[2015-12-13. : 10:38 pm] jjf28 -- FaRTy1billionFaRTy1billion shouted: Oh. tbl file is the exact same struct as STR section. neat, also gross [2015-12-13. : 10:38 pm] O)FaRTy1billion[MM] -- Oh. tbl file is the exact same struct as STR section.[2015-12-13. : 10:38 pm] Neiv -- There should be proper aiscript documentation somewhere. The opcodes have a lot of misleading names[2015-12-13. : 10:38 pm] jjf28 -- is a tbl file supposed to be just a NUL terminated string list? looks like it has some formatting to it...[2015-12-13. : 10:36 pm] O)FaRTy1billion[MM] -- Basically it's a list of 16-byte structs, except after the last one is just a 4-byte 0.[2015-12-13. : 10:33 pm] O)FaRTy1billion[MM] -- I just found the format and typed up a helpful thing for you, if you want it: http://pastebin.com/tEiWq7dE[2015-12-13. : 10:11 pm] O)FaRTy1billion[MM] -- Alternatively, you could read the AIScripts from aiscript.bin. I'm looking at the format right now.[2015-12-13. : 10:10 pm] O)FaRTy1billion[MM] -- Also before making huge lists like that, ask me first. I've probably already made such a list or know where to find it. |