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 « 2037 2038 2039 2040 20413539 >

[2015-12-16. : 3:16 am]
zsnakezz -- hmm lets look at the download page obsessively for a sec
[2015-12-16. : 3:16 am]
Dem0n -- (that wasn't supposed to sound aggressive or anything)
[2015-12-16. : 3:15 am]
Dem0n -- You're not GeneralPie.
[2015-12-16. : 3:15 am]
zsnakezz -- yawn
[2015-12-16. : 3:15 am]
Dem0n -- The code has a shader variable called wire_shader that it calls the addShader() method on. After the shaders get linked, wire_shader sets an attribute buffer and enables an attribute array. Do you know why that is?
[2015-12-16. : 3:12 am]
Dem0n -- Does prepareShaderProgram() sound a good place to do that? :P
[2015-12-16. : 3:10 am]
Dem0n -- :dontgetit:
[2015-12-16. : 3:10 am]
O)FaRTy1billion[MM] -- like your thing seems to handle shaders and shit for you, so just find some code that sets a uniform and copy+paste
[2015-12-16. : 3:09 am]
O)FaRTy1billion[MM] -- I just stored it in a struct. I think a tut or something I was following was like LOL KEEP STUFF IN A STRUCT!
[2015-12-16. : 3:07 am]
lil-Inferno -- Homeworkbox smh.
[2015-12-16. : 3:07 am]
Dem0n -- What does g_resources.uniforms.seed do?
[2015-12-16. : 3:05 am]
O)FaRTy1billion[MM] -- oh, and g_resources.uniforms.seed = glGetUniformLocation(g_resources.program, "rseed"); is in the shader init function
[2015-12-16. : 3:05 am]
O)FaRTy1billion[MM] -- in my frag shader I have uniform float rseed; and then some shitty line of code that adds noise based on rseed. in the c++ code I have glUniform1f(g_resources.uniforms.seed, (float)rand()/RAND_MAX); img
[2015-12-16. : 3:02 am]
O)FaRTy1billion[MM] -- 1 sec, I found a project with it
[2015-12-16. : 2:59 am]
Dem0n -- FaRTy1billion
FaRTy1billion shouted: you need to edit those, add a uniform or w/e to the fragment shader and then set the uniform in your code to a random value
How do I pass in the random value, though?
[2015-12-16. : 2:58 am]
O)FaRTy1billion[MM] -- open the shader file, it should be a txt file
[2015-12-16. : 2:58 am]
O)FaRTy1billion[MM] -- Dem0n
Dem0n shouted: Wanna see what I got done so far? :O
ya
[2015-12-16. : 2:57 am]
O)FaRTy1billion[MM] -- you need to edit those, add a uniform or w/e to the fragment shader and then set the uniform in your code to a random value
[2015-12-16. : 2:57 am]
Dem0n -- wut
[2015-12-16. : 2:57 am]
O)FaRTy1billion[MM] -- the files are the uncompiled shaders
[2015-12-16. : 2:57 am]
Dem0n -- Wanna see what I got done so far? :O
[2015-12-16. : 2:57 am]
Dem0n -- They read from files in the code given to us. I don't know how to change it that it takes in random values.
[2015-12-16. : 2:56 am]
O)FaRTy1billion[MM] -- Dem0n
Dem0n shouted: Anyone know how to create random numbers inside a fragment shader? I don't think you can just call the rand() function within one.
you have to pass a random value to it each time
[2015-12-16. : 2:09 am]
lil-Inferno -- We can ally vic mid-game for ez wins.
[2015-12-16. : 2:09 am]
lil-Inferno -- Moose 1v1 me now.
[2015-12-16. : 1:42 am]
Vrael -- sounds like life
[2015-12-16. : 1:41 am]
Moose -- "It's a complete headache if you're not actually invested in any of it." Sounds like C++ ¯\_(ツ)_/¯
[2015-12-16. : 1:37 am]
jjf28 -- <3 ASP.NET
[2015-12-16. : 1:30 am]
jjf28 -- its like, what did I learn all this linear algebra for if I don't get to draw stuffs
[2015-12-16. : 1:30 am]
Dem0n -- You'd probably like learning on your own much better
[2015-12-16. : 1:30 am]
Dem0n -- information is so dry
[2015-12-16. : 1:30 am]
Dem0n -- it sux
[2015-12-16. : 1:29 am]
jjf28 -- I do at some point, wanted to take a graphics course in college but that was only for fall semester :(
[2015-12-16. : 1:28 am]
Dem0n -- Don't learn it unless you actually want to do graphics stuff. It's a complete headache if you're not actually invested in any of it.
[2015-12-16. : 1:26 am]
jjf28 -- you can prolly write to some array in memory, I just dunno opengl yet :)
[2015-12-16. : 1:20 am]
Dem0n -- Maybe I'll just have a lame project and have all my fireworks be the same color
[2015-12-16. : 1:20 am]
Dem0n -- no thx lel
[2015-12-16. : 1:19 am]
jjf28 -- ofstream*
[2015-12-16. : 1:19 am]
jjf28 -- ostream aFile("myFilePath\\myFileName.extension"); aFile << myValues; aFile.close();
[2015-12-16. : 1:17 am]
Dem0n -- Dunno how to write to file in C++, also fuck that even if I did know
[2015-12-16. : 1:17 am]
jjf28 -- #hax
[2015-12-16. : 1:16 am]
jjf28 -- write a file with random values then read it? :kame:
[2015-12-16. : 1:16 am]
Dem0n -- smh, opengl, smh
[2015-12-16. : 1:16 am]
Dem0n -- but srsly how do you pass in random values to a shader rather than have it read values from a file
[2015-12-16. : 1:16 am]
jjf28 -- screw dat, 4-nexus probe mass
[2015-12-16. : 1:13 am]
Moose -- Gotta get good at the basics tho, then you can cheese better
[2015-12-16. : 1:10 am]
jjf28 -- stable strats too boring
[2015-12-16. : 1:10 am]
Dem0n -- Nigga's all about those cheese strats, smh.
[2015-12-16. : 1:10 am]
Dem0n -- If you do, just defend against tank drops and you'll win ez.
[2015-12-16. : 1:09 am]
Moose -- lil-Inferno
lil-Inferno shouted: Moose 1v1 me.
1v1 python?
[2015-12-16. : 1:08 am]
Moose -- All for that leather trim and some better rims. We just a need a dollar y'all forget the tomfoolery
[2015-12-16. : 1:08 am]
Moose -- Around the world, many seek opportunity, but some chase the green, get the blues and a eulogy
[2015-12-16. : 1:08 am]
Moose -- In Japan, where a tsunami killed thousands. Haiti, Indonesia, New Orleans public housing
[2015-12-16. : 1:07 am]
Moose -- Is this America's greed, or survival skills? We needs a dollar from the streets to the highest hills
[2015-12-16. : 1:07 am]
Moose -- Kids steal a 12 gauge, protection from a blade, or put it in a tellers face to offset minimum wage
[2015-12-16. : 1:07 am]
Moose -- A century later ain't a damn thing changed, the homeless shake cans for a dollar and some change
[2015-12-16. : 1:07 am]
lil-Inferno -- Moose 1v1 me.
[2015-12-16. : 1:07 am]
Moose -- Shaking pans, making plans for a hold up, killing millions of Indians arrows and bows flushed
[2015-12-16. : 1:07 am]
Moose -- I'm from the west, SF, started by the gold rush, where 300 thou came to get their pockets swoll up
[2015-12-16. : 1:06 am]
jjf28 -- delete facebook, apply math, profit
[2015-12-16. : 1:06 am]
Dem0n -- moose pls teach me about shaders lel
[2015-12-16. : 1:01 am]
Moose -- (。◕‿‿◕。) hi
[2015-12-16. : 12:54 am]
jjf28 -- hi'der
[2015-12-16. : 12:53 am]
Voyager7456 -- hello
[2015-12-16. : 12:52 am]
jjf28 -- :voy:
[2015-12-16. : 12:47 am]
Dem0n -- Anyone know how to create random numbers inside a fragment shader? I don't think you can just call the rand() function within one.
[2015-12-16. : 12:26 am]
jjf28 -- http://m.9gag.com/gag/a5P3yvr
[2015-12-16. : 12:21 am]
Roy -- It's harder to eat 6.5 pounds of lettuce than it is to eat the caloric-equivalent 2 ounces of bacon.
[2015-12-16. : 12:19 am]
Roy -- "The reason for this is because on a per-calorie basis..." Well, duh, you'd need a head of lettuce for every two slices of bacon. My guess is that you aren't going to eat four heads of lettuce in one sitting, though.

Pages: < 1 « 2037 2038 2039 2040 20413539 >


Members Online: jjf28