Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2015-11-11

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:40 mohawk add to the docs? :-)
08:03 CandyAngel mohawk: I think it is because it isn't actually fully implemented
08:03 CandyAngel As far as I can tell, it sets up an index buffer, then doesn't use it? Unless I'm missing something, which I quite likely am
08:30 CandyAngel I have a sneaky suspicion that I might be writing my own wrapper :P
08:43 CandyAngel (I just checked again, and test.pl definitely doesn't use the index buffer it creates/destroys)
09:08 mohawk oh my
09:28 CandyAngel Huh, I can use glDrawElements_c, but I'm pretty sure its not using the EBO
09:29 CandyAngel Yeah, it's not. Hmm
09:56 CandyAngel Well, I have an improvement, I can pass 0 as the pointer and it doesn't segfault. Doesn't draw anything either, but no segfault it good :)
12:29 Mithaldu CandyAngel: i used glDrawElements a lot from tutorial 10 upwards
12:43 CandyAngel Yeah, I've looked at your script and I can't get mine to work the same way as yours :/
12:43 CandyAngel I found a "secret" gist
12:44 CandyAngel From my testing, it looks like the buffer isn't being populated
12:44 CandyAngel Even though I am doing it the same way I am populating the vertex buffer
12:44 CandyAngel index buffer isn't populated*
12:52 CandyAngel http://pastebin.archlinux.fr/1698442
12:59 CandyAngel As you can see, those indices are wrong (and completely random, so I'm guessing that are just some random bit of memory)
17:04 chm joined #pdl
17:04 chm PDL-2.x stabilization status (severe bug!): http://sourceforge.net/p/pd#l/mailman/message/34603574/
17:44 CandyAngel Yay, chm is here! Hi!
17:54 h383kk joined #pdl
17:54 h383kk Bonjour!
17:55 jaggz oops
17:56 jaggz I'm trying to figure how to use PDL...  What's a piddle?  Where's it documented?
17:56 jaggz I'm using a couple examples from this page: http://zentara.net/TriD_Tutorial/TriD_Tutorial.html#an_image_cube
17:56 jaggz But I can't figure out what exactly I'm supposed to be passing to points3d
17:58 preaction i'm not well-versed, but a piddle is the pdl() "object". the multi-dimensional array at the core of the library
18:01 jaggz thanks preaction ..
18:01 jaggz http://zentara.net/TriD_Tutorial/TriD_Tutorial.html#intersecting_colored_point_clusters
18:02 jaggz Here that example passes two arrays which seem to just be 3 scalars each.. Yet it displays a lot of dots.. no loop
18:04 preaction that i can help with: $i is a piddle containing 8000 zeroes. piddles override arithmetic, which return new piddles. http://pdl.perl.org/PDLdocs/Primitive.html#grandom
18:06 preaction so $i is 8000 zeroes. $which is a piddle consisting of which of 8000 random numbers were less than 0.5 (uncomment the print statement to see it)
18:06 preaction indeed, print out every one of those to see what they look like. that was how i started understanding
18:07 preaction but yes, pdl tries to keep loops out of the perl side, because loops are slow
18:19 chm CandyAngel: Hi
18:20 CandyAngel chm: I wanted to ask you if there had been any progress on updating POGL to support modern OpenGL things (GLEW?)
18:26 chm CandyAngel: Not much recently, although there were some nibbles of interest this Summer.
18:27 chm The current status is basically: have a plan to proceed and have started some work.
18:27 CandyAngel That's a start :)
18:27 chm The biggest obstacles are twofold: one is I only have a reading knowledge of modern opengl API programming,
18:28 CandyAngel I'm asking because I have a few VR apps and games coded in Perl, that I would like to update to OpenGL2+ stuff
18:28 chm and two, no other developers to work with.
18:28 CandyAngel And so I can learn OpenGL2 stuff
18:28 chm I'm currently trying to finish the last of the 64bit update for PDL.
18:28 CandyAngel Coolies :)
18:29 chm At that point, I need some better graphics (and a TriD overhaul).
18:29 CandyAngel I'd be happy to help where I can, but I'd probably be of limited usefulness (aside from testing)
18:29 chm The refactored POGL is key to that.  Do you have any experience with perl/opengl deevelopment?
18:29 chm Believe it or not, testing is critical and a *huge* help.
18:29 CandyAngel Perl is my main language, which is why my VR and games are coded in it :P
18:30 chm OpenGL is a *big* api and not possible for me to check everything.
18:30 CandyAngel I've not done any XS stuff.. I used Inline::C for writing my OpenHMD wrapper
18:30 chm I'm much better to implement and fix/iterate.
18:30 chm CandyAngel: Do you have an account at sf?
18:30 CandyAngel (not claiming to be *good* at Perl, it's just what I know best)
18:31 chm CandyAngel:  The POGL git is currently there.
18:31 chm CandyAngel: If you are interested, I could review where things stand in more detail.
18:32 chm CandyAngel: Then we could have more specifics for moving forward after the PDL 64bit fix.
18:32 chm CandyAngel: One nice thing with the OpenGL modern stuff is it matches very well with Perl Data Language
18:32 chm CandyAngel: GP
18:33 CandyAngel I don't have an account there but I can always make one
18:33 chm CandyAngel: Do you have some links to the work you are doing?
18:34 chm I'm interested in real time visualization and data processing for which OpenGL is a nice fit.
18:34 chm And it makes it easy to use modern GPU computing.
18:34 CandyAngel Nothing public, because it's mostly just me learning stuff
18:34 chm OpenGL 4.3 even gives you compute shaders so you don't even need to use CUDA or OpenCL.
18:35 chm CandyAngel: I think Mithaldu's work and tutorials are the farthest along at the moment.
18:36 chm If you sign up to sf.net I can add you to the developers and keep you in the loop for plans.
18:36 CandyAngel Awesomeeee
18:37 chm Unfortunately, #pdl is a very poor way to communicate more detailed info without losing it....
18:37 chm CandyAngel: got to go for now, I'll write up thos notes and post to the POGL mailing list.
18:38 chm I should be able to get something by the end of the weekend.
18:38 CandyAngel Okay, thank you!
18:38 chm CandyAngel: Of course, I would welcome any feedback and other ideas/suggestions.
18:39 chm jaggz: Thanks for the link to http://zentara.net/TriD_Tutorial/TriD_Tutorial.html#intersecting_colored_point_clusters
18:39 chm jaggz: I'll have to see about adding that to the PDL web site: http://pdl.perl.org
18:40 chm CandyAngel: Nice chatting, o?
18:40 chm o/
18:45 CandyAngel Yay \o/
23:28 jaggz chm, :)

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary