Switch to DuckDuckGo Search
   February 9, 2018  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | >

Toggle Join/Part | bottom
[00:00:06] *** Keniyal <Keniyal!~Keniyal@unaffiliated/keniyal> has quit IRC (Remote host closed the connection)
[00:01:45] <s3a> chrisf, When you say one of them needs an offset, do you mean that the 1 in the second glVertexAttribPointer should be a 3?
[00:02:00] <Stragus> 3 bytes, really?
[00:02:08] *** Apeiron` <Apeiron`!~Apeiron@enigmavoid.com> has quit IRC (Quit: ZNC - http://znc.in - it's pretty ftw)
[00:02:22] <Stragus> And the 1 is the vertex attribute location, it's not the offset
[00:03:40] <s3a> Stragus, in the 2nd parameter "index," each index is a set of 3 floats, right?
[00:03:48] *** Apeiron` <Apeiron`!~Apeiron@enigmavoid.com> has joined ##OpenGL
[00:04:22] <Stragus> Second parameter is count of components, don't have to be floats
[00:04:57] <s3a> Stragus, so 2 would be the third set of three components, right?
[00:05:11] <ZeroWalker> so what's happening here;d
[00:05:26] <s3a> Stragus, so 4 would be the fifth set of three components, right?*
[00:05:28] <chek> s3a is learning how to use glVertexAttribPointer
[00:05:59] <Stragus> s3a: Attributes can be 1-4 components in a variety of types, not always XYZ
[00:06:10] <ZeroWalker> ah, that might be worth listening to
[00:06:27] <Stragus> And the first argument is the vertex attribute location... Okay, so you don't quite understand that part either
[00:07:02] <s3a> oops the first parameter is index
[00:07:23] <s3a> should the 2nd parameter be 3*sizeof(GLfloat)
[00:07:27] <Stragus> It would be easier for you to read about all this, it's a lot of material to cover
[00:07:39] <Stragus> We can help with more specific questions or mistakes
[00:07:52] <chek> no you're specifying that there are 3 elements, and that they are floats
[00:08:49] <chek> you should look into the final parameter and see what that is used for
[00:11:13] *** kektrain___ <kektrain___!~bvzghse@179.182.23.61> has joined ##OpenGL
[00:11:41] *** kektrain___ <kektrain___!~bvzghse@179.182.23.61> has left ##OpenGL
[00:11:45] *** Tulah <Tulah!~tulah@durhur.fi> has quit IRC (Ping timeout: 256 seconds)
[00:13:15] <s3a> glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 6*sizeof(GLfloat), (GLvoid*)0);glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 6*sizeof(GLfloat), (GLvoid*)3); ?
[00:13:27] *** CapsAdmin <CapsAdmin!~CapsAdmin@200.80-203-97.nextgentel.com> has quit IRC (Ping timeout: 240 seconds)
[00:13:30] <Stragus> Offset in _bytes_
[00:15:03] <s3a> Stragus, I don't mean that as in doubting you, but where does it say bytes for pointer?: http://docs.gl/gl3/glVertexAttribPointer
[00:15:48] <s3a> Or, how should I know that that's what is meant?
[00:15:56] <Stragus> Because it's all in bytes. People use a lot more often than floats, floats are bulky
[00:16:13] <Stragus> It wouldn't make sense for an offset or a stride to be in anything else than bytes
[00:16:35] <Stragus> Err, people use a lot more formats* than floats
[00:16:38] <chek> > pointer is treated as a byte offset into the buffer object's data store.
[00:16:55] <chek> fourth paragraph under Description
[00:17:05] <s3a> chek, Oh, right. :P
[00:17:14] <chek> a bit hidden I guess
[00:17:37] <chek> the key is your other attributes in the same buffer could be different types which aren't floats
[00:18:23] <s3a> I see.
[00:21:03] <s3a> glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 6*sizeof(GLfloat), (GLvoid*)0);glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 6*sizeof(GLfloat), (GLvoid*)3*sizeof(GL_FLOAT)); ?
[00:22:01] <chek> that sounds good to me, but you have an operator precedence issue with the GLvoid* cast and multiplying by sizeof GLfloat
[00:22:07] <chek> also you used GL_FLOAT instead of GLfloat there
[00:24:11] <ZeroWalker> what is this: (GLvoid*)3*sizeof(GL_FLOAT)
[00:24:19] <ZeroWalker> even if you use GLfloat isn't it weird?
[00:24:27] <ZeroWalker> how can you have a pointer from a size
[00:24:42] <chrisf> ZeroWalker: it used to be an actual pointer
[00:24:54] <chrisf> ZeroWalker: back when vertex arrays lived in client memory
[00:25:31] <ZeroWalker> but, is that even valid, i mean how does the function use something like that, makes no sense to have (void*)10 for example
[00:25:59] <chek> the function converts back when it sees there is a buffer bound
[00:27:33] <ZeroWalker> converts back to what, just the number?
[00:27:51] <chek> yes
[00:28:16] <chrisf> it's crufty, but the existing function signature cant change.
[00:28:44] <ZeroWalker> ah, never used that last parameter myself, so never understood what it was for
[00:28:51] <chrisf> ARB_vertex_attrib_binding cleans it up in the new API.
[00:29:09] <s3a> glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 6*sizeof(GLfloat), (GLvoid*)0);glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 6*sizeof(GLfloat), (GLvoid*)(3*sizeof(GL_FLOAT))); ?
[00:29:19] <s3a> (I added parentheses.)
[00:29:27] <s3a> around the 3*sizeof(GL_FLOAT)
[00:29:33] <chrisf> the last GL_FLOAT is nonsense
[00:29:34] <ZeroWalker> been trying to get my damn texture to work, one of the things i actually though i did remember as i got older code
[00:29:39] <chrisf> you meant GLfloat
[00:29:55] <ZeroWalker> though, technically, GL_FLOAT is the same probably
[00:30:07] <ZeroWalker> in size that is
[00:30:40] <ZeroWalker> though NOT what you should use
[00:30:56] <s3a> Wait, what's the difference?
[00:31:03] <chrisf> s3a: GL_FLOAT is an enum value
[00:31:03] <s3a> between them
[00:31:07] <chrisf> s3a: GLfloat is a typename
[00:31:07] <s3a> o
[00:32:33] <Stragus> gl.h: #define GL_FLOAT 0x1406
[00:33:01] <ZeroWalker> yeah, GLfloat is basically just float, the actualy type
[00:33:07] <ZeroWalker> GL_FLOAT is just a value, a number
[00:33:48] *** xerpi <xerpi!~xerpi@108.red-83-45-197.dynamicip.rima-tde.net> has quit IRC (Quit: Leaving)
[00:34:47] *** ville <ville!~ville@37-136-39-54.rev.dnainternet.fi> has quit IRC (Ping timeout: 256 seconds)
[00:36:06] <s3a> Thanks for clarifying. :)
[00:38:22] <s3a> Now I have something showing :D, but it's glitchy.
[00:38:52] <s3a> I'll send code. Two secs.
[00:40:45] *** ville <ville!~ville@37-136-68-181.rev.dnainternet.fi> has joined ##OpenGL
[00:41:48] <s3a> main.cpp: http://dpaste.com/1CGFPR2 fragment shader: http://dpaste.com/0Q9XET3 vertex shader: http://dpaste.com/294C57C
[00:44:48] <s3a> Screenshot: https://expirebox.com/download/28102f941796340c0f4776c5638c817b.html
[00:46:24] <s3a> Does that screenshot help at all?
[00:46:31] <chek> no I can't even view it
[00:47:09] <ZeroWalker> i can, some fancy stuff
[00:47:11] <ZeroWalker> The Matrix
[00:48:02] <s3a> Screenshot: https://unsee.cc/4fe55873/
[00:48:33] <s3a> Yeah. :D
[00:48:46] <s3a> Notice how the glitches are triangles in that screenshot. Is that helpful for debugging?
[00:49:18] <chek> I don't see that either but I ran it myself and I see something
[00:49:26] <chek> the green grid is nice, looks pretty solid
[00:49:39] <chek> there's a green square in the center with a triangle cut out of it
[00:50:15] *** l3dx <l3dx!uid2250@gateway/web/irccloud.com/x-edyxmhrulolpffiw> has quit IRC (Quit: Connection closed for inactivity)
[00:52:52] *** Kingsquee <Kingsquee!~kingsquee@d154-5-142-128.bchsia.telus.net> has quit IRC ()
[00:55:03] *** Tulah <Tulah!~tulah@durhur.fi> has joined ##OpenGL
[00:57:03] <s3a> chek, That's what I meant, sorry. There are three triangles cut out of the cube in the screenshot I sent.
[00:57:35] <ZeroWalker> am i missing something obvious here: http://paste.awesom.eu/rBT4&ln?
[00:59:50] *** ville <ville!~ville@37-136-68-181.rev.dnainternet.fi> has quit IRC (Ping timeout: 260 seconds)
[01:02:21] <chek> not that I see, why
[01:02:48] <chek> glGetAttribLocation returns GLint not GLuint
[01:03:24] <ZeroWalker> i can't get the texture to be rendered on my boxes, been going through the stuff step by step, not sure where it goes wrong
[01:03:29] <ZeroWalker> ah ty
[01:07:13] <chek> s3a: what's the problem with the cube
[01:07:26] <chek> it seems ok to me but you're drawing one triangle per face instead of two
[01:07:39] <chek> so half of each face is missing
[01:09:44] <s3a> chek, Line 245: http://dpaste.com/1CGFPR2 Each face has two triangles. (Unless we're talking about different things.)
[01:13:18] *** lucaswang <lucaswang!~lucaswang@180.159.202.62> has quit IRC (Read error: Connection reset by peer)
[01:13:27] *** lucaswang <lucaswang!~lucaswang@180.159.202.62> has joined ##OpenGL
[01:13:36] *** Elysion <Elysion!~Elysion@118.211.15.153> has quit IRC ()
[01:13:57] *** Elysion <Elysion!~Elysion@118.211.15.153> has joined ##OpenGL
[01:14:34] <chek> you're right, my bad
[01:14:37] <chek> that is odd
[01:17:27] <chek> oh
[01:17:45] <chek> you have 6*sizeof(GLfloat) for your stride for vertCube
[01:18:03] <chek> but your strides should be 3 floats
[01:18:25] *** lucaswang <lucaswang!~lucaswang@180.159.202.62> has quit IRC (Ping timeout: 256 seconds)
[01:18:43] <Stragus> ZeroWalker: Uniform value assigned to sampler, and the texture is bound to the unit that corresponds to that value?
[01:18:56] <ZeroWalker> Active0, sampler 0
[01:19:38] <ZeroWalker> texCoord simply passes the vertex shader, and in the frag shader it's "vec4 color = texture(sampler,texCoord);"
[01:20:33] <chek> any issues with say GL_TEXTURE_MIN_FILTER and mipmapping?
[01:21:01] <ZeroWalker> i use MIN and MAG, haven't used any mipmapping
[01:23:02] <ZeroWalker> hmm wait, if disable the transparency stuff it works, but the image is corrupted, must be loading it wrong
[01:26:14] *** geo5 <geo5!~geo5@2601:601:1800:53a4::54a> has quit IRC (Ping timeout: 255 seconds)
[01:28:32] *** upgrdman <upgrdman!~upgrdman@blender/artist/upgrdman> has quit IRC (Quit: Leaving)
[01:32:40] *** castleboar <castleboar!~bes@unaffiliated/castlelore> has quit IRC (Quit: ZNC 1.6.5 - http://znc.in)
[01:36:39] *** derhass <derhass!~derhass@dslb-094-222-155-209.094.222.pools.vodafone-ip.de> has quit IRC (Quit: leaving)
[01:39:56] <ZeroWalker> yay got it to work, the biggest issue was that i thought the image i used was 32x32, but it was 16x16, so obviously the data went haywire
[01:42:01] *** ephemer0l <ephemer0l!~ephemer0l@pentoo/user/ephemer0l> has joined ##OpenGL
[01:42:40] *** acksys <acksys!~acksys@ip72-208-121-9.ph.ph.cox.net> has quit IRC (Ping timeout: 248 seconds)
[01:44:35] <s3a> chek, Oh; it's because I hadn't put the colours for the cube faces, I think.
[01:44:52] <s3a> that's why 6* was bad and 3* was good
[01:45:37] *** Orion] <Orion]!~H0i@unaffiliated/orion/x-3970838> has quit IRC (Ping timeout: 256 seconds)
[01:48:23] *** jubb <jubb!~jubb@pool-108-28-92-100.washdc.fios.verizon.net> has joined ##OpenGL
[02:01:37] *** nitroxis <nitroxis!n@nxs.re> has quit IRC (Remote host closed the connection)
[02:02:58] *** geo5 <geo5!~geo5@73.118.224.14> has joined ##OpenGL
[02:03:20] *** nitroxis <nitroxis!n@nxs.re> has joined ##OpenGL
[02:04:08] *** Tobbi <Tobbi!~Tobbi@supertux/tobbi> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[02:04:46] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7ob3oun8gbtf98.18120a2.ip6.access.telenet.be> has quit IRC (Ping timeout: 256 seconds)
[02:15:15] *** BearishMushroom <BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com> has quit IRC (Read error: Connection reset by peer)
[02:26:28] *** SiN_Bizkit <SiN_Bizkit!~SiN_Bizki@studio.unigine.com> has quit IRC (Ping timeout: 252 seconds)
[02:29:22] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has joined ##OpenGL
[02:32:24] *** SiN_Bizkit <SiN_Bizkit!~SiN_Bizki@studio.unigine.com> has joined ##OpenGL
[02:32:34] *** Thorn <Thorn!~Thorn@unaffiliated/thorn> has quit IRC (Read error: Connection reset by peer)
[02:33:51] *** KAHR-Alpha <KAHR-Alpha!~Alpha@LFbn-1-15527-64.w86-225.abo.wanadoo.fr> has quit IRC (Ping timeout: 248 seconds)
[02:36:11] *** jubb <jubb!~jubb@pool-108-28-92-100.washdc.fios.verizon.net> has quit IRC (Quit: Konversation terminated!)
[02:37:01] *** YungMoonHodler <YungMoonHodler!~me@2a02:810c:c7c0:1965:a93c:65e0:1d0b:d549> has joined ##OpenGL
[02:37:01] *** YungMoonHodler <YungMoonHodler!~me@2a02:810c:c7c0:1965:a93c:65e0:1d0b:d549> has quit IRC (Changing host)
[02:37:01] *** YungMoonHodler <YungMoonHodler!~me@unaffiliated/boscop> has joined ##OpenGL
[02:37:24] *** SiN_Bizkit <SiN_Bizkit!~SiN_Bizki@studio.unigine.com> has quit IRC (Remote host closed the connection)
[02:38:28] *** upgrdman <upgrdman!~upgrdman@blender/artist/upgrdman> has joined ##OpenGL
[02:39:41] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has quit IRC (Remote host closed the connection)
[02:39:48] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has joined ##OpenGL
[02:41:59] *** Thorn <Thorn!~Thorn@unaffiliated/thorn> has joined ##OpenGL
[02:47:45] *** SiN_Bizkit <SiN_Bizkit!~SiN_Bizki@studio.unigine.com> has joined ##OpenGL
[02:48:01] *** irrenhaus3 <irrenhaus3!~xenon@ip-37-201-7-18.hsi13.unitymediagroup.de> has quit IRC (Quit: Lost terminal)
[02:54:23] *** Fig1024 <Fig1024!~Fig@175.117.3.23> has quit IRC (Ping timeout: 256 seconds)
[02:59:42] <s3a> Could someone please help me figure out why only one cube is being drawn, and not two?: http://dpaste.com/1826E6X (The second cube should be translated 1 unit in the positive x direction.)
[03:01:33] *** SiN_Bizkit <SiN_Bizkit!~SiN_Bizki@studio.unigine.com> has quit IRC (Ping timeout: 256 seconds)
[03:04:05] *** Guest14820 <Guest14820!~impulse@S010664777dafc8b3.mh.shawcable.net> has quit IRC (Ping timeout: 260 seconds)
[03:07:05] *** SiN_Bizkit <SiN_Bizkit!~SiN_Bizki@studio.unigine.com> has joined ##OpenGL
[03:09:06] *** binezap <binezap!~binezap@96.53.62.146> has joined ##OpenGL
[03:21:31] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has quit IRC (Remote host closed the connection)
[03:22:18] *** impulse <impulse!~impulse@S010664777dafc8b3.mh.shawcable.net> has joined ##OpenGL
[03:25:42] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has joined ##OpenGL
[03:25:47] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has quit IRC (Remote host closed the connection)
[03:26:17] *** RajRajRaj <RajRajRaj!uid72176@gateway/web/irccloud.com/x-wgxcekhabxsowytc> has joined ##OpenGL
[03:27:49] *** DarkUranium <DarkUranium!~DarkUrani@77.38.34.248> has quit IRC (Read error: Connection reset by peer)
[03:27:53] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has joined ##OpenGL
[03:43:25] *** YungMoonHodler_ <YungMoonHodler_!~me@2a02:810c:c7c0:1965:cd75:9b7a:8c5b:1e11> has joined ##OpenGL
[03:43:25] *** YungMoonHodler_ <YungMoonHodler_!~me@2a02:810c:c7c0:1965:cd75:9b7a:8c5b:1e11> has quit IRC (Changing host)
[03:43:25] *** YungMoonHodler_ <YungMoonHodler_!~me@unaffiliated/boscop> has joined ##OpenGL
[03:45:18] *** krychu <krychu!~krychu@2a02:120b:2c07:5880:89a1:6efa:c900:e369> has quit IRC (Remote host closed the connection)
[03:47:10] *** YungMoonHodler <YungMoonHodler!~me@unaffiliated/boscop> has quit IRC (Ping timeout: 240 seconds)
[03:58:23] *** torgdor <torgdor!~weechat@cpe-104-32-77-28.socal.res.rr.com> has joined ##OpenGL
[04:06:22] *** Keniyal <Keniyal!~Keniyal@unaffiliated/keniyal> has joined ##OpenGL
[04:15:41] *** krychu <krychu!~krychu@2a02:120b:2c07:5880:e45a:7a3a:d2b1:620f> has joined ##OpenGL
[04:29:37] *** suhdood <suhdood!~suhdood@2601:282:d01:8f92:6c1d:3332:dbbe:2a83> has joined ##OpenGL
[04:40:02] *** Keniyal <Keniyal!~Keniyal@unaffiliated/keniyal> has quit IRC (Ping timeout: 256 seconds)
[04:47:40] *** DarkShin <DarkShin!~DarkShin@201-69-97-202.dial-up.telesp.net.br> has quit IRC (Ping timeout: 240 seconds)
[04:56:10] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[04:56:14] *** telex <telex!teletype@freeshell.de> has quit IRC (Remote host closed the connection)
[04:58:06] *** Keniyal <Keniyal!~Keniyal@unaffiliated/keniyal> has joined ##OpenGL
[04:58:22] *** torgdor <torgdor!~weechat@cpe-104-32-77-28.socal.res.rr.com> has quit IRC (Quit: WeeChat 2.0.1)
[04:58:31] *** telex <telex!teletype@freeshell.de> has joined ##OpenGL
[05:05:26] *** slime <slime!~slime73@24.215.81.93> has quit IRC (Quit: This computer has gone to sleep)
[05:12:31] *** rizzo <rizzo!~RizzoTheR@p54B6BDA4.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 268 seconds)
[05:12:48] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has quit IRC (Remote host closed the connection)
[05:13:04] *** xissburg <xissburg!~xissburg@unaffiliated/xissburg> has joined ##OpenGL
[05:13:15] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has joined ##OpenGL
[05:13:52] *** genr8_ <genr8_!~genr8_@unaffiliated/genbtc> has joined ##OpenGL
[05:17:34] *** slime <slime!~slime73@24.215.81.93> has joined ##OpenGL
[05:17:37] *** lucaswang <lucaswang!~lucaswang@114.92.104.132> has quit IRC (Ping timeout: 248 seconds)
[05:19:10] *** tristianc <tristianc!~tristianc@pool-100-36-62-48.washdc.fios.verizon.net> has quit IRC (Remote host closed the connection)
[05:21:43] *** slime <slime!~slime73@24.215.81.93> has quit IRC (Client Quit)
[05:36:00] *** krystcich_ <krystcich_!~krystcich@178235146247.dynamic-zab-01.vectranet.pl> has joined ##OpenGL
[05:37:35] *** suhdood <suhdood!~suhdood@2601:282:d01:8f92:6c1d:3332:dbbe:2a83> has quit IRC (Remote host closed the connection)
[05:41:05] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Remote host closed the connection)
[05:43:01] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[05:48:15] *** lucaswang <lucaswang!~lucaswang@61.171.220.133> has joined ##OpenGL
[05:51:59] *** upgrdman <upgrdman!~upgrdman@blender/artist/upgrdman> has quit IRC (Ping timeout: 268 seconds)
[05:54:23] *** bzztploink <bzztploink!~bzztploin@S0106f0f249e24cd3.cg.shawcable.net> has quit IRC (Quit: Leaving)
[05:54:45] *** bzztploink <bzztploink!~bzztploin@unaffiliated/bzztploink> has joined ##OpenGL
[05:55:40] *** hgoel <hgoel!uid175521@gateway/web/irccloud.com/x-ryltuauzxinzqinu> has joined ##OpenGL
[06:06:16] *** immibis <immibis!~chatzilla@122-59-200-50.jetstream.xtra.co.nz> has joined ##OpenGL
[06:08:08] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Remote host closed the connection)
[06:09:30] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[06:09:48] *** tambre <tambre!~tambre@1605-f927-a454-78a2-ab80-8a0a-07d0-2001.dyn.estpak.ee> has joined ##OpenGL
[06:31:13] *** lucaswang <lucaswang!~lucaswang@61.171.220.133> has quit IRC (Remote host closed the connection)
[06:31:20] *** lucaswang <lucaswang!~lucaswang@61.171.220.133> has joined ##OpenGL
[06:42:33] *** Apeiron` <Apeiron`!~Apeiron@enigmavoid.com> has quit IRC (Quit: ZNC - http://znc.in - it's pretty ftw)
[06:44:12] *** Apeiron` <Apeiron`!~Apeiron@enigmavoid.com> has joined ##OpenGL
[06:47:46] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Remote host closed the connection)
[06:48:41] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[06:52:27] *** castlelore <castlelore!~bes@cpe-76-173-200-54.hawaii.res.rr.com> has joined ##OpenGL
[06:53:37] *** Kingsquee <Kingsquee!~kingsquee@d154-5-142-128.bchsia.telus.net> has joined ##OpenGL
[06:58:46] *** s3a <s3a!~s3a@ip216-239-67-122.vif.net> has quit IRC (Quit: Leaving)
[06:59:32] *** Keniyal <Keniyal!~Keniyal@unaffiliated/keniyal> has quit IRC (Remote host closed the connection)
[07:09:57] *** l3dx <l3dx!uid2250@gateway/web/irccloud.com/x-vrumeljvxqzgfjok> has joined ##OpenGL
[07:11:00] *** Jeanne-Kamikaze <Jeanne-Kamikaze!~Jeanne-Ka@c-73-223-201-25.hsd1.ca.comcast.net> has joined ##OpenGL
[07:15:38] *** krystcich_ <krystcich_!~krystcich@178235146247.dynamic-zab-01.vectranet.pl> has quit IRC (Quit: Going offline, see ya! (www.adiirc.com))
[07:18:15] *** jdashg <jdashg!~jdashg@c-73-71-138-56.hsd1.ca.comcast.net> has joined ##OpenGL
[07:31:25] *** ngm <ngm!~nishanth@183.82.187.154> has joined ##OpenGL
[07:33:57] *** SiN_Bizkit <SiN_Bizkit!~SiN_Bizki@studio.unigine.com> has quit IRC (Ping timeout: 264 seconds)
[07:34:40] *** SiN_Bizkit <SiN_Bizkit!~SiN_Bizki@studio.unigine.com> has joined ##OpenGL
[07:40:44] *** Thorn <Thorn!~Thorn@unaffiliated/thorn> has quit IRC (Read error: Connection reset by peer)
[07:43:30] *** madsy <madsy!~madsy@fu/coder/madsy> has quit IRC (Quit: leaving)
[07:46:58] *** idleloop <idleloop!~idleloop@95.211.168.228> has joined ##OpenGL
[07:48:36] *** krychu_ <krychu_!~krychu@2a02:120b:2c07:5880:4911:5d0c:b063:edcf> has joined ##OpenGL
[07:50:41] *** needs <needs!~needs@86.160.9.93.rev.sfr.net> has quit IRC (Ping timeout: 248 seconds)
[07:51:40] *** krychu <krychu!~krychu@2a02:120b:2c07:5880:e45a:7a3a:d2b1:620f> has quit IRC (Ping timeout: 240 seconds)
[08:05:17] *** geo5 <geo5!~geo5@73.118.224.14> has quit IRC (Ping timeout: 256 seconds)
[08:09:53] *** nidefawl <nidefawl!~nidefawl@p2E58DD99.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds)
[08:11:02] *** Jeanne-Kamikaze <Jeanne-Kamikaze!~Jeanne-Ka@c-73-223-201-25.hsd1.ca.comcast.net> has quit IRC (Quit: Leaving)
[08:22:16] *** Neomex_ <Neomex_!~quassel@net-37-117-5-106.cust.vodafonedsl.it> has joined ##OpenGL
[08:24:03] *** Neomex_ <Neomex_!~quassel@net-37-117-5-106.cust.vodafonedsl.it> has quit IRC (Read error: Connection reset by peer)
[08:25:21] *** Neomex <Neomex!~quassel@net-37-117-5-106.cust.vodafonedsl.it> has joined ##OpenGL
[08:26:35] *** Tobbi <Tobbi!~Tobbi@supertux/tobbi> has joined ##OpenGL
[08:28:13] *** SiN_Bizk1t <SiN_Bizk1t!~SiN_Bizki@user-79-136-182-100.tomtelnet.ru> has quit IRC (Quit: leaving)
[08:31:02] *** glYoda <glYoda!~MTLYoda@c-73-25-27-206.hsd1.or.comcast.net> has quit IRC (Quit: glYoda)
[08:34:17] *** glYoda <glYoda!~MTLYoda@c-73-25-27-206.hsd1.or.comcast.net> has joined ##OpenGL
[08:42:34] *** Lucretia <Lucretia!~laguest@pdpc/supporter/active/lucretia> has quit IRC (Ping timeout: 256 seconds)
[08:50:09] *** stefkos_ <stefkos_!~Pawel@pc11-226.chomiczowka.waw.pl> has joined ##OpenGL
[08:50:37] *** Lucretia <Lucretia!~laguest@2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5> has joined ##OpenGL
[08:50:37] *** Lucretia <Lucretia!~laguest@2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5> has quit IRC (Changing host)
[08:50:37] *** Lucretia <Lucretia!~laguest@pdpc/supporter/active/lucretia> has joined ##OpenGL
[08:52:43] *** xissburg <xissburg!~xissburg@unaffiliated/xissburg> has quit IRC (Quit: ZZZzzz…)
[09:05:37] *** Matthijs <Matthijs!~quassel@unaffiliated/matthijs> has joined ##OpenGL
[09:14:47] *** CapsAdmin <CapsAdmin!~CapsAdmin@200.80-203-97.nextgentel.com> has joined ##OpenGL
[09:25:03] *** hgoel <hgoel!uid175521@gateway/web/irccloud.com/x-ryltuauzxinzqinu> has quit IRC (Quit: Connection closed for inactivity)
[09:25:32] *** RajRajRaj <RajRajRaj!uid72176@gateway/web/irccloud.com/x-wgxcekhabxsowytc> has quit IRC (Quit: Connection closed for inactivity)
[09:31:43] *** Gama11 <Gama11!~quassel@p5DCDB9E9.dip0.t-ipconnect.de> has joined ##OpenGL
[09:39:21] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has joined ##OpenGL
[09:40:15] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has quit IRC (Remote host closed the connection)
[09:40:37] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has joined ##OpenGL
[09:46:20] *** ville <ville!~ville@87-95-213-238.bb.dnainternet.fi> has joined ##OpenGL
[09:52:27] *** ville <ville!~ville@87-95-213-238.bb.dnainternet.fi> has quit IRC (Ping timeout: 240 seconds)
[09:56:41] *** ville <ville!~ville@87-95-98-51.bb.dnainternet.fi> has joined ##OpenGL
[10:07:48] *** stefkos_ <stefkos_!~Pawel@pc11-226.chomiczowka.waw.pl> has quit IRC (Read error: Connection reset by peer)
[10:08:53] *** ratchetfreak <ratchetfreak!c351a8d8@gateway/web/freenode/ip.195.81.168.216> has joined ##OpenGL
[10:22:14] *** immibis <immibis!~chatzilla@122-59-200-50.jetstream.xtra.co.nz> has quit IRC (Ping timeout: 276 seconds)
[10:23:33] <friden> exDM69: you remember my problems with asynchronous texture uploads with pixel buffer objects, where sync objects caused implicit synchronization and glteximage2d hanged? i managed to get it to work finally on nvidia cards
[10:24:29] <friden> by using a second context, using a pixel unmap buffer, with GL_STREAM_DRAW, without sync objects and with a glFinish on the "background context" instead, before giving the texture to the foreground context
[10:25:03] <friden> that was the only way i could get consistant framerates on the foreground thread which was totally unaffected by all texture uploads on the background context
[10:26:02] <friden> if i change it from GL_STREAM_DRAW to GL_STATIC_DRAW, it causes synchronization on foreground thread, if i don't use a pixel buffer on the background context it causes synchronization, if i use sync objects on the background context it causes synchronization
[10:27:09] *** kasper^ <kasper^!~safaf@82.137.15.64> has quit IRC ()
[10:27:18] *** stefkos_ <stefkos_!~Pawel@82.177.144.226> has joined ##OpenGL
[10:27:29] <friden> BUT, when i change gpu to an AMD card, the solution don't work anymore. the glfinish on the "background context" causes the swapbuffer calls to wait for the finish on the background context, which the nvidia didn't
[10:27:50] *** kasper^ <kasper^!~safaf@82.137.14.3> has joined ##OpenGL
[10:32:54] <friden> does anyone know if a glfinish on a context should affect swapbuffers on other contexts? i can't find anything about it in the specification
[10:37:05] *** kritikk <kritikk!~stefan@92.55.92.188> has joined ##OpenGL
[10:40:34] <Stragus> I don't think any of that stuff is defined by the specification, it's implementation-specific
[10:40:53] *** kritikk <kritikk!~stefan@92.55.92.188> has quit IRC (Read error: Connection reset by peer)
[10:42:46] <friden> ah, damn unspecified things...
[10:43:04] *** slvn_ <slvn_!~slvn_@c2s31-1-78-245-90-111.fbx.proxad.net> has joined ##OpenGL
[10:45:05] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Ping timeout: 255 seconds)
[10:46:31] *** ngm_ <ngm_!~nishanth@183.82.187.154> has joined ##OpenGL
[10:47:26] <friden> but if i remove the glFinish as well on the background context, even the glBufferData with NULL as data (only allocation), stalls the foregrounc context swapbuffer on the AMD card: https://imgur.com/a/Cwdgs
[10:47:32] <friden> which i find very troubling
[10:48:16] <friden> its bound to GL_PIXEL_UNMAP_BUFFER using GL_STREAM_DRAW, which didn't lock on the background context on nvidia, and didn't cause synchronization on the foreground thread on nvidia
[10:49:15] *** ngm <ngm!~nishanth@183.82.187.154> has quit IRC (Ping timeout: 265 seconds)
[10:49:41] <exDM69> friden: I don't understand why you can't get sync objects to work
[10:50:00] <exDM69> friden: also, consider using GL_ARB_buffer_storage so you can explicitly ask for a certain kind of buffer
[10:50:24] <exDM69> with STREAM_DRAW and the other "old" hints for glBufferData, you can't be quite sure what you get
[10:50:41] <friden> niether do i
[10:51:06] <exDM69> what exactly is the issue you're seeing with sync objects?
[10:51:11] *** ville <ville!~ville@87-95-98-51.bb.dnainternet.fi> has quit IRC (Ping timeout: 265 seconds)
[10:51:27] <friden> i've used persistent coherent storage buffers too, which didnt work, i've posted images of that before
[10:52:07] <friden> exDM69: https://imgur.com/a/cIC1d
[10:53:16] <friden> this is how the profile works on nvidia currently, which is perfect: https://imgur.com/a/6Xx8L
[10:53:57] <friden> upper red and purple bars is on the background context. transfers can be completely asynchronous, foreground context below can render independently
[10:54:57] <friden> on amd it looks like this: https://imgur.com/a/Cwdgs
[10:57:11] <friden> does anyone in here have experience with multiple contexts and asynchronous pixel transfers on AMD cards?
[10:58:15] *** Serpent7776 <Serpent7776!~Serpent77@90-156-68-175.internetia.net.pl> has joined ##OpenGL
[10:59:35] <friden> ill reboot and try it on intelhd now as well, this needs to work on all three vendors
[11:01:45] <Stragus> I don't think I ever had so many issues with asynchronous texture uploads
[11:02:25] <Stragus> Allocaate (no uploads) with glTexImage2D(), mmap PBOs, have threads fill up the PBOs, glTexSubImage2D()
[11:03:35] *** asecretcat <asecretcat!~allisonze@pool-72-77-42-97.pitbpa.fios.verizon.net> has quit IRC (Ping timeout: 260 seconds)
[11:05:28] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[11:06:49] *** ngm_ <ngm_!~nishanth@183.82.187.154> has quit IRC (Quit: Leaving)
[11:07:07] *** ngm <ngm!~nishanth@183.82.187.154> has joined ##OpenGL
[11:07:12] <friden> ive alsays done map PBOS, have threads full up PBOs, glTexImage2D with PBO bound
[11:07:25] <friden> ill try allocating textures first then using glTexSubImage2D
[11:07:33] *** asecretcat <asecretcat!~allisonze@pool-72-77-42-97.pitbpa.fios.verizon.net> has joined ##OpenGL
[11:10:05] <Stragus> Actually I lied, I used glTexStorage2D() for allocation
[11:13:42] *** stefkos_ <stefkos_!~Pawel@82.177.144.226> has quit IRC (Quit: Going offline, see ya! (www.adiirc.com))
[11:16:54] *** ville <ville!~ville@176-93-144-202.bb.dnainternet.fi> has joined ##OpenGL
[11:22:33] <friden> Stragus: unfortunately the call to gltexSubimage2d hangs until the transfer is done, even if the pixel unmap buffer is bound: https://imgur.com/a/NZIhv
[11:22:36] <friden> on the amd card
[11:22:57] <friden> which also locks the foreground context for some reason
[11:23:31] <friden> somehow the AMD driver in swapbuffer waits for other contexts texture transfers to complete, i dont understand why one would do that
[11:23:58] <friden> specially not when they use the pixel unmap buffer, which should use dma and be asynchronous
[11:27:13] *** ville <ville!~ville@176-93-144-202.bb.dnainternet.fi> has quit IRC (Ping timeout: 248 seconds)
[11:31:27] <Stragus> I never used multiple contexts for that, but I must admit I never checked for stalls on AMD. It didn't *seem* to stall... maybe it did a bit
[11:32:20] <Stragus> I allocate everything then shoot all the glTexSubImage2D from PBOs
[11:36:35] *** lucaswang <lucaswang!~lucaswang@61.171.220.133> has quit IRC (Remote host closed the connection)
[11:36:52] <friden> I'm using 8k textures to exaggerate the stalls
[11:36:55] <friden> :D
[11:37:04] *** lucaswang <lucaswang!~lucaswang@61.171.220.133> has joined ##OpenGL
[11:37:28] <friden> brb, lunch break
[11:41:27] *** lucaswang <lucaswang!~lucaswang@61.171.220.133> has quit IRC (Ping timeout: 240 seconds)
[11:42:14] <Stragus> Seriously, try allocating everything then streaming the TexSubImage2D non-stop as the data arrives, I really don't trust these allocations between every upload
[11:42:21] <Stragus> I'm not surprised *that* would stall
[11:45:01] *** m712 <m712!~annoying@unaffiliated/thefam> has quit IRC (Quit: bye-nyan!)
[11:45:20] *** m712 <m712!~annoying@unaffiliated/thefam> has joined ##OpenGL
[11:49:50] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has quit IRC (Quit: Leaving)
[11:51:40] *** ville <ville!~ville@37-33-109-14.bb.dnainternet.fi> has joined ##OpenGL
[12:06:18] *** Fig1024 <Fig1024!~Fig@175.117.3.23> has joined ##OpenGL
[12:11:30] *** zid <zid!~zid@cpc112319-pete13-2-0-cust670.4-4.cable.virginm.net> has joined ##OpenGL
[12:11:34] <zid> https://i.imgur.com/SE4YvXO.png
[12:11:43] <zid> FInally got off my ass to work on this stuff again, added a skybox to my monkey :P
[12:12:08] <zid> Took a while, had to split out all the code from 'here's a big list of steps to draw a monkey' to a proper set of functions of dealing with an arbitrary object
[12:24:16] <friden> Stragus: the problem is that i do not know the size of the texture to upload beforehand, and i don't update them
[12:24:46] <friden> our framework loads an image from disk, uploads it asynchronously, and never changes it
[12:26:27] <friden> we could allocate a buffer as big as the biggest supported texture, but that would allocate memory that possibly doesnt get used
[12:27:18] *** ShadowIce <ShadowIce!~pyoro@unaffiliated/shadowice-x841044> has joined ##OpenGL
[12:27:29] *** ville <ville!~ville@37-33-109-14.bb.dnainternet.fi> has quit IRC (Ping timeout: 248 seconds)
[12:28:30] *** ville <ville!~ville@87-93-67-33.bb.dnainternet.fi> has joined ##OpenGL
[12:30:14] *** ngm <ngm!~nishanth@183.82.187.154> has quit IRC (Quit: Leaving)
[12:55:58] *** DarkShin <DarkShin!~DarkShin@201-69-97-202.dial-up.telesp.net.br> has joined ##OpenGL
[12:56:51] *** Thorn <Thorn!~Thorn@unaffiliated/thorn> has joined ##OpenGL
[12:57:35] *** huhlig <huhlig!sid17687@gateway/web/irccloud.com/x-dxyqxxkmjwziovil> has quit IRC ()
[12:58:40] *** huhlig <huhlig!sid17687@gateway/web/irccloud.com/x-yjjrpwncrdtuudud> has joined ##OpenGL
[13:01:19] *** rizzo <rizzo!~RizzoTheR@p54B6BDA4.dip0.t-ipconnect.de> has joined ##OpenGL
[13:03:13] *** slime <slime!~slime73@24.215.81.93> has joined ##OpenGL
[13:04:47] *** CapsAdmin <CapsAdmin!~CapsAdmin@200.80-203-97.nextgentel.com> has quit IRC (Ping timeout: 260 seconds)
[13:11:10] *** lyakh <lyakh!~lyakh@cable-84-44-204-122.netcologne.de> has joined ##OpenGL
[13:15:39] <lyakh> hi, I'm very new to OpenGL. Trying to implement a scaler in an Android Camera HAL. I use a pbuffer to create an eglSurface. Then when calling eglCreateImageKHR() with an ANativeWindowBuffer instance as an input buffer, I'm getting EGL_BAD_ACCESS (0x3002). What am I doing wrong?
[13:17:32] <lyakh> oh... is this "The resource specified by <dpy>, <ctx>, <target>, <buffer>, and <attrib_list> must not itself be an EGLImage sibling, or bound to an EGL PBuffer resource (eglBindTexImage, eglCreatePbufferFromClientBuffer)" the answer?..
[13:19:17] *** slime <slime!~slime73@24.215.81.93> has quit IRC (Quit: This computer has gone to sleep)
[13:21:35] <lyakh> cool, back to square 0 then.
[13:29:46] *** lucaswang <lucaswang!~lucaswang@180.159.202.62> has joined ##OpenGL
[13:30:01] *** petris <petris!sid19918@gateway/web/irccloud.com/x-pphizvekeifopjzn> has quit IRC ()
[13:30:42] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Ping timeout: 255 seconds)
[13:30:48] *** petris <petris!sid19918@gateway/web/irccloud.com/x-dcfpbmoumxcxsrrw> has joined ##OpenGL
[13:38:17] *** Kingsquee <Kingsquee!~kingsquee@d154-5-142-128.bchsia.telus.net> has quit IRC ()
[13:42:41] *** CapsAdmin <CapsAdmin!~CapsAdmin@171.23.129.33> has joined ##OpenGL
[13:43:59] *** bigpet <bigpet!uid25664@gateway/web/irccloud.com/x-fbknboqeoukissui> has quit IRC ()
[13:44:04] <friden> this is how you know you are doing something wrong: https://imgur.com/a/p4En0
[13:44:15] <friden> never seen that error from opengl drivers before
[13:44:53] *** bigpet <bigpet!uid25664@gateway/web/irccloud.com/x-mzqmacbomooylftc> has joined ##OpenGL
[13:49:27] *** ocharles <ocharles!sid30093@musicbrainz/user/ocharles> has quit IRC ()
[13:49:58] *** irrenhaus3 <irrenhaus3!~xenon@ip-37-201-7-18.hsi13.unitymediagroup.de> has joined ##OpenGL
[13:50:34] *** ocharles <ocharles!sid30093@musicbrainz/user/ocharles> has joined ##OpenGL
[13:50:47] *** Elysion <Elysion!~Elysion@118.211.15.153> has quit IRC (Read error: Connection reset by peer)
[13:57:05] *** CapsAdmin <CapsAdmin!~CapsAdmin@171.23.129.33> has quit IRC (Ping timeout: 240 seconds)
[14:06:54] *** Murii <Murii!~Murii@79.113.205.114> has joined ##OpenGL
[14:22:00] *** jdashg <jdashg!~jdashg@c-73-71-138-56.hsd1.ca.comcast.net> has quit IRC (Ping timeout: 256 seconds)
[14:25:43] *** MrFlibble <MrFlibble!MrFlibble@2.124.189.242> has joined ##OpenGL
[14:43:05] *** Murii <Murii!~Murii@79.113.205.114> has quit IRC (Ping timeout: 256 seconds)
[14:50:46] *** Borkr <Borkr!~Borkr@mail.seaonics.com> has quit IRC (Quit: Leaving)
[14:50:48] *** Orion] <Orion]!~H0i@unaffiliated/orion/x-3970838> has joined ##OpenGL
[14:55:27] *** moser <moser!~moser@223.73.116.223> has quit IRC (Ping timeout: 240 seconds)
[14:56:57] *** nidefawl <nidefawl!~nidefawl@p2E58DD99.dip0.t-ipconnect.de> has joined ##OpenGL
[14:57:08] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has joined ##OpenGL
[14:57:25] *** nidefawl <nidefawl!~nidefawl@p2E58DD99.dip0.t-ipconnect.de> has left ##OpenGL
[14:57:26] *** nidefawl <nidefawl!~nidefawl@p2E58DD99.dip0.t-ipconnect.de> has joined ##OpenGL
[14:58:22] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has quit IRC (Remote host closed the connection)
[15:03:21] *** idleloop <idleloop!~idleloop@95.211.168.228> has quit IRC (Ping timeout: 264 seconds)
[15:08:24] *** moser <moser!~moser@223.73.116.249> has joined ##OpenGL
[15:14:00] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[15:14:50] *** CapsAdmin <CapsAdmin!~CapsAdmin@81.92.27.192> has joined ##OpenGL
[15:20:29] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Ping timeout: 255 seconds)
[15:24:49] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[15:35:15] <ZeroWalker> guten morgen:)
[15:36:41] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Ping timeout: 255 seconds)
[15:41:16] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[15:46:33] *** Sharkigator <Sharkigator!~Sharkigao@ppp-83-171-177-73.dynamic.mnet-online.de> has joined ##OpenGL
[15:46:37] <Neomex> morgeren guteren
[15:50:03] <Xeek> Good Morning
[15:50:59] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Remote host closed the connection)
[15:53:48] *** M28 <M28!sid210233@gateway/web/irccloud.com/x-tttokyikgbfzhkig> has quit IRC ()
[15:54:03] *** M28 <M28!sid210233@gateway/web/irccloud.com/x-hxygjhbokymogisr> has joined ##OpenGL
[15:55:37] *** Asu <Asu!~sdelang@AMarseille-658-1-175-47.w86-198.abo.wanadoo.fr> has joined ##OpenGL
[16:04:01] *** iderik <iderik!~idk@h-0-97.A147.priv.bahnhof.se> has joined ##OpenGL
[16:05:05] *** CapsAdmin <CapsAdmin!~CapsAdmin@81.92.27.192> has quit IRC (Ping timeout: 248 seconds)
[16:08:43] *** Neomex is now known as Painter
[16:08:53] *** Painter is now known as Neomex
[16:36:22] *** krychu__ <krychu__!~krychu@2a02:120b:2c07:5880:546d:a880:693c:6ae1> has joined ##OpenGL
[16:39:42] *** krychu_ <krychu_!~krychu@2a02:120b:2c07:5880:4911:5d0c:b063:edcf> has quit IRC (Ping timeout: 256 seconds)
[16:43:01] *** hampusw <hampusw!~Hampus@37.139.156.40> has quit IRC (Quit: Leaving)
[16:45:38] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has joined ##OpenGL
[16:52:38] *** upgrdman <upgrdman!~upgrdman@blender/artist/upgrdman> has joined ##OpenGL
[16:56:07] *** CapsAdmin <CapsAdmin!~CapsAdmin@81.92.27.192> has joined ##OpenGL
[17:03:07] *** raynold <raynold!uid201163@gateway/web/irccloud.com/x-mhdgrxrldxswdgst> has quit IRC (Quit: Connection closed for inactivity)
[17:04:08] *** krystcich_ <krystcich_!~krystcich@178235146157.dynamic-zab-01.vectranet.pl> has joined ##OpenGL
[17:04:42] *** Lucretia <Lucretia!~laguest@pdpc/supporter/active/lucretia> has quit IRC (Remote host closed the connection)
[17:06:25] *** Lucretia <Lucretia!~laguest@pdpc/supporter/active/lucretia> has joined ##OpenGL
[17:11:36] *** MrFlibble <MrFlibble!MrFlibble@2.124.189.242> has quit IRC (Ping timeout: 252 seconds)
[17:16:53] *** geo5 <geo5!~geo5@2601:601:1800:53a4::54a> has joined ##OpenGL
[17:18:16] *** Matthijs <Matthijs!~quassel@unaffiliated/matthijs> has quit IRC (Quit: *waves frantically*)
[17:24:05] *** upgrdman <upgrdman!~upgrdman@blender/artist/upgrdman> has quit IRC (Ping timeout: 240 seconds)
[17:28:14] *** Nimmy <Nimmy!~Nimmy@86.93.7.212> has joined ##OpenGL
[17:29:33] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has joined ##OpenGL
[17:31:13] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has quit IRC (Remote host closed the connection)
[17:31:34] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has joined ##OpenGL
[17:31:53] *** lucaswang <lucaswang!~lucaswang@180.159.202.62> has quit IRC (Ping timeout: 276 seconds)
[17:33:12] *** borkr <borkr!~borkr@static130-244.mimer.net> has joined ##OpenGL
[17:34:34] *** delicado <delicado!~delicado@112.198.101.157> has joined ##OpenGL
[17:35:36] *** AlexSvideniuk <AlexSvideniuk!~oleksandr@195.234.75.138> has quit IRC (Ping timeout: 268 seconds)
[17:39:03] *** sandyfan29a <sandyfan29a!~sandyfan2@205.178.121.89> has joined ##OpenGL
[17:52:26] *** upgrdman <upgrdman!~upgrdman@blender/artist/upgrdman> has joined ##OpenGL
[18:01:21] *** ville <ville!~ville@87-93-67-33.bb.dnainternet.fi> has quit IRC (Ping timeout: 265 seconds)
[18:01:49] *** Lucretia <Lucretia!~laguest@pdpc/supporter/active/lucretia> has quit IRC (Remote host closed the connection)
[18:04:15] *** Neomex <Neomex!~quassel@net-37-117-5-106.cust.vodafonedsl.it> has quit IRC (Read error: Connection reset by peer)
[18:04:55] *** Lucretia <Lucretia!~laguest@pdpc/supporter/active/lucretia> has joined ##OpenGL
[18:06:46] *** Neomex <Neomex!~quassel@net-37-117-5-106.cust.vodafonedsl.it> has joined ##OpenGL
[18:10:39] *** sandy0000 <sandy0000!~sandyfan2@204.188.245.179> has joined ##OpenGL
[18:10:47] *** MrFlibble <MrFlibble!MrFlibble@2.124.189.242> has joined ##OpenGL
[18:13:13] *** sandyfan29a <sandyfan29a!~sandyfan2@205.178.121.89> has quit IRC (Ping timeout: 268 seconds)
[18:13:18] *** Lucretia <Lucretia!~laguest@pdpc/supporter/active/lucretia> has quit IRC (Remote host closed the connection)
[18:13:46] *** BearishMushroom <BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com> has joined ##OpenGL
[18:17:46] *** Lucretia <Lucretia!~laguest@2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5> has joined ##OpenGL
[18:17:46] *** Lucretia <Lucretia!~laguest@2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5> has quit IRC (Changing host)
[18:17:46] *** Lucretia <Lucretia!~laguest@pdpc/supporter/active/lucretia> has joined ##OpenGL
[18:24:20] *** lamduh <lamduh!~lamdih@64.128.62.6> has joined ##OpenGL
[18:29:39] *** l3dx <l3dx!uid2250@gateway/web/irccloud.com/x-vrumeljvxqzgfjok> has quit IRC (Quit: Connection closed for inactivity)
[18:30:58] *** Serpent7776 <Serpent7776!~Serpent77@90-156-68-175.internetia.net.pl> has quit IRC (Quit: Leaving)
[18:34:55] *** ratchetfreak <ratchetfreak!c351a8d8@gateway/web/freenode/ip.195.81.168.216> has quit IRC (Ping timeout: 260 seconds)
[18:37:06] <ZeroWalker> so what's happening here today
[18:55:31] <ZeroWalker> well now i can draw square boxes in pixel positions with textures, so that's good. The hard part is now to figure out how to draw other things that might not be using the same instance buffer thing, or i might just be seeing things wrong
[18:56:42] *** needs1 <needs1!~needs@86.160.9.93.rev.sfr.net> has joined ##OpenGL
[18:57:03] <karalaine> how so? just do another draw call like you would normally do without the instanced stuff
[18:59:49] <bayoubengal> afternoon
[19:01:12] <chrisf> ZeroWalker: either you support separate instanced and noninstanced paths, or you make all your one-off things use the instanced path with an instance count of 1
[19:01:26] *** xissburg <xissburg!~xissburg@unaffiliated/xissburg> has joined ##OpenGL
[19:02:57] <ZeroWalker> you kinda lost me a bit there, i will be off for a moment though and dig into this later:d
[19:07:28] *** Thorn <Thorn!~Thorn@unaffiliated/thorn> has quit IRC (Read error: Connection reset by peer)
[19:09:26] *** lamduh <lamduh!~lamdih@64.128.62.6> has quit IRC (Quit: Leaving)
[19:09:52] *** RajRajRaj <RajRajRaj!uid72176@gateway/web/irccloud.com/x-bzbujmwjifiaxlzq> has joined ##OpenGL
[19:11:17] <Stragus> friden: You could read the headers of the files to know their size, allocate everything, then have the work threads decode the PNG/whatever into PBOs which are then streamed into the textures with glTexSubImage2D() out of the PBOs?
[19:11:46] *** TzilTzal <TzilTzal!~TzilTzal@59.189.105.109> has joined ##OpenGL
[19:12:00] *** ville <ville!~ville@87-95-127-211.bb.dnainternet.fi> has joined ##OpenGL
[19:15:08] *** Thorn <Thorn!~Thorn@unaffiliated/thorn> has joined ##OpenGL
[19:15:31] *** l3dx <l3dx!uid2250@gateway/web/irccloud.com/x-aivertlnffcskusd> has joined ##OpenGL
[19:20:09] *** idleloop <idleloop!~idleloop@95.211.168.228> has joined ##OpenGL
[19:26:05] *** idleloop <idleloop!~idleloop@95.211.168.228> has quit IRC (Ping timeout: 255 seconds)
[19:26:40] *** idleloop <idleloop!~idleloop@95.211.168.228> has joined ##OpenGL
[19:30:27] *** raynold <raynold!uid201163@gateway/web/irccloud.com/x-ivcwgwvmwjrizczw> has joined ##OpenGL
[19:38:43] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7ob3oun8gbtf98.18120a2.ip6.access.telenet.be> has joined ##OpenGL
[19:43:08] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[19:46:19] *** lamduh <lamduh!~lamdih@64.128.62.6> has joined ##OpenGL
[19:50:33] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Remote host closed the connection)
[19:52:05] *** borkr <borkr!~borkr@static130-244.mimer.net> has quit IRC (Quit: Leaving)
[19:52:33] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[19:56:10] *** CapsAdmin <CapsAdmin!~CapsAdmin@81.92.27.192> has quit IRC (Ping timeout: 240 seconds)
[19:56:48] *** deathwishdave <deathwishdave!~deathwish@78.156.71.46> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[19:58:39] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Remote host closed the connection)
[20:00:56] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[20:01:53] *** castlelore <castlelore!~bes@cpe-76-173-200-54.hawaii.res.rr.com> has quit IRC (Changing host)
[20:01:53] *** castlelore <castlelore!~bes@unaffiliated/castlelore> has joined ##OpenGL
[20:02:07] *** castlelore is now known as castleboar
[20:03:34] *** krychu__ <krychu__!~krychu@2a02:120b:2c07:5880:546d:a880:693c:6ae1> has quit IRC (Ping timeout: 256 seconds)
[20:04:33] *** Neomex <Neomex!~quassel@net-37-117-5-106.cust.vodafonedsl.it> has quit IRC (Ping timeout: 264 seconds)
[20:04:51] *** xissburg <xissburg!~xissburg@unaffiliated/xissburg> has quit IRC (Quit: ZZZzzz…)
[20:06:57] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7ob3oun8gbtf98.18120a2.ip6.access.telenet.be> has quit IRC (Read error: Connection reset by peer)
[20:07:21] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7ob3oun8gbtf98.18120a2.ip6.access.telenet.be> has joined ##OpenGL
[20:07:25] *** TzilTzal <TzilTzal!~TzilTzal@59.189.105.109> has quit IRC (Quit: TzilTzal)
[20:09:25] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Remote host closed the connection)
[20:12:37] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[20:19:00] *** KAHR-Alpha <KAHR-Alpha!~Alpha@2a01cb0d04c9050060899c4dbb14fede.ipv6.abo.wanadoo.fr> has joined ##OpenGL
[20:20:43] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Remote host closed the connection)
[20:21:54] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has joined ##OpenGL
[20:28:13] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has quit IRC (Quit: Leaving)
[20:33:37] *** derhass <derhass!~derhass@dslb-094-222-155-209.094.222.pools.vodafone-ip.de> has joined ##OpenGL
[20:37:57] *** sandy0000 <sandy0000!~sandyfan2@204.188.245.179> has quit IRC (Remote host closed the connection)
[20:38:43] *** lucaswang <lucaswang!~lucaswang@218.1.232.185> has joined ##OpenGL
[20:40:40] *** decltype <decltype!decltype@decltype.org> has quit IRC (Remote host closed the connection)
[20:41:24] *** Neomex <Neomex!~quassel@net-37-117-5-106.cust.vodafonedsl.it> has joined ##OpenGL
[20:45:03] *** YungMoonHodler_ is now known as YungMoon
[20:46:10] *** decltype <decltype!decltype@decltype.org> has joined ##OpenGL
[20:46:13] *** slidercrank <slidercrank!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has joined ##OpenGL
[20:46:59] *** slidercrank <slidercrank!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has left ##OpenGL
[20:51:46] *** Keniyal <Keniyal!~Keniyal@unaffiliated/keniyal> has joined ##OpenGL
[21:09:40] *** glYoda <glYoda!~MTLYoda@c-73-25-27-206.hsd1.or.comcast.net> has quit IRC (Quit: glYoda)
[21:09:43] *** easzero_ <easzero_!~quassel@85.203.15.6> has joined ##OpenGL
[21:10:34] *** iderik <iderik!~idk@h-0-97.A147.priv.bahnhof.se> has quit IRC (Quit: iderik)
[21:15:53] *** easzero_ <easzero_!~quassel@85.203.15.6> has quit IRC (Remote host closed the connection)
[21:19:46] *** RajRajRaj <RajRajRaj!uid72176@gateway/web/irccloud.com/x-bzbujmwjifiaxlzq> has quit IRC (Quit: Connection closed for inactivity)
[21:20:00] *** BitPuffin <BitPuffin!~isak@c83-248-113-111.bredband.comhem.se> has quit IRC (Remote host closed the connection)
[21:20:05] *** tambre <tambre!~tambre@1605-f927-a454-78a2-ab80-8a0a-07d0-2001.dyn.estpak.ee> has quit IRC (Ping timeout: 255 seconds)
[21:22:10] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7ob3oun8gbtf98.18120a2.ip6.access.telenet.be> has quit IRC (Read error: Connection reset by peer)
[21:22:36] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7ob3oun8gbtf98.18120a2.ip6.access.telenet.be> has joined ##OpenGL
[21:25:10] *** Keniyal <Keniyal!~Keniyal@unaffiliated/keniyal> has quit IRC (Ping timeout: 256 seconds)
[21:26:41] <ZeroWalker> okay i am back:)
[21:31:28] *** krystcich_ <krystcich_!~krystcich@178235146157.dynamic-zab-01.vectranet.pl> has quit IRC (Read error: Connection reset by peer)
[21:31:50] *** krystcich_ <krystcich_!~krystcich@178235146157.dynamic-zab-01.vectranet.pl> has joined ##OpenGL
[21:34:44] *** Keniyal <Keniyal!~Keniyal@unaffiliated/keniyal> has joined ##OpenGL
[21:41:03] *** DarkShin <DarkShin!~DarkShin@201-69-97-202.dial-up.telesp.net.br> has quit IRC (Ping timeout: 248 seconds)
[21:42:43] *** upgrdman <upgrdman!~upgrdman@blender/artist/upgrdman> has quit IRC (Quit: Leaving)
[21:43:50] *** slvn_ <slvn_!~slvn_@c2s31-1-78-245-90-111.fbx.proxad.net> has quit IRC (Quit: Leaving)
[21:43:58] *** l3dx <l3dx!uid2250@gateway/web/irccloud.com/x-aivertlnffcskusd> has quit IRC ()
[21:44:15] *** l3dx <l3dx!uid2250@gateway/web/irccloud.com/x-wjzfwokuyzmuqbeg> has joined ##OpenGL
[21:48:06] *** upgrdman <upgrdman!~upgrdman@blender/artist/upgrdman> has joined ##OpenGL
[21:48:21] *** DarkShin <DarkShin!~DarkShin@201-43-168-191.dsl.telesp.net.br> has joined ##OpenGL
[21:49:00] *** Neomex <Neomex!~quassel@net-37-117-5-106.cust.vodafonedsl.it> has quit IRC (Remote host closed the connection)
[21:51:37] *** lamduh <lamduh!~lamdih@64.128.62.6> has quit IRC (Quit: Leaving)
[21:57:23] *** CapsAdmin <CapsAdmin!~CapsAdmin@195.159.164.194> has joined ##OpenGL
[22:07:27] *** hwdyki <hwdyki!~hwdyki@unaffiliated/hwdyki> has joined ##OpenGL
[22:08:01] <hwdyki> are there alignment requirements for buffer objects?
[22:11:32] <hwdyki> i have the following vbo of glfloats: https://pastebin.com/bRmjStFE with the following layout: https://pastebin.com/E0YctQwU
[22:12:50] <hwdyki> on windows, i get a blank screen when trying to render them, on linux i get the intended cube.
[22:13:25] *** jdashg <jdashg!~jdashg@corp-nat.fw1.untrust.mtv2.mozilla.net> has joined ##OpenGL
[22:16:44] *** Kingsquee <Kingsquee!~kingsquee@d154-5-142-128.bchsia.telus.net> has joined ##OpenGL
[22:20:17] *** krychu <krychu!~krychu@2a02:120b:2c07:5880:546d:a880:693c:6ae1> has joined ##OpenGL
[22:20:31] *** krychu <krychu!~krychu@2a02:120b:2c07:5880:546d:a880:693c:6ae1> has quit IRC (Remote host closed the connection)
[22:21:04] *** krychu <krychu!~krychu@2a02:120b:2c07:5880:546d:a880:693c:6ae1> has joined ##OpenGL
[22:28:33] *** ShadowIce <ShadowIce!~pyoro@unaffiliated/shadowice-x841044> has quit IRC (Quit: Leaving)
[22:29:30] *** DarkUranium <DarkUranium!~DarkUrani@77.38.34.248> has joined ##OpenGL
[22:30:40] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has joined ##OpenGL
[22:31:40] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has quit IRC (Remote host closed the connection)
[22:32:01] *** xerpi <xerpi!~xerpi@154.red-83-45-192.dynamicip.rima-tde.net> has joined ##OpenGL
[22:33:55] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has joined ##OpenGL
[22:38:05] *** moser <moser!~moser@223.73.116.249> has quit IRC (Ping timeout: 240 seconds)
[22:42:31] <Nimmy> hwdyki how are you drawing the cube
[22:43:19] *** slime <slime!~slime73@24.215.81.93> has joined ##OpenGL
[22:43:28] *** karab44 <karab44!~karab44@unaffiliated/karab44> has joined ##OpenGL
[22:45:46] <Stragus> hwdyki: Probably incorrect/undefined use of vertex attribute locations and so on
[22:46:47] <enleeten> you may want to checkout apitrace and qapitrace
[22:46:49] <Nimmy> im thinking hes using GL_QUADS
[22:46:54] <Nimmy> considering i dont see any indices
[22:47:16] <enleeten> removes a lot of the "black box" aspects of graphics programming
[22:47:27] <Stragus> Use of non-supported legacy stuff would produce GL errors
[22:48:03] *** delicado <delicado!~delicado@112.198.101.157> has quit IRC ()
[22:48:05] <hwdyki> i have an ibo containing the following: https://pastebin.com/vuC03478
[22:49:15] <hwdyki> and i'm drawing with glDrawElements( GL_TRIANGLES, 36, GL_UNSIGNED_INT, 0 );
[22:49:45] *** RonaldsMazitis <RonaldsMazitis!~quassel@46.109.74.92> has joined ##OpenGL
[22:56:34] <Nimmy> sounds like a small enough program to post in full or debug
[22:58:23] *** RonaldsMazitis <RonaldsMazitis!~quassel@46.109.74.92> has quit IRC (Ping timeout: 248 seconds)
[22:58:58] *** RonaldsMazitis <RonaldsMazitis!~quassel@78.84.8.62> has joined ##OpenGL
[23:02:03] *** Sharkigator <Sharkigator!~Sharkigao@ppp-83-171-177-73.dynamic.mnet-online.de> has quit IRC (Quit: Let's all go and party on the moon!)
[23:05:06] *** krychu_ <krychu_!~krychu@2a02:120b:2c07:5880:58f7:2af:aebf:db37> has joined ##OpenGL
[23:06:05] *** glYoda <glYoda!~MTLYoda@c-73-25-27-206.hsd1.or.comcast.net> has joined ##OpenGL
[23:08:05] *** krychu <krychu!~krychu@2a02:120b:2c07:5880:546d:a880:693c:6ae1> has quit IRC (Ping timeout: 255 seconds)
[23:10:17] *** watered_ <watered_!~dagger@gateway/tor-sasl/watered> has quit IRC (Ping timeout: 255 seconds)
[23:17:30] *** immibis <immibis!~chatzilla@122-59-200-50.jetstream.xtra.co.nz> has joined ##OpenGL
[23:18:39] *** xaxxon <xaxxon!~xaxxon@73.109.61.182> has joined ##OpenGL
[23:19:09] *** salamanderrake <salamanderrake!~quassel@cpe-24-165-192-204.neo.res.rr.com> has quit IRC (Remote host closed the connection)
[23:21:46] *** karab44 <karab44!~karab44@unaffiliated/karab44> has quit IRC ()
[23:22:56] *** Asu` <Asu`!~sdelang@92.184.101.66> has joined ##OpenGL
[23:24:10] *** Asu <Asu!~sdelang@AMarseille-658-1-175-47.w86-198.abo.wanadoo.fr> has quit IRC (Ping timeout: 240 seconds)
[23:27:08] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has quit IRC (Quit: Leaving)
[23:27:39] *** Xeek <Xeek!~xeek@unaffiliated/xeek> has quit IRC (Quit: leaving)
[23:27:43] *** castleboar <castleboar!~bes@unaffiliated/castlelore> has quit IRC (Ping timeout: 268 seconds)
[23:29:10] *** krychu_ <krychu_!~krychu@2a02:120b:2c07:5880:58f7:2af:aebf:db37> has quit IRC (Remote host closed the connection)
[23:29:17] *** krychu <krychu!~krychu@2a02:120b:2c07:5880:58f7:2af:aebf:db37> has joined ##OpenGL
[23:32:32] *** joel135 <joel135!sid136450@gateway/web/irccloud.com/x-ukhifuriachiysxc> has quit IRC ()
[23:33:15] *** joel135 <joel135!sid136450@gateway/web/irccloud.com/x-xolcbitsppzpdrun> has joined ##OpenGL
[23:37:38] *** idleloop <idleloop!~idleloop@95.211.168.228> has quit IRC (Ping timeout: 255 seconds)
[23:55:07] *** salamanderrake <salamanderrake!~quassel@24.165.192.204> has joined ##OpenGL
[23:57:21] *** krystcich_ <krystcich_!~krystcich@178235146157.dynamic-zab-01.vectranet.pl> has quit IRC (Quit: Going offline, see ya! (www.adiirc.com))
top

   February 9, 2018  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | >