[00:01:29] *** Sharkly has quit IRC
[00:02:07] *** tha_grid has quit IRC
[00:02:26] *** puerum has joined ##OpenGL
[00:04:49] *** manny- has joined ##OpenGL
[00:04:49] *** Sharkly has joined ##OpenGL
[00:05:03] *** doomlord_1 has joined ##OpenGL
[00:06:30] *** qeed has joined ##OpenGL
[00:06:33] *** shintah has joined ##OpenGL
[00:06:44] *** xissburg has quit IRC
[00:07:53] *** staylor has quit IRC
[00:14:51] *** Sharkly has quit IRC
[00:17:28] *** Syzygy_ has joined ##OpenGL
[00:18:28] *** MLM has joined ##OpenGL
[00:19:01] *** Match has quit IRC
[00:20:05] *** Suchorski has quit IRC
[00:21:01] *** [Aura]MaelStrom has quit IRC
[00:21:24] *** malko has quit IRC
[00:22:54] *** Pyuruku has joined ##OpenGL
[00:24:05] *** abs25 has quit IRC
[00:24:25] <Pyuruku> Hello, say I have a vertex, geometry and fragment shader. If I declare say `flat out vec3 worldPos` in the vertex shader, will it be passed directly to the fragment shader, bypassing the geometry shader? assuming I have `flat in vec3 worldPos` in the fragment shader, but nothing in the geometry shader
[00:24:54] <derhass> Pyuruku: no
[00:24:57] <Pyuruku> I'm trying to write a flat shader, and my directional lights work just fine, however a point light just shows all black
[00:25:26] <Pyuruku> derhass: okay, is there a way I can just pass the value through the geometry shader without modifying it? sort of like a uniform but not making it a uniform?
[00:25:53] <derhass> well, you can just pass it through
[00:26:25] <Pyuruku> but that means I need to rename it right?
[00:26:38] <Pyuruku> in the geometry sahder
[00:27:28] <derhass> yes
[00:28:49] <Pyuruku> hmm, trying to do that is giving me " error C7544: OpenGL requires geometry inputs to be arrays"
[00:28:57] <derhass> of course
[00:29:31] <derhass> the geometry shader sees all vertices of the primitive
[00:29:37] <Pyuruku> right
[00:30:05] <Pyuruku> maybe I should just calculate this value in the geometry shader... I dont think it needs to be in the vert shader
[00:31:04] <Pyuruku> that is the "proper" way to achieve flat shading, right? by using a geometry shader to calculate the normals?
[00:32:30] *** justy989 has quit IRC
[00:33:28] <bob_twinkles> usually normals are passed in as vertex attributes
[00:34:18] <Pyuruku> that doesn't work quite right for flat shading though
[00:34:30] <derhass> sure it does
[00:34:49] <Pyuruku> ?
[00:34:55] <bob_twinkles> define "flat shading?"
[00:35:44] <Pyuruku> the normals are messed up if you do not calculate them per primitive
[00:35:49] *** Folkol has quit IRC
[00:35:50] <Pyuruku> and not per vertex like you suggest
[00:35:54] <bob_twinkles> what mode are you drawing with?
[00:35:58] <Pyuruku> triangles
[00:36:34] <Pyuruku> Yes, I was using that before
[00:36:45] <Pyuruku> the problem is that its calculating the wrong normal in the first place
[00:36:56] <bob_twinkles> ?
[00:37:00] <bob_twinkles> you should be computing that on the CPU
[00:37:06] <bob_twinkles> if it's the wrong normal you have a bug
[00:37:27] <Pyuruku> I wanted to try doing it in a geometry shader
[00:37:38] *** karab44 has quit IRC
[00:37:55] <Pyuruku> and now im trying to pass the world position of the vertex through to the fragment shader :(
[00:38:12] *** doomlord_1 has quit IRC
[00:38:34] *** lenarhoyt has joined ##OpenGL
[00:42:41] *** Crehl has quit IRC
[00:44:53] *** karswell` has joined ##OpenGL
[00:45:26]
<bob_twinkles> Pyuruku: check out https://open.gl/geometry (specifically the stuff where they introduce "fcolor" about halfway down the page
[00:45:33] *** Chais has joined ##OpenGL
[00:47:49] *** karab44 has joined ##OpenGL
[00:48:19] *** malko has joined ##OpenGL
[00:48:25] *** telex has quit IRC
[00:49:49] *** tkeemon has joined ##OpenGL
[00:50:41] *** telex has joined ##OpenGL
[00:50:52] *** Zupo has quit IRC
[00:51:08] *** Zupo has joined ##OpenGL
[00:54:23] *** karab44 has quit IRC
[00:54:51] *** karab44 has joined ##OpenGL
[00:55:24] *** b4b has joined ##OpenGL
[00:55:53] *** karswell` is now known as karswell
[00:58:13] *** Codex_ has quit IRC
[00:58:15] *** Ad1 has quit IRC
[00:58:47] *** pazul has quit IRC
[01:03:26] *** linuxuz3r has joined ##OpenGL
[01:04:04] *** Codex_ has joined ##OpenGL
[01:04:33] *** tkeemon has quit IRC
[01:06:30] *** _pizthewiz has quit IRC
[01:07:07] *** pizthewiz has joined ##OpenGL
[01:07:43] *** Jeanne-Kamikaze has quit IRC
[01:08:28] *** tcsc has joined ##OpenGL
[01:22:32] *** hexagoxel_ has joined ##OpenGL
[01:22:50] *** Zupoman has quit IRC
[01:23:53] *** Codex_ has quit IRC
[01:23:58] *** asdtrfygjhknklm has joined ##OpenGL
[01:24:06] *** asdtrfygjhknklm has left ##OpenGL
[01:24:08] *** asdtrfygjhknklm has joined ##OpenGL
[01:24:19] *** asdtrfygjhknklm has left ##OpenGL
[01:24:20] *** asdtrfygjhknklm has joined ##OpenGL
[01:26:18] *** hexagoxel has quit IRC
[01:34:52] *** foreignFunction has quit IRC
[01:36:19] *** kestasjk has quit IRC
[01:38:26] *** ruuns has quit IRC
[01:38:52] *** hahuang65 has quit IRC
[01:38:55] *** karab44 has quit IRC
[01:39:23] *** OliverUv has quit IRC
[01:42:50] *** OliverUv has joined ##OpenGL
[01:47:45] *** karab44 has joined ##OpenGL
[01:48:08] *** narcan has joined ##OpenGL
[01:49:01] *** kestasjk has joined ##OpenGL
[01:49:27] <kestasjk> does anyone know how I can get something Im debugging within visual studio 2010 (C++) to run on the GPU?
[01:49:51] <kestasjk> Ive added the folder to the list of apps that should run via the GPU, and when I run it outside of visual studio it does run on the GPU, but the damn thing wont run on the GPU
[01:50:09] <kestasjk> which means I get opengl errors when a tesselation shader compiles
[01:52:49] <HuntsMan> add the debugger to that list
[01:52:58] <HuntsMan> assuming you mean something like Optimus
[01:53:40] <kestasjk> yup I do, but devenv.exe is in the list but I cant choose to change it
[01:53:47] <kestasjk> the combo box is grayed out
[01:54:09] *** RockLee has joined ##OpenGL
[01:56:38] <kestasjk> " the discrete NVIDIA GPU is triggered by DX, DXVA and CUDA calls, but no OpenGL calls"
[01:57:01] *** karab44 has quit IRC
[01:57:11] *** shintah has quit IRC
[01:57:17] <HuntsMan> FAIL
[01:59:12] *** karswell has quit IRC
[01:59:50] *** karswell has joined ##OpenGL
[02:01:42] *** doomlord_1 has joined ##OpenGL
[02:03:49] <bob_twinkles> kestasjk: IIRC there's something in the power settings control thingy that lets you force everything to run on the discrete card
[02:06:39] *** Lemml_ has quit IRC
[02:07:06] *** hexagoxel_ has quit IRC
[02:09:40] *** garFF has joined ##OpenGL
[02:17:45] *** ripper93 has joined ##OpenGL
[02:23:10] *** MLM has quit IRC
[02:23:44] *** luxigo has quit IRC
[02:29:54] *** ripper93 has quit IRC
[02:33:00] *** bkre_ has quit IRC
[02:37:57] <RockLee> does anyone have some sample code of a 3d ball bouncing?
[02:38:13] <Polarina> kestasjk, you can force to use the discrete card by exporting NvOptimusEnablement with the integer value of 1.
[02:38:14] *** karab44 has joined ##OpenGL
[02:39:23] <Polarina> kestasjk, extern "C" { extern const int NvOptimusEnablement = 1; }
[02:39:45] <kestasjk> well well that's convenient if true :o
[02:40:42] *** linuxuz3r has quit IRC
[02:40:56] <kestasjk> but it doesnt seem to be :(
[02:41:09] *** linuxuz3r has joined ##OpenGL
[02:41:33] <Polarina> Check if the symbol name is being mangled by the compiler.
[02:41:53] *** Misu has quit IRC
[02:42:02] *** karab44 has quit IRC
[02:42:04] <slime> maybe needs a _declspec(dllexport)
[02:42:39] *** Misu has joined ##OpenGL
[02:43:11] *** Codex_ has joined ##OpenGL
[02:43:13] <kestasjk> bingo: extern "C" { _declspec(dllexport) extern const int NvOptimusEnablement = 1; }
[02:43:16] <kestasjk> very nice
[02:59:18] *** doomedbunnies has quit IRC
[02:59:19] *** linuxuz3r has quit IRC
[02:59:22] *** narcan has quit IRC
[02:59:24] *** telex has quit IRC
[02:59:26] *** qeed has quit IRC
[02:59:28] *** Gamecubic has quit IRC
[02:59:34] *** SugarCube has quit IRC
[02:59:40] *** antognolli has quit IRC
[02:59:48] *** AdelGitGud has quit IRC
[02:59:52] *** d_aniel has quit IRC
[02:59:55] *** moser has quit IRC
[02:59:56] *** huntercool has quit IRC
[03:00:09] *** giucam has quit IRC
[03:00:11] *** HaltingState has quit IRC
[03:00:12] *** bb010g has quit IRC
[03:00:18] *** tapout has quit IRC
[03:00:18] *** OliverUv has quit IRC
[03:00:19] *** malko has quit IRC
[03:00:19] *** roboman2444 has quit IRC
[03:00:19] *** Demon_Fox has quit IRC
[03:00:21] *** Ad1_RN has quit IRC
[03:00:23] *** bjz has quit IRC
[03:00:23] *** plash has quit IRC
[03:00:23] *** zajfy has quit IRC
[03:00:24] *** konom has quit IRC
[03:00:28] *** M-ou-se has quit IRC
[03:00:29] *** Ephemeral has quit IRC
[03:00:32] *** slime has quit IRC
[03:00:35] *** lahwran has quit IRC
[03:00:36] *** tm604 has quit IRC
[03:00:40] *** Barrett__ has quit IRC
[03:00:43] *** DMJC has quit IRC
[03:00:45] *** shakesoda has quit IRC
[03:00:49] *** Majiet has quit IRC
[03:00:50] *** BtbN has quit IRC
[03:00:55] *** pa has quit IRC
[03:01:00] *** Lypho has quit IRC
[03:01:05] *** Misu has quit IRC
[03:01:06] *** doomlord_1 has quit IRC
[03:01:09] *** TheTeapot has quit IRC
[03:01:09] *** Beetny has quit IRC
[03:01:12] *** det has quit IRC
[03:01:12] *** nmschulte has quit IRC
[03:01:15] *** TyrfingMjolnir has quit IRC
[03:01:16] *** ClaudiusMaximus has quit IRC
[03:01:21] *** SnakeTrailSteve has quit IRC
[03:01:22] *** Garmine has quit IRC
[03:01:23] *** moggi has quit IRC
[03:01:25] *** Yaniel has quit IRC
[03:01:26] *** An_Ony_Moose has quit IRC
[03:01:56] *** echelog has joined ##OpenGL
[03:11:07] *** OliverUv has joined ##OpenGL
[03:11:07] *** malko has joined ##OpenGL
[03:11:07] *** roboman2444 has joined ##OpenGL
[03:11:07] *** Demon_Fox has joined ##OpenGL
[03:11:07] *** Ad1_RN has joined ##OpenGL
[03:11:07] *** bjz has joined ##OpenGL
[03:11:07] *** plash has joined ##OpenGL
[03:11:07] *** zajfy has joined ##OpenGL
[03:11:07] *** konom has joined ##OpenGL
[03:11:07] *** M-ou-se has joined ##OpenGL
[03:11:07] *** Ephemeral has joined ##OpenGL
[03:11:08] *** slime has joined ##OpenGL
[03:11:08] *** lahwran has joined ##OpenGL
[03:11:08] *** tm604 has joined ##OpenGL
[03:11:08] *** Barrett__ has joined ##OpenGL
[03:11:08] *** doomedbunnies has joined ##OpenGL
[03:22:02] *** doomedbunnies has quit IRC
[03:22:02] *** OliverUv has quit IRC
[03:22:03] *** malko has quit IRC
[03:22:03] *** roboman2444 has quit IRC
[03:22:03] *** Demon_Fox has quit IRC
[03:22:05] *** Ad1_RN has quit IRC
[03:22:06] *** bjz has quit IRC
[03:22:06] *** plash has quit IRC
[03:22:07] *** zajfy has quit IRC
[03:22:07] *** konom has quit IRC
[03:22:12] *** M-ou-se has quit IRC
[03:22:12] *** Ephemeral has quit IRC
[03:22:16] *** slime has quit IRC
[03:22:17] *** lahwran has quit IRC
[03:22:19] *** tm604 has quit IRC
[03:22:21] *** Barrett__ has quit IRC
[03:32:49] *** HaltingState has joined ##OpenGL
[03:32:49] *** giucam has joined ##OpenGL
[03:32:49] *** huntercool has joined ##OpenGL
[03:32:50] *** moser has joined ##OpenGL
[03:32:50] *** d_aniel has joined ##OpenGL
[03:32:50] *** AdelGitGud has joined ##OpenGL
[03:32:51] *** antognolli has joined ##OpenGL
[03:32:51] *** SugarCube has joined ##OpenGL
[03:32:51] *** Gamecubic has joined ##OpenGL
[03:32:51] *** qeed has joined ##OpenGL
[03:32:52] *** narcan has joined ##OpenGL
[03:32:52] *** linuxuz3r has joined ##OpenGL
[03:33:07] *** linuxuz3r has quit IRC
[03:41:26] *** narcan has quit IRC
[03:41:27] *** qeed has quit IRC
[03:41:29] *** Gamecubic has quit IRC
[03:41:32] *** SugarCube has quit IRC
[03:41:34] *** antognolli has quit IRC
[03:41:39] *** AdelGitGud has quit IRC
[03:41:41] *** d_aniel has quit IRC
[03:41:42] *** moser has quit IRC
[03:41:43] *** huntercool has quit IRC
[03:41:50] *** giucam has quit IRC
[03:41:52] *** HaltingState has quit IRC
[03:48:01] *** Madsy has joined ##OpenGL
[03:48:01] *** Barrett__ has joined ##OpenGL
[03:48:01] *** lahwran has joined ##OpenGL
[03:48:02] *** slime has joined ##OpenGL
[03:48:02] *** Ephemeral has joined ##OpenGL
[03:48:02] *** M-ou-se has joined ##OpenGL
[03:48:02] *** zajfy has joined ##OpenGL
[03:48:03] *** plash has joined ##OpenGL
[03:48:03] *** bjz has joined ##OpenGL
[03:48:03] *** Ad1_RN has joined ##OpenGL
[03:48:03] *** roboman2444 has joined ##OpenGL
[03:48:04] *** malko has joined ##OpenGL
[03:48:04] *** OliverUv has joined ##OpenGL
[03:48:04] *** tapout has joined ##OpenGL
[03:48:04] *** linuxuz3r has joined ##OpenGL
[03:48:04] *** Demon_Fox has joined ##OpenGL
[03:48:05] *** dawik has joined ##OpenGL
[03:48:05] *** StarLight has joined ##OpenGL
[03:48:05] *** oni has joined ##OpenGL
[03:48:05] *** dahlia has joined ##OpenGL
[03:48:06] *** antto has joined ##OpenGL
[03:48:06] *** mtj_ has joined ##OpenGL
[03:48:06] *** yosafbridge has joined ##OpenGL
[03:48:07] *** dau has joined ##OpenGL
[03:48:07] *** dca has joined ##OpenGL
[03:48:07] *** decltype has joined ##OpenGL
[03:48:07] *** phaazon has joined ##OpenGL
[03:48:08] *** natte has joined ##OpenGL
[03:48:08] *** Dave13h has joined ##OpenGL
[03:48:08] *** hanspeter has joined ##OpenGL
[03:48:09] *** chainedchaos has joined ##OpenGL
[03:48:09] *** Aster has joined ##OpenGL
[03:48:09] *** varesa has joined ##OpenGL
[03:48:10] *** mtj has joined ##OpenGL
[03:48:10] *** marcheu has joined ##OpenGL
[03:48:10] *** XMPPwocky has joined ##OpenGL
[03:48:10] *** Kaini has joined ##OpenGL
[03:48:11] *** netman87 has joined ##OpenGL
[03:48:11] *** mysteriouspants has joined ##OpenGL
[03:48:11] *** salamanderrake has joined ##OpenGL
[03:48:11] *** heeen has joined ##OpenGL
[03:48:12] *** Khruu has joined ##OpenGL
[03:48:12] *** Orphis has joined ##OpenGL
[03:48:12] *** dindinx has joined ##OpenGL
[03:48:13] *** vukcrni has joined ##OpenGL
[03:48:13] *** delroth has joined ##OpenGL
[03:48:13] *** feti has joined ##OpenGL
[03:48:13] *** huhlig has joined ##OpenGL
[03:48:14] *** ZeXx86 has joined ##OpenGL
[03:48:14] *** Twey has joined ##OpenGL
[03:48:14] *** Kido_SoraKi has joined ##OpenGL
[03:48:14] *** ExpiredPopsicle has joined ##OpenGL
[03:48:15] *** sulky has joined ##OpenGL
[03:48:15] *** ByronJohnson has joined ##OpenGL
[03:48:15] *** kalzz has joined ##OpenGL
[03:48:16] *** ngladitz has joined ##OpenGL
[03:48:16] *** vottini has joined ##OpenGL
[03:48:16] *** Atomim has joined ##OpenGL
[03:48:16] *** flan3002 has joined ##OpenGL
[03:48:17] *** Peixinho has joined ##OpenGL
[03:48:17] *** puckipedia has joined ##OpenGL
[03:48:17] *** bob_twinkles has joined ##OpenGL
[03:48:17] *** MrDen has joined ##OpenGL
[03:48:18] *** maw has joined ##OpenGL
[03:48:18] *** ttvdsfx has joined ##OpenGL
[03:48:18] *** mmnumbp has joined ##OpenGL
[03:48:19] *** Lypho has joined ##OpenGL
[03:48:19] *** dinamic has joined ##OpenGL
[03:48:19] *** Ivorius has joined ##OpenGL
[03:48:19] *** kraft has joined ##OpenGL
[03:48:20] *** dexter0 has joined ##OpenGL
[03:48:20] *** noizex has joined ##OpenGL
[03:48:20] *** h3r3tic has joined ##OpenGL
[03:48:21] *** nemesit|znc has joined ##OpenGL
[03:48:21] *** horlicks_ has joined ##OpenGL
[03:48:21] *** Domx has joined ##OpenGL
[03:48:21] *** curfont has joined ##OpenGL
[03:48:22] *** ttvd has joined ##OpenGL
[03:48:22] *** zagabar has joined ##OpenGL
[03:48:22] *** cnu- has joined ##OpenGL
[03:48:22] *** zerd has joined ##OpenGL
[03:48:23] *** rosseaux has joined ##OpenGL
[03:48:23] *** foobaz has joined ##OpenGL
[03:48:23] *** edwardk has joined ##OpenGL
[03:48:24] *** phillipw has joined ##OpenGL
[03:48:24] *** dav1d has joined ##OpenGL
[03:48:24] *** loesh_ has joined ##OpenGL
[03:48:24] *** icedev has joined ##OpenGL
[03:48:25] *** Miklas has joined ##OpenGL
[03:48:25] *** jonet has joined ##OpenGL
[03:48:25] *** groton___1 has joined ##OpenGL
[03:48:25] *** Nach0z has joined ##OpenGL
[03:48:25] *** sam has joined ##OpenGL
[03:48:26] *** Angelo has joined ##OpenGL
[03:48:26] *** nido has joined ##OpenGL
[03:48:26] *** pa has joined ##OpenGL
[03:48:26] *** Jubb has joined ##OpenGL
[03:48:27] *** Kage has joined ##OpenGL
[03:48:27] *** dmlloyd has joined ##OpenGL
[03:48:27] *** krs has joined ##OpenGL
[03:48:27] *** Stragus has joined ##OpenGL
[03:48:28] *** jeaye has joined ##OpenGL
[03:48:28] *** Paprikachu has joined ##OpenGL
[03:48:28] *** elveni has joined ##OpenGL
[03:48:28] *** Polarina has joined ##OpenGL
[03:48:28] *** Martty has joined ##OpenGL
[03:48:29] *** opatut_ has joined ##OpenGL
[03:48:29] *** Enthralled has joined ##OpenGL
[03:48:29] *** bove has joined ##OpenGL
[03:48:29] *** skoskav has joined ##OpenGL
[03:48:29] *** nitroxis has joined ##OpenGL
[03:48:30] *** cmr has joined ##OpenGL
[03:48:30] *** Bigcheese has joined ##OpenGL
[03:48:30] *** l3dx has joined ##OpenGL
[03:48:30] *** BtbN has joined ##OpenGL
[03:48:30] *** nitrix has joined ##OpenGL
[03:48:31] *** kivutar has joined ##OpenGL
[03:48:31] *** zrl has joined ##OpenGL
[03:48:31] *** paperManu has joined ##OpenGL
[03:48:31] *** Majiet has joined ##OpenGL
[03:48:31] *** ``Erik has joined ##OpenGL
[03:48:32] *** dman has joined ##OpenGL
[03:48:32] *** bkc_ has joined ##OpenGL
[03:48:32] *** jezek2 has joined ##OpenGL
[03:48:32] *** isbric has joined ##OpenGL
[03:48:32] *** oogaw has joined ##OpenGL
[03:48:33] *** aaa801__ has joined ##OpenGL
[03:48:33] *** mmozeiko has joined ##OpenGL
[03:48:33] *** Adrinael has joined ##OpenGL
[03:48:33] *** dreda has joined ##OpenGL
[03:48:33] *** unreal has joined ##OpenGL
[03:48:34] *** mark- has joined ##OpenGL
[03:48:34] *** dshwang_ has joined ##OpenGL
[03:48:34] *** DMJC has joined ##OpenGL
[03:48:34] *** shakesoda has joined ##OpenGL
[03:48:35] *** langkid1 has joined ##OpenGL
[03:48:35] *** TheFlash has joined ##OpenGL
[03:48:35] *** An_Ony_Moose has joined ##OpenGL
[03:48:35] *** Spark has joined ##OpenGL
[03:48:35] *** petris has joined ##OpenGL
[03:48:35] *** Jonas__ has joined ##OpenGL
[03:48:36] *** chrisf has joined ##OpenGL
[03:48:36] *** jayne has joined ##OpenGL
[03:48:36] *** bodie_ has joined ##OpenGL
[03:48:36] *** edenist has joined ##OpenGL
[03:48:37] *** skarn has joined ##OpenGL
[03:48:37] *** ninzine has joined ##OpenGL
[03:48:37] *** jorj has joined ##OpenGL
[03:48:37] *** soulz has joined ##OpenGL
[03:48:37] *** ValicekB has joined ##OpenGL
[03:48:38] *** ra4king has joined ##OpenGL
[03:48:38] *** Jonatan has joined ##OpenGL
[03:48:38] *** Apeiron` has joined ##OpenGL
[03:48:38] *** oberstein has joined ##OpenGL
[03:48:39] *** katu has joined ##OpenGL
[03:48:39] *** radr has joined ##OpenGL
[03:48:39] *** carvite has joined ##OpenGL
[03:48:39] *** mathias_ has joined ##OpenGL
[03:48:39] *** erihel has joined ##OpenGL
[03:48:40] *** Yaniel has joined ##OpenGL
[03:48:40] *** Bloodust has joined ##OpenGL
[03:48:40] *** Plagman has joined ##OpenGL
[03:48:40] *** TheBeerinator has joined ##OpenGL
[03:48:41] *** mm765 has joined ##OpenGL
[03:48:41] *** GargantuaSauce has joined ##OpenGL
[03:48:41] *** boblehest has joined ##OpenGL
[03:48:41] *** kriskropd has joined ##OpenGL
[03:48:41] *** moggi has joined ##OpenGL
[03:48:42] *** enleeten has joined ##OpenGL
[03:48:42] *** Plasmastar has joined ##OpenGL
[03:48:42] *** Motig has joined ##OpenGL
[03:48:42] *** Djstey has joined ##OpenGL
[03:48:42] *** icedp has joined ##OpenGL
[03:48:43] *** Xark has joined ##OpenGL
[03:48:43] *** Garmine has joined ##OpenGL
[03:48:43] *** mukunda_ has joined ##OpenGL
[03:48:43] *** Chunk2 has joined ##OpenGL
[03:48:43] *** pigeon has joined ##OpenGL
[03:48:44] *** BlackFox has joined ##OpenGL
[03:48:44] *** Timbo has joined ##OpenGL
[03:48:44] *** SnakeTrailSteve has joined ##OpenGL
[03:48:44] *** ntx has joined ##OpenGL
[03:48:44] *** CapsAdmin has joined ##OpenGL
[03:48:45] *** zzuegg has joined ##OpenGL
[03:48:45] *** ville has joined ##OpenGL
[03:48:45] *** freespace has joined ##OpenGL
[03:48:45] *** glYoda has joined ##OpenGL
[03:48:45] *** Ranis has joined ##OpenGL
[03:48:46] *** MissionCritical has joined ##OpenGL
[03:48:46] *** hackkitten has joined ##OpenGL
[03:48:46] *** Rutix has joined ##OpenGL
[03:48:46] *** mat^2 has joined ##OpenGL
[03:48:46] *** akaWolf has joined ##OpenGL
[03:48:47] *** Malediction has joined ##OpenGL
[03:48:47] *** Shadda has joined ##OpenGL
[03:48:47] *** forests has joined ##OpenGL
[03:48:48] *** magicthing has joined ##OpenGL
[03:48:48] *** mockillo has joined ##OpenGL
[03:48:48] *** apoc has joined ##OpenGL
[03:48:48] *** zgreg has joined ##OpenGL
[03:48:49] *** DrBenway has joined ##OpenGL
[03:48:49] *** chirpsalot has joined ##OpenGL
[03:48:49] *** faty has joined ##OpenGL
[03:48:49] *** Alina-malina has joined ##OpenGL
[03:48:50] *** zoktar has joined ##OpenGL
[03:48:50] *** haasn has joined ##OpenGL
[03:48:50] *** ClaudiusMaximus has joined ##OpenGL
[03:48:51] *** ESphynx has joined ##OpenGL
[03:48:51] *** xish has joined ##OpenGL
[03:48:51] *** Cabanossi has joined ##OpenGL
[03:48:51] *** ClarusCogitatio has joined ##OpenGL
[03:48:52] *** TyrfingMjolnir has joined ##OpenGL
[03:48:52] *** lbt has joined ##OpenGL
[03:48:52] *** nmschulte has joined ##OpenGL
[03:48:53] *** pragma- has joined ##OpenGL
[03:48:53] *** Khlorghaal has joined ##OpenGL
[03:48:53] *** BitPuffin has joined ##OpenGL
[03:48:53] *** urraka has joined ##OpenGL
[03:48:54] *** det has joined ##OpenGL
[03:48:54] *** Bigpet_ has joined ##OpenGL
[03:48:54] *** jophish has joined ##OpenGL
[03:48:54] *** ocharles_ has joined ##OpenGL
[03:48:55] *** Nickeeh has joined ##OpenGL
[03:48:55] *** stef has joined ##OpenGL
[03:48:55] *** indefini has joined ##OpenGL
[03:48:56] *** Defaultti has joined ##OpenGL
[03:48:56] *** FrodoTheHobbit1 has joined ##OpenGL
[03:48:56] *** clincher has joined ##OpenGL
[03:48:56] *** BreadProduct has joined ##OpenGL
[03:48:57] *** DapperPixpy has joined ##OpenGL
[03:48:57] *** CainJacobi has joined ##OpenGL
[03:48:57] *** derhass has joined ##OpenGL
[03:48:58] *** suppahsrv has joined ##OpenGL
[03:48:58] *** hdon has joined ##OpenGL
[03:48:58] *** Beetny has joined ##OpenGL
[03:48:58] *** Keniyal has joined ##OpenGL
[03:48:59] *** HuntsMan has joined ##OpenGL
[03:48:59] *** OutofControl_ has joined ##OpenGL
[03:48:59] *** Lucretia has joined ##OpenGL
[03:48:59] *** DaGardner has joined ##OpenGL
[03:49:00] *** razieliyo has joined ##OpenGL
[03:49:00] *** meoblast001 has joined ##OpenGL
[03:49:00] *** jmcarthur has joined ##OpenGL
[03:49:00] *** japro has joined ##OpenGL
[03:49:01] *** Orion] has joined ##OpenGL
[03:49:01] *** manny- has joined ##OpenGL
[03:49:01] *** Syzygy_ has joined ##OpenGL
[03:49:01] *** Chais has joined ##OpenGL
[03:49:02] *** Zupo has joined ##OpenGL
[03:49:02] *** b4b has joined ##OpenGL
[03:49:02] *** asdtrfygjhknklm has joined ##OpenGL
[03:49:02] *** kestasjk has joined ##OpenGL
[03:49:02] *** RockLee has joined ##OpenGL
[03:49:03] *** karswell has joined ##OpenGL
[03:49:03] *** garFF has joined ##OpenGL
[03:49:03] *** centrinia has joined ##OpenGL
[03:49:03] *** stoopdapoop has joined ##OpenGL
[03:49:04] *** SleekoNiko has joined ##OpenGL
[03:49:04] *** telex has joined ##OpenGL
[03:49:04] *** bb010g has joined ##OpenGL
[03:49:34] *** echelog has joined ##OpenGL
[03:49:59] *** Hunts has joined ##OpenGL
[03:53:38] *** HuntsMan has quit IRC
[03:53:39] *** Codex_ has joined ##OpenGL
[03:54:54] *** oogaw has quit IRC
[03:57:05] *** urraka has quit IRC
[03:58:55] *** Wagoo has joined ##OpenGL
[03:59:24] *** razieliyo has quit IRC
[04:08:23] *** Codex_ has quit IRC
[04:17:01] *** Codex_ has joined ##OpenGL
[04:20:06] *** b4b has quit IRC
[04:20:53] *** konom has joined ##OpenGL
[04:27:54] *** karab44 has joined ##OpenGL
[04:30:59] *** fatalhalt has joined ##OpenGL
[04:34:13] *** asdtrfygjhknklm has left ##OpenGL
[04:34:31] *** zajfy has quit IRC
[04:36:37] *** det has quit IRC
[04:38:26] *** qeed has quit IRC
[04:41:48] *** shingshang has joined ##OpenGL
[04:41:54] *** 92AAAHZ59 is now known as tm604
[04:42:09] *** tm604 has quit IRC
[04:42:09] *** tm604 has joined ##OpenGL
[04:43:40] *** b4b has joined ##OpenGL
[04:52:45] *** samrat has joined ##OpenGL
[04:54:59] *** Cabanoss- has joined ##OpenGL
[04:55:55] *** Twinklebear has joined ##OpenGL
[04:58:23] *** Cabanossi has quit IRC
[04:58:23] *** Cabanoss- is now known as Cabanossi
[05:01:59] *** ivan\ has joined ##OpenGL
[05:11:03] *** jorj has quit IRC
[05:11:05] *** konom has quit IRC
[05:11:27] *** CptRageToaster has quit IRC
[05:11:52] *** jdolan has joined ##OpenGL
[05:12:01] *** robot-beethoven has joined ##OpenGL
[05:12:10] *** Orion] has quit IRC
[05:16:42] *** det has joined ##OpenGL
[05:18:39] *** karswell` has joined ##OpenGL
[05:18:40] *** karswell has quit IRC
[05:25:42] *** b4b has quit IRC
[05:26:46] *** narcan has quit IRC
[05:36:31] *** karab44 has quit IRC
[05:37:42] *** Codex_ has quit IRC
[05:40:12] *** garFF has quit IRC
[05:41:14] *** det has quit IRC
[05:43:26] *** wiky has joined ##OpenGL
[05:43:43] *** wiky has quit IRC
[05:46:20] *** Keniyal has quit IRC
[05:46:31] *** jdolan has quit IRC
[05:49:05] *** karab44 has joined ##OpenGL
[05:50:51] *** linuxuz3r has quit IRC
[05:51:16] *** linuxuz3r has joined ##OpenGL
[05:51:48] *** karab44 has quit IRC
[05:53:48] *** edwardjohn has joined ##OpenGL
[06:01:11] *** wiky has joined ##OpenGL
[06:03:06] *** luxigo has joined ##OpenGL
[06:03:52] *** japro has quit IRC
[06:13:25] *** pizthewiz has quit IRC
[06:17:09] *** torei has joined ##OpenGL
[06:19:53] *** plash has quit IRC
[06:19:53] *** plash has joined ##OpenGL
[06:21:35] *** meoblast001 has quit IRC
[06:24:57] *** lenarhoyt has quit IRC
[06:31:27] *** SleekoNiko has quit IRC
[06:46:15] *** luxigo has quit IRC
[06:50:32] *** SleekoNiko has joined ##OpenGL
[06:54:50] *** SleekoNiko has quit IRC
[06:55:10] *** kmnt has joined ##OpenGL
[07:01:22] *** det has joined ##OpenGL
[07:07:17] *** SleekoNiko has joined ##OpenGL
[07:10:28] *** RockLee has quit IRC
[07:11:44] *** samrat has quit IRC
[07:21:35] *** lenarhoyt has joined ##OpenGL
[07:21:45] *** wiky has quit IRC
[07:22:47] *** Khlorghaal has quit IRC
[07:23:47] *** drasich has joined ##OpenGL
[07:24:17] *** slidercrank has quit IRC
[07:25:51] *** telex has quit IRC
[07:26:38] *** telex has joined ##OpenGL
[07:26:40] *** lenarhoyt has quit IRC
[07:26:45] *** tcsc has quit IRC
[07:36:06] *** zzuegg has quit IRC
[07:38:46] *** seangrove has joined ##OpenGL
[07:38:52] *** DapperPixpy has quit IRC
[07:39:20] *** wiky has joined ##OpenGL
[07:43:58] *** luxigo has joined ##OpenGL
[07:54:19] *** edwardjohn has quit IRC
[08:03:12] *** roboman2444 has quit IRC
[08:22:42] *** lenarhoyt has joined ##OpenGL
[08:23:17] *** DMJC-M has joined ##OpenGL
[08:23:22] *** samrat has joined ##OpenGL
[08:23:54] <DMJC-M> chrisf: can you help me with the code you reworked the other week?
[08:24:15] <DMJC-M> I've implemented it, got it drawing the grid as a vertex buffer object
[08:24:44] <DMJC-M> But for some reason my scene has to refresh multiple times before the object appears. It's a bit weird that it doesn't just draw the whole thing on the first pass.
[08:25:14] <DMJC-M> all the looping etc occurs before the buffer binding. So the arrays should already be populated
[08:27:25] *** lenarhoyt has quit IRC
[08:33:37] *** Lemml has joined ##OpenGL
[08:34:49] *** luxigo has quit IRC
[08:37:28] *** Demon_Fox has quit IRC
[08:41:57] *** kmnt has quit IRC
[08:46:36] *** karswell` has quit IRC
[08:47:23] *** karswell` has joined ##OpenGL
[08:49:42] *** karswell` has quit IRC
[08:50:20] *** karswell` has joined ##OpenGL
[08:51:15] *** samrat has quit IRC
[08:53:35] *** luxigo has joined ##OpenGL
[08:53:52] *** zoktar has quit IRC
[09:00:19] *** ManDay has joined ##OpenGL
[09:05:57] *** luxigo has quit IRC
[09:07:22] *** shintah has joined ##OpenGL
[09:07:42] *** zoktar has joined ##OpenGL
[09:16:45] *** doev has joined ##OpenGL
[09:19:11] *** Demon_Fox has joined ##OpenGL
[09:22:47] *** varialus has joined ##OpenGL
[09:23:27] *** lenarhoyt has joined ##OpenGL
[09:23:50] *** Gamecubic has quit IRC
[09:25:39] *** CainJacobi has quit IRC
[09:28:39] *** lenarhoyt has quit IRC
[09:29:00] *** stefkos has joined ##OpenGL
[09:29:36] *** Ad1 has joined ##OpenGL
[09:37:04] *** Twinklebear has quit IRC
[09:43:00] *** Codex_ has joined ##OpenGL
[09:50:08] *** Garner has joined ##OpenGL
[09:58:59] *** OutofControl_ has quit IRC
[10:00:09] *** groton has joined ##OpenGL
[10:02:24] *** slidercrank has joined ##OpenGL
[10:03:28] *** hdon has quit IRC
[10:07:59] *** ShadowIce has joined ##OpenGL
[10:08:51] *** Demon_Fox has quit IRC
[10:11:58] *** kuldeepdhaka has joined ##OpenGL
[10:24:12] *** lenarhoyt has joined ##OpenGL
[10:24:15] *** centrinia has quit IRC
[10:24:31] *** zajfy has joined ##OpenGL
[10:25:24] *** Burga has joined ##OpenGL
[10:27:40] *** groton has quit IRC
[10:28:40] *** samrat has joined ##OpenGL
[10:29:22] *** lenarhoyt has quit IRC
[10:30:11] *** ShadowIce has quit IRC
[10:33:03] *** abs25 has joined ##OpenGL
[10:43:48] *** Zerflag has joined ##OpenGL
[10:49:55] *** linuxuz3r has quit IRC
[10:54:43] *** DMJC-M has quit IRC
[10:57:12] *** centrinia has joined ##OpenGL
[11:04:01] *** Ranis has left ##OpenGL
[11:12:18] *** doomlord_1 has joined ##OpenGL
[11:12:36] *** Keniyal has joined ##OpenGL
[11:14:52] *** wiky has quit IRC
[11:16:32] *** Zerflag has quit IRC
[11:17:09] *** Zerflag has joined ##OpenGL
[11:19:58] *** Zerflag_ has joined ##OpenGL
[11:21:38] *** Zerflag has quit IRC
[11:24:42] *** Zerflag_ has quit IRC
[11:24:59] *** lenarhoyt has joined ##OpenGL
[11:30:20] *** Ad1 has quit IRC
[11:30:30] *** lenarhoyt has quit IRC
[11:34:23] *** Ad1 has joined ##OpenGL
[11:34:53] *** drasich has quit IRC
[11:38:04] *** goliath has joined ##OpenGL
[11:51:49] *** krnlyng has joined ##OpenGL
[11:51:50] <krnlyng> probably a stupid question. if i use glUniformMatrix4fv(loc, mat); does mat have to stay in scope or can it be destroyed immediately after the call?
[11:52:29] <doomlord_1> i'm pretty certain its copied in
[11:52:30] <doomlord_1> you can destroy what you passed
[11:52:31] <doomlord_1> its a valid question about pointer ownership etc
[11:52:31] *** samrat has quit IRC
[11:53:54] <Bloodust> you can destroy it right after the call
[11:55:23] <Bloodust> same with all gl resources
[11:55:24] *** nmschulte has quit IRC
[11:56:57] *** nmschulte has joined ##OpenGL
[11:57:13] *** JoshSyn has joined ##OpenGL
[12:05:36] *** DMJC-M has joined ##OpenGL
[12:12:37] *** doomedbunnies has quit IRC
[12:12:38] *** abs25 has quit IRC
[12:12:40] *** slidercrank has quit IRC
[12:12:42] *** ivan\ has quit IRC
[12:12:43] *** shingshang has quit IRC
[12:12:44] *** OliverUv has quit IRC
[12:12:45] *** malko has quit IRC
[12:12:46] *** Ad1_RN has quit IRC
[12:12:47] *** bjz has quit IRC
[12:12:48] *** plash has quit IRC
[12:12:55] *** M-ou-se has quit IRC
[12:12:55] *** Ephemeral has quit IRC
[12:12:59] *** slime has quit IRC
[12:13:01] *** lahwran has quit IRC
[12:13:05] *** Barrett__ has quit IRC
[12:13:09] *** DMJC has quit IRC
[12:13:11] *** shakesoda has quit IRC
[12:13:17] *** Majiet has quit IRC
[12:13:18] *** BtbN has quit IRC
[12:13:23] *** pa has quit IRC
[12:13:26] *** Lypho has quit IRC
[12:13:34] *** Lemml has quit IRC
[12:13:36] *** seangrove has quit IRC
[12:13:38] *** tm604 has quit IRC
[12:13:40] *** Beetny has quit IRC
[12:13:46] *** TyrfingMjolnir has quit IRC
[12:13:47] *** ClaudiusMaximus has quit IRC
[12:13:54] *** SnakeTrailSteve has quit IRC
[12:13:54] *** Garmine has quit IRC
[12:13:56] *** moggi has quit IRC
[12:13:58] *** Yaniel has quit IRC
[12:14:00] *** An_Ony_Moose has quit IRC
[12:14:04] *** paperManu has quit IRC
[12:14:05] *** skoskav has quit IRC
[12:14:05] *** elveni has quit IRC
[12:14:08] *** icedev has quit IRC
[12:14:09] *** dav1d has quit IRC
[12:14:11] *** curfont has quit IRC
[12:14:17] *** ngladitz has quit IRC
[12:14:22] *** centrinia has quit IRC
[12:14:22] *** zajfy has quit IRC
[12:14:23] *** Wagoo has quit IRC
[12:14:24] *** Madsy has quit IRC
[12:14:24] *** manny- has quit IRC
[12:14:25] *** jmcarthur has quit IRC
[12:14:26] *** BreadProduct has quit IRC
[12:14:27] *** pragma- has quit IRC
[12:14:28] *** apoc has quit IRC
[12:14:31] *** BlackFox has quit IRC
[12:14:33] *** Djstey has quit IRC
[12:14:35] *** mathias_ has quit IRC
[12:14:36] *** Apeiron` has quit IRC
[12:14:37] *** Jonatan has quit IRC
[12:14:41] *** nitrix has quit IRC
[12:14:43] *** Jubb has quit IRC
[12:14:44] *** sam has quit IRC
[12:14:48] *** maw has quit IRC
[12:14:49] *** zagabar has quit IRC
[12:14:51] *** Twey has quit IRC
[12:14:53] *** robot-beethoven has quit IRC
[12:14:55] *** TunnelCat has quit IRC
[12:14:55] *** varialus has quit IRC
[12:14:56] *** indefini has quit IRC
[12:15:21] *** echelog has joined ##OpenGL
[12:20:32] *** JoshSyn has quit IRC
[12:20:56] *** Zerflag has joined ##OpenGL
[12:25:50] *** Jack has joined ##OpenGL
[12:26:14] *** Jack is now known as Guest72481
[12:26:17] *** Zupoman has joined ##OpenGL
[12:26:27] *** lenarhoyt has joined ##OpenGL
[12:31:16] *** lenarhoyt has quit IRC
[12:32:18] *** mizux has quit IRC
[12:35:13] *** zzuegg has joined ##OpenGL
[12:35:14] *** BitPuffin has joined ##OpenGL
[12:36:08] *** Zerflag has quit IRC
[12:40:46] *** Alina-malina has quit IRC
[12:41:01] *** Misu has joined ##OpenGL
[12:44:03] *** samrat has quit IRC
[12:52:38] *** lbt has left ##OpenGL
[12:57:10] *** groton has joined ##OpenGL
[12:57:23] *** Ad1 has quit IRC
[12:58:06] *** qeed has joined ##OpenGL
[12:59:11] *** garFF has joined ##OpenGL
[13:01:29] *** lenarhoyt has joined ##OpenGL
[13:01:30] *** Ad1 has joined ##OpenGL
[13:02:10] *** japro has joined ##OpenGL
[13:03:47] *** Alina-malina has joined ##OpenGL
[13:04:08] *** garFF has quit IRC
[13:04:50] *** Misu has quit IRC
[13:08:56] *** snakenerd has joined ##OpenGL
[13:09:55] *** snakenerd has quit IRC
[13:11:21] *** goliath has quit IRC
[13:13:11] *** ManDay has quit IRC
[13:18:47] *** Misu has joined ##OpenGL
[13:19:17] *** DMJC-M has quit IRC
[13:21:01] *** robot-beethoven has quit IRC
[13:24:10] *** TGYoshi has joined ##OpenGL
[13:25:10] <TGYoshi> Hey all, am I right in thinking that if my application uses under like 32 textures in total, I can just glActiveTexture(n) to switch and binding a texture only once, leaving that bound?
[13:25:17] <TGYoshi> (between frames)
[13:25:22] *** erhan_ has joined ##OpenGL
[13:26:18] *** Beetny has quit IRC
[13:28:23] *** soulz has quit IRC
[13:29:59] *** hexagoxel has joined ##OpenGL
[13:30:45] *** ripper93 has joined ##OpenGL
[13:32:19] <Bloodust> or just shove them all in one texture array
[13:32:58] *** kuldeepdhaka has quit IRC
[13:33:02] *** navitsu has quit IRC
[13:34:11] <TGYoshi> Well, they're in fact changing sometimes :P
[13:37:16] *** foreignFunction has joined ##OpenGL
[13:37:49] *** DMJC-M has joined ##OpenGL
[13:39:57] *** kuldeepdhaka has joined ##OpenGL
[13:41:49] *** DMJC-M has quit IRC
[13:42:40] *** centrinia has quit IRC
[13:46:08] *** garFF has joined ##OpenGL
[13:47:33] *** erhan_ has quit IRC
[13:50:50] *** Crehl has joined ##OpenGL
[13:51:23] *** ripper93 has quit IRC
[13:51:30] *** Polarina has quit IRC
[13:53:46] *** Ad1 has quit IRC
[14:00:32] *** Zerflag has joined ##OpenGL
[14:01:23] <Yaniel> still works
[14:01:42] <Yaniel> there is glTexSubImage and friends
[14:04:32] *** BreadProduct has quit IRC
[14:05:17] *** Polarina has joined ##OpenGL
[14:05:25] *** Zerflag has quit IRC
[14:10:14] *** samrat has joined ##OpenGL
[14:10:31] *** urraka has joined ##OpenGL
[14:19:30] *** moser has quit IRC
[14:20:05] *** samrat has quit IRC
[14:21:48] *** SugarCube has quit IRC
[14:22:33] *** ozette has joined ##OpenGL
[14:27:47] *** goliath has joined ##OpenGL
[14:27:56] *** Waynes has joined ##OpenGL
[14:29:47] *** SugarCube has joined ##OpenGL
[14:34:23] *** clauswitt has joined ##OpenGL
[14:35:03] *** paperManu_ has joined ##OpenGL
[14:36:03] *** moser has joined ##OpenGL
[14:36:57] *** Ad1 has joined ##OpenGL
[14:39:54] *** clauswitt has quit IRC
[14:41:20] *** samrat has joined ##OpenGL
[14:42:21] *** Burga has quit IRC
[14:43:39] *** Ad1 has quit IRC
[14:47:08] *** Ad1 has joined ##OpenGL
[14:51:59] *** paul424 has joined ##OpenGL
[14:52:47] <paul424> What would be the E=mc^2 for 3d graphics ?
[14:52:49] <paul424> sorry 3d geometry ?
[14:53:03] <Hunts> the what?
[14:53:15] <Hunts> I don't think Einstein did computer graphics :)
[14:54:23] <paul424> the one which would joint as many equations as possible
[14:55:00] *** ManDay has joined ##OpenGL
[15:05:05] *** razieliyo has joined ##OpenGL
[15:08:38] *** samrat has quit IRC
[15:09:03] <Hunts> paul424: that question makes no sense
[15:11:05] *** samrat has joined ##OpenGL
[15:11:52] *** AdelGitGud has quit IRC
[15:11:53] <paul424> it makes, but you are too poor in 3d algebra :P
[15:13:38] *** zagabar is now known as zagobar
[15:16:06] <Codex_> paul424: obviously the isosurface/level set generation is a good candidate using f(x,y,z)=c equation.
[15:17:12] <paul424> Sorry , I wans't precise enough , I wanted someting from the domain of linear algebra
[15:17:38] *** paperManu_ has quit IRC
[15:18:42] <derhass> the question doesn't make sense
[15:19:11] <Hunts> now it makes even less sense
[15:20:47] *** bkre_ has joined ##OpenGL
[15:25:43] <paul424> As pointed out above, the absolute value of the determinant of real vectors is equal to the volume of the parallelepiped spanned by those vectors.
[15:25:57] <paul424> I don't understand the further explanation on the wikipedia though ;(
[15:26:35] <paul424> As a consequence, if f: Rn → Rn is the linear map represented by the matrix A, and S is any measurable subset of Rn, then the volume of f(S) is given by |det(A)| times the volume of S. More generally, if the linear map f: Rn → Rm is represented by the m × n matrix A, then the n-dimensional volume of f(S) is given by:
[15:27:15] *** razieliyo has quit IRC
[15:27:24] *** razieliyo has joined ##OpenGL
[15:31:48] *** groton has quit IRC
[15:34:14] *** duga has joined ##OpenGL
[15:34:23] <japro> paul424, the spectral theorem?
[15:35:47] *** konom has joined ##OpenGL
[15:36:45] *** ozette has quit IRC
[15:38:47]
<duga> hi, I have problem with FBO multisampling http://pastebin.com/LB7xhaJX (code), http://pastebin.com/AwzP6Q64 (result). In my opionon I have the same samples count for renderbuffers and textures and I have no idea why I keep getting error GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
[15:43:08] *** snakenerd has joined ##OpenGL
[15:47:12] *** tha_grid has joined ##OpenGL
[15:48:07] *** ManDay has quit IRC
[15:49:17] *** Zerflag has joined ##OpenGL
[15:53:54] *** Zerflag has quit IRC
[15:54:52] *** Khlorghaal has joined ##OpenGL
[15:56:10] <tha_grid> hello all, i have a bitmap with alpha channels in it, how can i tell it the correct parameters to glTexImage2D
[15:56:16] *** samrat has quit IRC
[15:56:50] *** jdolan has joined ##OpenGL
[15:56:58] <Bloodust> paste the glTexImage2D call here and ill tell you if its right
[15:57:43] *** samrat has joined ##OpenGL
[15:57:57] *** garFF has quit IRC
[15:58:38] <tha_grid> i see how the call works, how can i be sure the last parameter(data) is right
[15:59:06] *** snakenerd has quit IRC
[15:59:35] <tha_grid> what about details like endianess and bit depth
[15:59:56] <tha_grid> glTexImage2D GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, image
[16:00:17] <Bloodust> you dont have to worry about endianess
[16:00:21] <Bloodust> AFAIK
[16:00:34] <tha_grid> im worried about the last parameter
[16:00:39] <derhass> GL_UNSIGNED_BYTE is well-defined
[16:00:53] <derhass> there is no endianness, and the bit width is clear
[16:00:58] <Bloodust> last parameter is pointer to the data, whats your worry?
[16:02:10] <tha_grid> im going to be loading a bitmap straight from disk into the array image
[16:02:32] <tha_grid> skipping the header of course, is there any gl code for this?
[16:02:59] <derhass> gl code? no. gl doesn't care
[16:03:14] <tha_grid> is there any way you suggest derhass?
[16:03:27] <tha_grid> to load the bitmap
[16:03:45] <tha_grid> i know you can use FILE * fp = fopen
[16:04:11] <Bloodust> I use freeimage gli
[16:04:17] <derhass> well. either use some image loader library
[16:04:17] <Bloodust> freeimage AND gli
[16:04:20] <derhass> or do it manually
[16:04:53] <derhass> note that even BMP has different encodings and features
[16:06:14] <tha_grid> sure i'll probably just load them
[16:06:38] <tha_grid> does it have dependencies?
[16:06:43] <Khlorghaal> tha_grid: you want RGBA8 for internalformat
[16:07:06] <tha_grid> thanks Khlorghall, how can i determine this myself?
[16:07:20] <derhass> Khlorghaal: why?
[16:07:24] <Khlorghaal> 4 channels, 8 bytes each
[16:07:30] <Khlorghaal> RGBA is not an internalformat
[16:07:40] <derhass> of course it is
[16:07:44] <Khlorghaal> its a dataformat
[16:08:02] <japro> derhass, but that's so retro :D
[16:08:37] <derhass> Khlorghaal: the spec disagrees
[16:08:40] <tha_grid> does anyone know how big the header will be?
[16:08:45] <Khlorghaal> wuot
[16:08:49] <derhass> Khlorghaal: and when in doubt, I believe the spec more than you
[16:09:00] <Khlorghaal> huh they must be synonymous because i use RGBA8 in my code
[16:09:11] <derhass> they are not synonymous
[16:09:25] <derhass> GL_RGBA8 is a sized internal format, GL_RGBA is not
[16:09:38] *** samrat has quit IRC
[16:10:09] <Khlorghaal> oh so unsized means it allocates the size arbitrarily? didnt know you could do that
[16:10:14] <derhass> with GL_RGBA, the implmentation is free to chose the format it sees best. which usually is GL_RGBA8, of course
[16:11:13] <Bloodust> also, you probably dont want RGBA8
[16:11:28] <Bloodust> compressed formats are wayy faster
[16:12:02] <Khlorghaal> I have 3 FBOs with RGB16F :v
[16:12:17] *** mtj has quit IRC
[16:12:29] *** mtj has joined ##OpenGL
[16:12:49] <Khlorghaal> that page is deprecated
[16:12:59] <Khlorghaal> luminance is no longer a thing
[16:13:36] *** samrat has joined ##OpenGL
[16:15:44] <Khlorghaal> tha_grid: also if youre not using a lib for loading then use targa, after the header it stores data directly how the GPU reads it.
[16:15:59] <Khlorghaal> or GL reads it rather
[16:16:41] <tha_grid> targa, so I will ned simply GL_RGBA for both formats?
[16:17:17] *** aaa801__ is now known as aaa801
[16:17:35] <Khlorghaal> i believe
[16:17:50] <Khlorghaal> though id advise using png
[16:18:09] <Khlorghaal> once you get into proper storage youll want to use more specialized formats though
[16:19:22] *** groton has joined ##OpenGL
[16:19:27] *** jbud has joined ##OpenGL
[16:20:09] <Bloodust> png.. seriously
[16:20:35] <japro> Bloodust, you don't use gif for textures?
[16:21:13] <Khlorghaal> i like png because its lossless D:
[16:21:23] <Bloodust> lossless is slow
[16:21:37] <Khlorghaal> though i work with really small images
[16:22:07] *** b4b has joined ##OpenGL
[16:22:12] <Bloodust> and you cant store mipmaps on pngs
[16:22:14] <Bloodust> I think
[16:22:27] <Khlorghaal> pft i gen mips during runtime lol
[16:23:34] <Bloodust> super slow
[16:23:34] * Khlorghaal suddenly feels like he shouldnt be advising people :d
[16:24:10] <Bloodust> I had all my textures as .tga's at one point but I converted all of them to compressed mipmapped dds format
[16:24:12] *** tcsc has joined ##OpenGL
[16:24:21] <Bloodust> cut my texture and game loading time by good 80-95%
[16:24:25] *** Grimshaw has joined ##OpenGL
[16:24:32] <Khlorghaal> what resolution approx?
[16:25:13] <Khlorghaal> and isnt dds patented?
[16:26:14] <Bloodust> between 512^2 and 4k resolutions
[16:26:28] *** paul424 has quit IRC
[16:26:43] <Bloodust> yeah dxt has copyright issues
[16:26:49] <Bloodust> but you can use ETC
[16:26:53] <Bloodust> its supported by opengl now
[16:27:35] <Yaniel> Bloodust: technically you can I think
[16:27:44] <Yaniel> but nothing really supports that
[16:28:07] <Bloodust> really?
[16:28:28] *** samrat has quit IRC
[16:28:38] <Yaniel> it's called MNG
[16:29:04] <Yaniel> basically png with animations but I suppose one could abuse that for mipmaps too
[16:29:51] <Yaniel> or APNG
[16:29:57] *** zajfy has quit IRC
[16:30:05] *** b4b has quit IRC
[16:30:32] <Yaniel> and if you don't mind breaking the spec a bit you could have multiple IHDR+IDAT+IEND chunk sets in the same file anyway
[16:30:43] *** ripper93 has joined ##OpenGL
[16:30:50] *** samrat has joined ##OpenGL
[16:31:06] *** mizux has joined ##OpenGL
[16:31:22] *** zajfy has joined ##OpenGL
[16:31:23] *** b4b has joined ##OpenGL
[16:36:25] *** ripper93 has quit IRC
[16:37:06] *** ripper93 has joined ##OpenGL
[16:38:53] <ripper93> Hey guys, I'm just starting to use opengl 3+ (coming from the opengl 2.1) and I'm having a very hard time in just drawing a triangle.
[16:39:42] <Yaniel> no surprises there
[16:39:55] <Yaniel> have you used VBOs before?
[16:40:13] <TGYoshi> Yaniel: (in reply to hours ago) glTexSubImage indeed seems like a wonderful thing, gonna use that, thanks!
[16:40:33] <ripper93> Yaniel: no, I haven't.
[16:40:54] <ripper93> I just did everything with glBegin and glEnd
[16:41:22] <Yaniel> kestasjk: whoa
[16:41:41] <kestasjk> Yaniel: yeah, that just shouldnt be in a web browser, its unnatural
[16:41:42] <ripper93> using buffers is like a totally different paradigm.
[16:41:50] <Yaniel> ripper93: then I recommend reading a modern gl tutorial like the stuff mentioned in the channel topic
[16:42:05] <Yaniel> open.gl and opengl-tutorial.org are decent too
[16:42:15] <TGYoshi> open.gl is what I recommend
[16:42:52] <Bloodust> I prefer opengl-tutorial.org
[16:43:46] *** asido has joined ##OpenGL
[16:45:06] <ripper93> Thank you guys for these links
[16:45:09] <ripper93> I'll take a look.
[16:49:21] *** erhan_ has joined ##OpenGL
[16:50:05] *** Suchorski has joined ##OpenGL
[16:50:11] *** Zerflag has joined ##OpenGL
[16:50:52] *** ripper93 has quit IRC
[16:54:12] *** jdolan has quit IRC
[16:54:36] *** drag0nius has joined ##OpenGL
[16:54:52] *** Zerflag has quit IRC
[16:58:25] *** Nosezeichen has joined ##OpenGL
[16:58:36] <Nosezeichen> hi
[16:59:28] <Nosezeichen> anyone can help me with an strange exception I get when calling: glutCreateWindow ("Window"); ?
[17:00:10] <Hunts> what strange exception?
[17:00:55] <Nosezeichen> I do something in an endless loop and calling glutCreateWindow ("Window"); is one of it. works for some time, but than after 30 reinits of glut i get an unhandled exception during user callback exception
[17:01:18] *** navitsu has joined ##OpenGL
[17:01:18] <Nosezeichen> i wrote it down on stackoverflow
[17:02:06] *** navitsu has quit IRC
[17:02:18] <Nosezeichen> dont know how to narrow the thing down to what is causing it
[17:02:47] *** navitsu has joined ##OpenGL
[17:03:47] *** BitPuffin has quit IRC
[17:05:15] <Bloodust> why would you recreate glut window in a loop?
[17:05:26] <Yaniel> I was wondering about the same
[17:05:43] *** BitPuffin has joined ##OpenGL
[17:06:07] <Nosezeichen> yes I know i won't have to do it. but in fact I'm using that DLL in my java application via JNA
[17:06:37] <Nosezeichen> and strange things happened when I didn't reloaded the DLL
[17:06:42] <Yaniel> JNA?
[17:06:50] <Nosezeichen> Java Native Acces
[17:06:58] <Bloodust> huehue java
[17:07:19] <Yaniel> hrm.. just use LWJGL?
[17:07:47] <Nosezeichen> its for calling native methods from java-side
[17:08:03] <Nosezeichen> hm let me simplify it to this
[17:08:17] <Yaniel> yeah, I meant use LWJGL so you don't need the DLL at all
[17:08:35] <Yaniel> on another note, lldb takes ages to build
[17:09:37] <derhass> Nosezeichen: your code seems to be multithreaded (as runLib is an endless loop, you'll need another thread for requestTermination), but there is no synchronization regarding the termination at all
[17:09:38] <Nosezeichen> on java side I'm using the jMonkneyEngine (GameEngine) and I'm using a native Kinect application which creates a user window
[17:10:28] <Nosezeichen> the native side renders the user viewer to a buffer
[17:10:50] <Nosezeichen> whose content i display on java side
[17:12:11] <Nosezeichen> i thought about synchronisation problems too, but for now Im just using something like: while(condition) sleep(100);
[17:12:53] *** jdolan has joined ##OpenGL
[17:14:42] <Nosezeichen> I'm looking right now if I have overseen something which could cause synch problems
[17:17:47] <Nosezeichen> i might have found one line which could have caused this
[17:18:20] *** garFF has joined ##OpenGL
[17:20:59] *** wreed has joined ##OpenGL
[17:24:27] *** garFF has quit IRC
[17:30:52] *** jdolan has quit IRC
[17:33:54] *** pink-rg has joined ##OpenGL
[17:34:02] *** b4b has quit IRC
[17:34:49] *** Alina-malina has quit IRC
[17:35:48] *** Alina-malina has joined ##OpenGL
[17:37:54] <abs25> GL SE
[17:37:56] <abs25> gl_Position = u_projTrans * vec4(a_position + u_distort,1.);
[17:38:00] <abs25> Shader: ERROR: 0:19: 'constructor' : too many arguments
[17:38:02] <abs25> why?
[17:38:54] <Hunts> what's a_position and u_distort?
[17:39:21] <abs25> u_distort vec3, a_position vec4
[17:39:42] <Hunts> so what happens when you sum a vec3 and a vec4?
[17:40:10] <tha_grid> do you got a minute
[17:40:14] <tha_grid> ill try
[17:40:16] *** Waynes has quit IRC
[17:41:05] *** Waynes has joined ##OpenGL
[17:41:41] *** mtj has quit IRC
[17:41:42] *** luxigo has joined ##OpenGL
[17:42:04] *** lenarhoyt has quit IRC
[17:42:23] *** Alina-malina has quit IRC
[17:43:06] *** mtj has joined ##OpenGL
[17:43:34] <abs25> hunts tnx
[17:44:54] <pink-rg> i'm porting some opengl code from windows to mac
[17:45:03] <pink-rg> and on windows i'm including gl.h/glext.h
[17:45:17] <pink-rg> on mac should i inculde these files or us gl3.h/gl3ext.h?
[17:45:47] *** Alina-malina has joined ##OpenGL
[17:48:38] *** drag0nius_ has joined ##OpenGL
[17:50:09] *** Grimshaw has quit IRC
[17:51:24] <tha_grid> you will get an error with vec3 + vec4 just for the record
[17:51:36] *** drag0nius has quit IRC
[17:54:14] *** Twinklebear has joined ##OpenGL
[17:55:27] *** hdon has joined ##OpenGL
[17:55:56] *** Orion] has joined ##OpenGL
[17:58:35] *** erhan_ has quit IRC
[17:59:34] *** erhan_ has joined ##OpenGL
[17:59:51] *** lenarhoyt has joined ##OpenGL
[18:04:23] *** Alina-malina has quit IRC
[18:04:51] *** Alina-malina has joined ##OpenGL
[18:04:55] *** Alina-malina has quit IRC
[18:04:55] *** Alina-malina has joined ##OpenGL
[18:05:48] *** Zerflag has joined ##OpenGL
[18:08:10] *** groton has quit IRC
[18:11:10] *** Zerflag has quit IRC
[18:12:10] *** telex has quit IRC
[18:13:29] *** RockLee has joined ##OpenGL
[18:14:40] *** telex has joined ##OpenGL
[18:16:56] *** erhan_ has quit IRC
[18:17:36] *** ninzine has quit IRC
[18:18:14] *** karswell` has quit IRC
[18:21:54] <Nosezeichen> @derhass thank you, I think I found the synchronization problem
[18:24:23] *** Gamecubic has joined ##OpenGL
[18:25:48] <tha_grid> im reading someone else's c code and thats always full of errors
[18:25:53] <tha_grid> start simple
[18:26:19] <Bloodust> main.cpp|| undefined reference to `objloader::load(char const*)'|
[18:26:26] <Bloodust> you forgot to link something
[18:26:29] <tha_grid> start with a new c file and have it contain int main () {}
[18:26:34] <Bloodust> that something contains the objectloader class
[18:26:42] <Bloodust> tha_grid thats c++ not C
[18:27:09] <Bloodust> RockLee also, that tutorial sucks
[18:27:18] <Bloodust> its using the old removed functionality
[18:28:12] <tha_grid> i am working with rpi and they gave a complete environment, all you had to do was make
[18:28:27] <RockLee> @bloodlust lol. I stumbled across it while trying to find out how to do things for my project. At this point, I'm almost willing to pay someone to end my openGL headache....
[18:28:30] <tha_grid> it is AWESOME
[18:28:37] <RockLee> Cool lemme check those out @bloodlust
[18:29:14] <tha_grid> i was gonna coach the guy
[18:29:29] <tha_grid> line by line
[18:29:38] <tha_grid> but yeah those were undef references
[18:31:06] *** kuldeepdhaka has quit IRC
[18:31:12] *** Binero has joined ##OpenGL
[18:31:27] <Binero> Is there a way to make wgl return all opengl functions, even the <1.3 ones?
[18:31:38] <Binero> It makes it a pain to develop cross platform otherwise
[18:33:54] *** kuldeepdhaka has joined ##OpenGL
[18:47:35] <derhass> Binero: no
[18:48:09] <derhass> although I don't get your point
[18:48:30] <Binero> well
[18:48:46] <Binero> I essentially need to create 2 completely different libraries to load OpenGL functions
[18:48:52] <Binero> just because wgl doesn't allow for that
[18:49:06] <derhass> depends on what you are doing
[18:49:17] <derhass> there are some hacks, also
[18:50:58] <derhass> the "1.3" is also not correct. everything above 1.1 is extension on windows
[18:51:05] *** MLM has joined ##OpenGL
[18:51:20] *** Biliogadafr has joined ##OpenGL
[18:51:44] *** ninzine has joined ##OpenGL
[18:56:56] <Binero> Some hacks?
[18:57:04] *** Syzygy__ has joined ##OpenGL
[18:57:06] *** hahuang65 has joined ##OpenGL
[18:57:32] <Binero> I feel like I first have to parse 1.1, then parse 3.3, get what they have in common and then write 2 different loaders for 1 OpenGL version to just support Windows
[18:58:02] *** Syzygy_ has quit IRC
[18:58:33] <Bloodust> hoho
[18:58:37] <Polarina> Binero, targetting 1.1 is going to be your ultimate nightmare.
[18:59:54] <Binero> Why's that?
[19:00:26] *** Portals has joined ##OpenGL
[19:00:38] <Polarina> Binero, its lack of features and capabilities, primarily. It leaves you with little to work with.
[19:00:55] <Binero> Oh like that, but I don't want to target 1.1
[19:02:11] <Polarina> Then might I ask what you want to do with 1.1?
[19:03:09] <Portals> If you guys feel like screaming how bad I'm at OpenGL (I'm not that bad though :)), I'm streaming right now twitch.tv/portalprogramming
[19:04:25] <Bloodust> glTexCoordPointer
[19:04:27] <Bloodust> kidius
[19:04:57] <Portals> I wanted to create a quick test. Was a long time ago since I used GL11
[19:06:08] <Portals> :D
[19:06:27] <Bloodust> btw, your mic is really low I cant hardly hear you
[19:06:27] *** Misu has quit IRC
[19:07:00] *** Misu has joined ##OpenGL
[19:07:05] <Bloodust> a bit
[19:07:25] *** abs25 has quit IRC
[19:07:34] *** cr`nge has joined ##OpenGL
[19:07:45] <Bloodust> its good
[19:08:15] <Bloodust> and my ff crashed
[19:08:36] <Bloodust> ill get back to playing borderlands
[19:08:59] <Binero> polarina: I need 1.1 to see what functions I have to load from a DLL and which I need to load using wgl
[19:09:51] *** goliath has quit IRC
[19:10:53] *** mukunda_ has quit IRC
[19:10:59] <derhass> Binero: or you just ignore that and try to load from opengl32.dll whenever wglGetProcAddress() fails
[19:11:07] <Binero> polarina: I was doing this, but I figured lots of errors could be solved by creating bindings which load opengl on a per-context basis
[19:11:28] <Binero> derhass: seems like the best option sadly
[19:11:35] <Binero> hadn't thought of that yet
[19:11:47] *** kmnt has joined ##OpenGL
[19:11:57] *** mukunda_ has joined ##OpenGL
[19:18:12] *** shingshang has quit IRC
[19:18:40] <dav1d> Binero: would love input from you about glad, if you run into trouble/things which should work differently (or don't work at all :o)
[19:19:32] <dav1d> you can also use glad as library, subclass a loader and go from there
[19:19:44] <Portals> Bloodust, what's wrong with my glTexCoordPointer?
[19:19:55] *** luxigo has quit IRC
[19:20:56] <Bloodust> removed from core
[19:21:03] <Bloodust> like VertexPointer etc.
[19:21:13] <Bloodust> replaced by glVertexAttribPointer
[19:22:07] <Binero> davld I don't think that library fixes the issue of separating bindings from contexts though
[19:22:35] <Portals> I know it's removed from the core. But glVertexAttribPointer only works with shaders
[19:23:07] <Portals> Bloodust
[19:23:11] <Bloodust> yep
[19:23:15] <derhass> well, that is kind of the point: the fixed-function pipeline is deprecated/removed
[19:23:27] <Bloodust> and not using shaders is also removed from core
[19:23:37] <Portals> My test just got a lot bigger :P
[19:24:01] <Bloodust> and VertexPointer etc. does work with older shaders
[19:24:22] <Bloodust> I think
[19:24:49] <Portals> Pre 2.0?
[19:24:52] <derhass> glVertexPointer is a special case anyway. as this can _always_ be replaced by glVertexAttribPointer, even if one does not use shaders
[19:25:09] <Bloodust> there were no shaders pre 2.0 :D
[19:25:26] <derhass> there were the ARB extensions
[19:25:51] <derhass> and before that, the framgent and vertex program extensions
[19:26:03] <Portals> I got confused when you used the term "older shaders"
[19:26:09] *** doev has quit IRC
[19:26:15] <Portals> :)
[19:26:28] <Portals> Bloodust, are you watching my stream
[19:26:31] *** Ad1_RnR has joined ##OpenGL
[19:27:09] <Bloodust> nope, im playing borderlands
[19:27:32] <derhass> haha!
[19:28:01] *** wreed has quit IRC
[19:28:06] <Portals> Oh, just wanted to see if typing here was unnecessary :P
[19:30:18] <Bloodust> I do die too much
[19:30:21] *** Ad1_RN has quit IRC
[19:30:25] <Portals> What level?
[19:31:10] <Bloodust> well I started a new char, its at lvl 16
[19:31:23] *** b4b has joined ##OpenGL
[19:38:12] *** cr`nge has quit IRC
[19:42:26] <Bloodust> one does not simply speedrun borderlands game with all the god dang dialog
[19:43:50] *** zajfy has quit IRC
[19:46:00] *** samrat has quit IRC
[19:49:10] *** RockLee has quit IRC
[19:49:57] <Portals> True Bloodust!
[19:50:15] <Portals> I shall be back soon, gonna watch me some Thor, The dark world
[19:50:18] <Portals> See ya!
[19:53:33] *** Zerflag has joined ##OpenGL
[19:54:11] *** cr`nge has joined ##OpenGL
[19:55:57] *** abs25 has joined ##OpenGL
[19:56:44] *** edwardjohn has joined ##OpenGL
[19:57:01] *** Portals has quit IRC
[19:57:46] *** edwardjohn has quit IRC
[20:05:46] *** doomlord_1 has joined ##OpenGL
[20:08:44] *** Binero has quit IRC
[20:10:47] *** karswell` has joined ##OpenGL
[20:10:56] *** kestasjk has quit IRC
[20:14:26] *** Stragus has quit IRC
[20:17:22] *** void256 has joined ##OpenGL
[20:21:42] *** drag0nius_ has quit IRC
[20:22:55] *** goliath has joined ##OpenGL
[20:28:16] *** asido has quit IRC
[20:39:03] *** picassodvd has joined ##OpenGL
[20:46:34] *** edwardjohn has joined ##OpenGL
[20:46:38] *** Zerflag has quit IRC
[20:50:11] *** Orion] has quit IRC
[20:51:04] *** picassodvd has quit IRC
[20:53:08] *** MLM has quit IRC
[20:57:22] *** erhan_ has joined ##OpenGL
[20:58:19] *** Ad1 has quit IRC
[21:02:36] *** Suchorski has quit IRC
[21:03:27] *** karswell` is now known as karswell
[21:05:45] *** staylor has joined ##OpenGL
[21:08:37] *** goliath has quit IRC
[21:11:12] *** SugarCube has quit IRC
[21:14:05] *** SugarCube has joined ##OpenGL
[21:14:22] *** tha_grid has quit IRC
[21:25:03] *** doomlord_1 has quit IRC
[21:26:18] *** se_ has joined ##OpenGL
[21:29:11] *** Nosezeichen has quit IRC
[21:29:37] *** centrinia has joined ##OpenGL
[21:34:38] *** se_ has quit IRC
[21:34:42] *** kmnt has quit IRC
[21:39:09] *** RockLee has joined ##OpenGL
[21:42:11] *** razieliyo has quit IRC
[21:53:14] *** Garner has quit IRC
[21:57:56] *** Stragus has joined ##OpenGL
[21:58:04] *** lenarhoyt has quit IRC
[22:01:36] *** jdolan has joined ##OpenGL
[22:05:45] *** kmnt has joined ##OpenGL
[22:14:35] *** Garner has joined ##OpenGL
[22:15:44] *** groton has joined ##OpenGL
[22:18:23] *** ManDay has joined ##OpenGL
[22:25:18] *** staylor_ has joined ##OpenGL
[22:26:19] *** MLM has joined ##OpenGL
[22:34:07] *** BreadProduct has joined ##OpenGL
[22:36:03] *** kmnt has quit IRC
[22:37:01] *** Keniyal has quit IRC
[22:39:17] *** staylor_ has quit IRC
[22:49:39] *** stefkos has quit IRC
[22:49:47] *** Waynes has quit IRC
[22:55:55] *** jdolan has quit IRC
[22:56:34] *** XCVB has joined ##OpenGL
[22:56:40] *** absof25 has joined ##OpenGL
[22:57:16] *** Portals has joined ##OpenGL
[23:00:03] *** abs25 has quit IRC
[23:02:14] <Portals> I'm live, if anyone cares. twitch.tv/portalprogramming
[23:04:11] *** edwardjohn has quit IRC
[23:09:28] <Codex_> 42
[23:10:09] <derhass> 23
[23:11:32] <void256> 1337
[23:11:40] <Codex_> I'm going through all points in 3d space, and it didnt kill my performance.
[23:12:02] <Bloodust> that sentence made no sense
[23:12:15] <derhass> Codex_: _all_ pojnts in 3d space? only chuck norris can do that
[23:12:25] <void256> :)
[23:12:44] <Yaniel> derhass: is that a problem?
[23:13:14] <derhass> Yaniel: depends
[23:13:50] <Codex_> I do get badalloc if I do 1000x1000x1000 sampling..
[23:14:08] <Yaniel> I'm more interested in how you manage to prove you handle all points of an endless continuous space
[23:14:15] *** b4b has quit IRC
[23:14:27] <derhass> Yaniel: I don't.
[23:14:34] <Yaniel> Portals: it says offline
[23:14:52] <Yaniel> also
[23:15:12] <Yaniel> playing "Game Development"
[23:15:21] *** ManDay has quit IRC
[23:15:40] <bob_twinkles> Codex_: assuming that you're using unsigned chars that's about a gigabyte of memory
[23:16:35] *** Beetny has joined ##OpenGL
[23:17:58] <Portals> Had some drivers issue,
[23:18:08] <Portals> Yeah, I should change that. True
[23:18:15] <Yaniel> Portals: if you are C literate you might want to take a look at the examples github linked in the channel topic
[23:18:15] <Codex_> its actually 3 floats per point, but not all points need to be stored, since I discard large section of the space. But it consumes cycles for all the samples
[23:18:21] <derhass> game development isn't a game
[23:18:30] *** slidercrank has quit IRC
[23:18:55] <Yaniel> it just sounded a bit like playing "house"
[23:19:15] <void256> handmade hero is kinda cool tho
[23:19:25] <Yaniel> although in the case of opengl it would be more like an asylum
[23:19:33] <void256> but that's offtopic since he's not using opengl yet
[23:19:36] <void256> sorry
[23:19:41] <void256> OPENGL RULES \m/
[23:21:57] <Portals> Thanks Yaniel
[23:22:27] <Portals> I'm live again btw.
[23:22:56] <Portals> The thing is, I'm getting a "Validation warning! - Sampler value sampler has not been set."
[23:23:02] <Portals> Never had it before
[23:24:10] <Portals> I'm using OpenGL void256. LWJGL, which is a bindning of OpenGL to Java
[23:24:12] <bob_twinkles> well, are you setting the sampler value?
[23:24:38] <void256> Portals: me too - LWJGL RULES TOO! \m/
[23:24:40] <void256> ;)
[23:24:50] <Portals> \m/
[23:25:06] <derhass> wgat? lwjgl rules?
[23:25:14] *** kuldeepdhaka has quit IRC
[23:25:32] <Portals> bob_twinkles, well. In my rendering engine, I don't set it. And it works
[23:25:54] <Portals> I'm going to check the github examples on glMapBufferRange
[23:26:14] <Yaniel> well the error starts obviously at the point where java got involved ;)
[23:26:30] <Yaniel> anyway
[23:26:31] <Portals> :P
[23:26:34] <bob_twinkles> samplers are automatically initialized to 0 (by deffinition, so you're safe)
[23:26:48] <bob_twinkles> so that's probably why it works
[23:26:55] <bob_twinkles> derhass: ^ I'm not making that up right?
[23:27:08] <Yaniel> I'd have to check the spec on that
[23:27:42] <Yaniel> but anyway practically things are initialized to "zero" values yes
[23:28:04] <Yaniel> but still it is a bad idea to not initialize variables
[23:28:33] *** Ad1 has joined ##OpenGL
[23:28:38] *** derhass_ has joined ##OpenGL
[23:29:31] <Yaniel> hmm, are you using ARB_debug_output?
[23:30:00] <Portals> Yaniel, can I talk to you through the stream?
[23:30:33] <Yaniel> I can hear you, but not chat
[23:31:09] <Yaniel> do you use teh debug callback?
[23:31:46] *** derhass has quit IRC
[23:31:53] <Yaniel> well, the other way around then - where does that warning come from?
[23:32:48] *** Shell32_ has joined ##OpenGL
[23:33:09] <bob_twinkles> hmm, I can't find anything in the spec
[23:33:20] <bob_twinkles> Portals: set yo uniforms!
[23:33:41] *** derhass_ is now known as derhass
[23:34:23] *** garFF has joined ##OpenGL
[23:34:25] *** jeffroman has joined ##OpenGL
[23:34:42] <Yaniel> Portals: I'm pretty sure you are using glValidateProgram wrong
[23:34:56] <Yaniel> or the if after it
[23:35:12] <Yaniel> unless I'm missing something important about shaderProgram
[23:36:36] *** garFF_ has joined ##OpenGL
[23:36:42] <Yaniel> is it some integer like in the C api?
[23:36:45] *** garFF has quit IRC
[23:39:06] <Yaniel> just having used the code before doesn't mean it is correct :D
[23:39:12] <Yaniel> especially when it comes to graphics
[23:39:46] <Yaniel> most drivers do some funky things to work around bugs in games or reasons nobody remembers anymore
[23:40:30] <glYoda> "I'm not making that up right?" …all uniform state (as per the spec) is zero initialized
[23:40:57] <glYoda> other states (i.e. attributes for instance) are initialized to predefined values as well
[23:41:01] <glYoda> as per the spec
[23:41:23] <glYoda> (0,0,0,1) for instance
[23:46:54] <bob_twinkles> I thought so, but I wanted to be sure
[23:47:07] <bob_twinkles> I don't have all 800 some pages memorized yet
[23:47:17] <Yaniel> hehe
[23:48:01] *** Syzygy_ has joined ##OpenGL
[23:50:15] <Portals> Yaniel, seems to be some problem with the shaders, spooky. But the glMapBufferRange worked
[23:51:06] <Yaniel> yes, your shader setup code has more than a couple of problems
[23:51:42] *** Syzygy__ has quit IRC
[23:52:00] *** staylor_ has joined ##OpenGL
[23:52:45] <Portals> :(
[23:52:57] <Portals> I copied it wrong I guess
[23:53:01] <Portals> From my old project
[23:53:20] <Yaniel> I recommend checking the docs on how each of those functinos works
[23:53:44] <Portals> Yaniel, I know how everything worked
[23:53:55] <Portals> I copied the code cause I don't feel like rewriting it
[23:54:03] <Yaniel> but you are checking the shader handle?
[23:54:11] <Yaniel> it's just an arbitrary number anyway
[23:54:22] *** cr`nge has quit IRC
[23:54:47] <Portals> I was
[23:55:37] *** aethersis has joined ##OpenGL
[23:55:47] <aethersis> ok guys, I have something that will blow your minds
[23:56:04] <derhass> my mind is already blown
[23:56:21] <aethersis> how the fuck kernel based blur seems to be the same as jacobi method for solving poisson equation
[23:56:31] <aethersis> for gods sake, it blew my mind! Am i missing something?!
[23:57:02] *** groton has quit IRC
[23:57:25] <aethersis> if anyone explains this strange phenomenon to me, I will be incredibely thankful
[23:57:58] <aethersis> you know what kernel based blur looks like, right? new = (N+S+W+E+C)/5
[23:58:06] <aethersis> and guess what the jacobi method looks like? THE SAME!
[23:58:15] <void256> OMG!
[23:58:16] <aethersis> except that instead of c you have alpha times b
[23:58:19] * void256 mind is blown ...
[23:58:42] <aethersis> but in some special cases, it may be exactly the same and it actually is in numerical method presented by Jos Stam in his fluid dynamics paper
[23:59:15] <aethersis> when I try to visualize it, it actually makes sense, since it calculates gradient of the scalar field, which is set of values of some discrete function
[23:59:47] <aethersis> you got a point and once you process it using this method, it will blur around it, showing numerically how much the function grows around the point - it will create something like a "hill"