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-11-07. : 4:23 am] O)FaRTy1billion[MM] -- just use one of the things I linked to, changing texture1 to texture0[2015-11-07. : 4:23 am] lil-Inferno -- anyone else see green in the shoutbox and just ignore it cuz you know it's gonna be some boring shit about homework help[2015-11-07. : 4:23 am] O)FaRTy1billion[MM] -- bind/active mean like set this as the one for opengl to read from/use in some way[2015-11-07. : 4:23 am] CecilSunkure -- it's easier when you have some working code and can just tweak it[2015-11-07. : 4:22 am] Dem0n -- But I dont' knwo what the fuck all this bullshit glBind/Active shit is and how I'm supposed to use it[2015-11-07. : 4:22 am] Dem0n -- From what I understand, the vertex shader goes to through each vertex of the model, and then passes that into the texture shader, which maps a texture from a corresponding coordinate in the texture image[2015-11-07. : 4:22 am] O)FaRTy1billion[MM] -- Dem0nDem0n shouted: I don't even know what the fuck I'm supposed to be doing I feel like you're able to do it, you're just being lazy and asking everyone else to do it for you xD[2015-11-07. : 4:22 am] CecilSunkure -- It's actually designed for a mainframe to run, in client-server style[2015-11-07. : 4:21 am] O)FaRTy1billion[MM] -- I think it might just be that it was designed in a much simpler time and now we have way more shit it can do and it just had to be shoved on top[2015-11-07. : 4:21 am] CecilSunkure -- just realize that OpenGL is designed in the worst way possible and everyone has to just deal with it[2015-11-07. : 4:19 am] O)FaRTy1billion[MM] -- Dem0nDem0n shouted: My TA said that GL_TEXTURE1 is used for the shadows, and that I should change it to GL_TEXTURE0 for the textures that makes sense, because when I read about it it said it starts with 0[2015-11-07. : 4:19 am] CecilSunkure -- So, your TA wants memory in texture0 for textures, and texture1 for shadows[2015-11-07. : 4:19 am] CecilSunkure -- So a texture in OpenGL is just a way to send memory to the GPU[2015-11-07. : 4:18 am] Dem0n -- My TA said that GL_TEXTURE1 is used for the shadows, and that I should change it to GL_TEXTURE0 for the textures[2015-11-07. : 4:17 am] CecilSunkure -- glActiveTexture(GL_TEXTURE1); is saying which texture the next draw call should use[2015-11-07. : 4:15 am] O)FaRTy1billion[MM] -- http://pastebin.com/Yd72e2bG is what I was thinking, but I'm not sure what glActiveTexture(GL_TEXTURE1); is[2015-11-07. : 4:08 am] O)FaRTy1billion[MM] -- Dem0nDem0n shouted: I dont' think that's what he's implying did you get your thing working?[2015-11-07. : 4:05 am] O)FaRTy1billion[MM] -- How can Miss Universe claim to be something so universal if not everyone is allowed to be represented?[2015-11-07. : 4:03 am] O)FaRTy1billion[MM] -- Why shouldn't there be men? Are you saying approximately half of all people should just arbitrarily be forbidden?[2015-11-07. : 3:57 am] KrayZee -- Watching BlizzCon cosplays go on stage like that is a lot like Miss Universe...[2015-11-07. : 3:25 am] O)FaRTy1billion[MM] -- CorboCorbo shouted: KrayZee KrayZee SEN Vista would be awesome which one was SEN ME?[2015-11-07. : 3:20 am] BloodyZombie117 -- Always feed your cats, before they decide you're not pleasing them anymore and feast upon you for generations to come.[2015-11-07. : 3:20 am] O)FaRTy1billion[MM] -- That's right, I should feed the cat. Maybe that's why she's been meowing so much[2015-11-07. : 3:15 am] lil-Inferno -- I demand a 50% cut because I indirectly caused you to pick that box.[2015-11-07. : 3:14 am] lil-Inferno -- We almost drew a guy jumping for joy but with a stick penetrating his butt.[2015-11-07. : 3:14 am] O)FaRTy1billion[MM] -- but try the things I said. Assuming I'm understanding correctly, one might work or the other will return the value from QOpenGLTexture that you're trying to use[2015-11-07. : 3:13 am] O)FaRTy1billion[MM] -- it's a boolean to say if it has a texture .. it's probably not important, but if a mat doesn't have a texture then that will be false and trying to load the texture might cause problems[2015-11-07. : 3:12 am] Dem0n -- No I think it's just a boolean to indicate whether it's a texture or not[2015-11-07. : 3:11 am] O)FaRTy1billion[MM] -- also .. "mat.is_texture = true;" does it want like an "if(mat.is_texture)" somewhere? xD[2015-11-07. : 3:09 am] O)FaRTy1billion[MM] -- so I'd try the bind to see if that's the correct one, otherwise glBindTexture(GL_TEXTURE_2D, meshList[i]->materials[i].map_Kd.textureId());[2015-11-07. : 3:08 am] O)FaRTy1billion[MM] -- It looks like a wrapper for binding/prepping the texture in opengl[2015-11-07. : 3:06 am] O)FaRTy1billion[MM] -- meshList[i]->materials[i].map_Kd.bind() ? I don't know what QOpenGLTexture, it seems important to know how it works |