Members in Shoutbox
None.

Shoutbox Search
Search for:


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.
Pages: < 1 « 2042 2043 2044 2045 20463539 >

[2015-12-14. : 3:59 am]
Dem0n -- Is that anywhere close to being right
[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:57 am]
Dem0n -- well wat da fuk yo :massimo:
[2015-12-14. : 3:54 am]
O)FaRTy1billion[MM] -- Dem0n
Dem0n shouted: The viewing dimensions are -1 to 1, right?
typicallt
[2015-12-14. : 3:46 am]
poiuy_qwert -- Mini Moose 2707
Mini 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:46 am]
Dem0n -- The viewing dimensions are -1 to 1, right?
[2015-12-14. : 3:45 am]
O)FaRTy1billion[MM] -- make sure they have a color, too
[2015-12-14. : 3:45 am]
O)FaRTy1billion[MM] -- if you can't see (0,0,0) then I dunno what you did xD
[2015-12-14. : 3:45 am]
Dem0n -- I see nothing :rip:
[2015-12-14. : 3:45 am]
O)FaRTy1billion[MM] -- and the bounds within to put your points
[2015-12-14. : 3:45 am]
O)FaRTy1billion[MM] -- that should tell you how much you can see
[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:43 am]
O)FaRTy1billion[MM] -- plot like (0,0,0), then (0,0,1), then (0,1,0)
[2015-12-14. : 3:42 am]
Dem0n -- idk :hurr:
[2015-12-14. : 3:42 am]
O)FaRTy1billion[MM] -- dunno, which way is up?
[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:42 am]
O)FaRTy1billion[MM] -- unless you're doing like ortho with screen coords
[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:41 am]
Moose -- smh, lost my magic box stats
[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 -- Yeah I'm using GL_POINTS
[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:39 am]
Dem0n -- I'm doing that but nothing gets drawn to the screen :(
[2015-12-14. : 3:38 am]
O)FaRTy1billion[MM] -- glVertex3f(x,y,z);
[2015-12-14. : 3:38 am]
Dem0n -- farty how do u use glvector3f to draw 3d points
[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-14. : 3:34 am]
O)FaRTy1billion[MM] -- :wob:
[2015-12-14. : 3:25 am]
Dem0n -- wut
[2015-12-14. : 3:18 am]
Moose -- What are you now, Dem0n?
[2015-12-14. : 3:16 am]
lil-Inferno -- Moose give money pls.
[2015-12-14. : 3:13 am]
lil-Inferno -- Yes, ally up.
[2015-12-14. : 3:12 am]
Moose -- Inferno, ally?
[2015-12-14. : 3:08 am]
Moose -- in my opinion*
[2015-12-14. : 3:08 am]
Moose -- Done like dinner imo
[2015-12-14. : 2:57 am]
Excalibur -- Moose is done I think
[2015-12-14. : 2:44 am]
Moose -- OK
[2015-12-14. : 2:44 am]
lil-Inferno -- Moose, ally?
[2015-12-14. : 2:44 am]
lil-Inferno -- Motherfuckers better know.
[2015-12-14. : 12:41 am]
BloodyZombie117 -- Jk.
[2015-12-14. : 12:41 am]
BloodyZombie117 -- Classic Ex.
[2015-12-13. : 11:57 pm]
Moose -- smh Ex gets a full house and doesn't start
[2015-12-13. : 11:47 pm]
Excalibur -- I can
[2015-12-13. : 11:13 pm]
Dem0n -- someone pls get on iccup real quick and host for me and inferno ;_;
[2015-12-13. : 11:11 pm]
Dem0n -- mooooooooooose
[2015-12-13. : 11:09 pm]
Dem0n -- why wont' bnet fucking access my account
[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:44 pm]
O)FaRTy1billion[MM] -- or tbldata+tblhdr[index]
[2015-12-13. : 10:43 pm]
O)FaRTy1billion[MM] -- though that should really be u16, not just short
[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. :P
[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. :P
[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 -- FaRTy1billion
FaRTy1billion shouted: Oh. tbl file is the exact same struct as STR section.
neat, also gross :P
[2015-12-13. : 10:38 pm]
Neiv -- ha
[2015-12-13. : 10:38 pm]
Neiv -- Guess it's like the string section in chk?
[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 -- Tbl has a lookup table at start of it
[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. :P

Pages: < 1 « 2042 2043 2044 2045 20463539 >


Members Online: Oh_Man