#jogamp @ irc.freenode.net - 20150724 05:05:25 (UTC)


20150724 05:05:25 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150723050525.html
20150724 05:05:25 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20150724050525.html
20150724 06:02:15 * doev (~doev@anon) has joined #jogamp
20150724 06:46:46 * eclesia (~husky@anon) has joined #jogamp
20150724 06:46:51 <eclesia> good mornig
20150724 06:46:53 <eclesia> +n
20150724 06:52:40 * elect (~elect@anon) has joined #jogamp
20150724 06:59:36 <elect> hi
20150724 07:07:30 * monsieur_max (~maxime@anon) has joined #jogamp
20150724 08:12:57 <elect> eclesia, you have a test app for dx10 textures?
20150724 08:13:49 * doev (~doev@anon) Quit (Ping timeout: 244 seconds)
20150724 08:14:35 <elect> https://bitbucket.org/Eclesia/unlicense/src/9ce8ad6a5f925355cf60b1ef05eeb5cd4096d444/storage/image/image-dxt/src/test/java/un/storage/imagery/dxt/DXTImageReaderTest.java?at=default?
20150724 08:20:01 <eclesia> elect: /unlicense/demo/src/main/java/demo/opengl/_0_getting_started/_2_ImageDemo.java change the path to your image. must be "file>..."
20150724 08:54:47 <elect> thanks
20150724 09:11:25 * doev (~doev@anon) has joined #jogamp
20150724 10:35:47 * odin_ (~Odin@anon) Quit (Ping timeout: 258 seconds)
20150724 10:46:16 * odin_ (~Odin@anon) has joined #jogamp
20150724 11:07:32 * doev (~doev@anon) Quit (Ping timeout: 250 seconds)
20150724 11:29:04 * doev (~doev@anon) has joined #jogamp
20150724 12:45:21 * odin_ (~Odin@anon) Quit (Ping timeout: 258 seconds)
20150724 12:54:58 * odin_ (~Odin@anon) has joined #jogamp
20150724 13:08:26 * doev (~doev@anon) Quit (Ping timeout: 250 seconds)
20150724 13:20:41 * doev (~doev@anon) has joined #jogamp
20150724 13:46:25 <xranby> sgothel: the proposed fix for cc6 fail :/
20150724 13:46:26 <xranby> 1178 cc6: if you render the overlay window transparent -> caps.setBackgroundOpaque(false); then you will see that the underlay tracker window newer repaints -> looks a bit like a mess. Attempted fix 1178 cc6: x11 underlay tracker window can be set transparent as well. FIXME: The underlay tracker window is still filled with opaque garbage.
20150724 13:47:27 * juank_prada (~juank_pra@anon) has joined #jogamp
20150724 13:48:19 <xranby> What is the best/intended way to fill a non-GL NEWT window with a colour with full alpha?
20150724 13:50:27 <zubzub> non gl newt window?
20150724 13:50:28 <zubzub> eh?
20150724 13:50:40 <zubzub> isn't that just a platform specific window?
20150724 13:50:52 <xranby> zubzub: yes NEWT can create platform specific windows
20150724 13:51:24 <xranby> and i use one in my X11UnderlayTracker code
20150724 13:51:31 <xranby> https://github.com/jogamp/jogl/compare/master...xranby:Enhancement1178
20150724 13:51:53 <zubzub> yes, obviosly :)
20150724 13:51:57 <xranby> the Underlay is inteded to be used as input for a hardware accelerated undecorated overlay
20150724 13:52:01 <zubzub> how else can you create a gl window :)
20150724 13:54:17 * doev (~doev@anon) Quit (Ping timeout: 240 seconds)
20150724 14:09:58 <xranby> zubzub: its funny when you know the "solution" -> insert that one-liner at the right location that will make xlib do a XClearWindow(dis, win);
20150724 14:10:39 <xranby> yet some time you end up searching for the right spot in the architecture to put the oneliner
20150724 14:14:02 <zubzub> I know
20150724 14:14:08 <zubzub> I've looked at NEWT too :)
20150724 14:14:18 <zubzub> that's why I'm not looking at it anymore :p
20150724 14:41:20 <xranby> zubzub: well.. NEWT solves dynamic linking to many WM something other architectures do not handle. thus i do think the added complexity to do dynamic linking is worth it
20150724 15:08:56 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150724 15:19:54 * eclesia (~husky@anon) has left #jogamp
20150724 15:36:33 * elect (~elect@anon) Quit (Ping timeout: 255 seconds)
20150724 15:54:19 * elect (~elect@anon) has joined #jogamp
20150724 16:10:17 <elect> has someone used glMapBufferRange?
20150724 16:38:19 * monsieur_max (~maxime@anon) has joined #jogamp
20150724 16:41:50 <sgothel> @elect: jogl$ grep -RIn glMapBufferRange src/test
20150724 16:42:06 <sgothel> @Xerxes: Bug 1180: holy moly :)
20150724 16:42:41 <xranby> sgothel: probably JVM bug
20150724 16:42:42 <elect> I find only TestMapBufferRead01NEWT
20150724 16:42:48 <elect> and it is in read
20150724 16:42:55 <elect> ing
20150724 16:43:24 <xranby> sgothel: anyway.. i am composing a small positionLimitCapacityAfterArrayAllocation junit test
20150724 16:43:33 <xranby> that jmasing may run
20150724 16:45:46 <sgothel> The new buffer's position will be zero, its capacity and its limit
20150724 16:45:46 <sgothel> * will be the number of bytes remaining in this buffer divided by
20150724 16:45:46 <sgothel> * four, and its mark will be undefined.
20150724 16:46:01 <sgothel> ^^ ByteBuffer.asIntBuffer()
20150724 16:50:17 <xranby> what!? :D
20150724 16:51:06 <sgothel> thats how we produce the buffer .. via ByteBuffer .. asIntBuffer .. walking through the case .. hmm
20150724 16:57:03 <xranby> https://jogamp.org/bugzilla/show_bug.cgi?id=1180#c3
20150724 17:02:45 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=1180#c4
20150724 17:02:55 <sgothel> your patch -> git pull .. ?
20150724 17:03:06 <sgothel> I assume it passes .. doesn't it?
20150724 17:07:15 <xranby> sgothel: it passes on my machine without the clear patch
20150724 17:07:24 <xranby> one second generating git commit
20150724 17:07:56 <xranby> i have mostly tested with openjdk 7
20150724 17:13:20 <xranby> sgothel: https://github.com/xranby/gluegen/commit/ce9187bbbf62389fc7897a87f36952cdd23674f6
20150724 17:15:12 <sgothel> thx!
20150724 17:15:20 <xranby> i will wait with pushing the "clear" patch untill someone can verify that their jvm is broken
20150724 17:19:26 <sgothel> yes, I want to see the culprit of this bug
20150724 17:19:37 <sgothel> and I don't see it is rewind(), see above
20150724 17:19:49 <sgothel> maybe we need the whole use case .. hmm
20150724 17:20:17 <xranby> scarry stuff!
20150724 17:20:46 <xranby> ok heading home, thanks for this work week
20150724 17:20:54 <xranby> night hacking starts at night :)
20150724 17:21:03 <sgothel> :)
20150724 17:38:14 * Eclesia (~eclesia@anon) has joined #jogamp
20150724 18:17:25 <elect> Eclesia, you there?
20150724 18:17:34 <Eclesia> I am
20150724 18:17:45 <elect> cloned your project
20150724 18:18:03 <elect> I have now, API, Coding tools, engine, storage, protocl, Demo, console
20150724 18:18:21 <elect> im opening one project after the other
20150724 18:18:25 <elect> and building
20150724 18:18:51 <Eclesia> you can build everything in one call. mvn clean install at the root directory
20150724 18:18:58 <elect> since when I started with the "demo" I got a lot of missed dependencies
20150724 18:19:15 <elect> by console?
20150724 18:19:50 <elect> I miss maven
20150724 18:19:58 <elect> it suggests maven and maven2
20150724 18:20:07 <elect> im on ubuntu, what do you suggest?
20150724 18:20:07 <Eclesia> ?
20150724 18:20:13 <Eclesia> maven 3
20150724 18:20:22 <elect> Q.Q
20150724 18:20:53 <Eclesia> or if you have netbeans, just open the project, a make clean and build. (netbeans has an integrated maven)
20150724 18:21:19 <elect> I did as soon as finished to clone
20150724 18:21:31 <elect> but all the module still got problems
20150724 18:21:41 <elect> Im trying again
20150724 18:21:43 <Eclesia> build it once
20150724 18:21:50 <Eclesia> everthing will be solved then
20150724 18:22:21 <elect> in you I trust
20150724 18:23:29 <elect> only Demo is fine
20150724 18:23:38 <elect> all others still problems
20150724 18:24:00 <elect> "unable to properly load"
20150724 18:24:41 <Eclesia> but they did build ?
20150724 18:25:26 <elect> I'll do again and copy
20150724 18:25:54 <Eclesia> elect: try a 'reload pom' on those who have troubles
20150724 18:26:40 <elect> I have only - open project - open POM -remove module
20150724 18:27:08 <Eclesia> what does he complain about ?
20150724 18:27:17 <elect> https://gist.github.com/elect86/fb145378dcf55e73c4bd
20150724 18:29:08 <Eclesia> everyrhing is fine then
20150724 18:29:15 <Eclesia> al success
20150724 18:29:17 <Eclesia> all*
20150724 18:29:50 <elect> 2_imageDemo works btw
20150724 18:31:51 <Eclesia> not all demos work for 3d. made some changes recently. (default color has 0 alpha, -> result in most demo showing nothing)
20150724 18:32:32 <elect> I changed file
20150724 18:32:34 <elect> it loaded it
20150724 18:32:36 <elect> cool
20150724 18:33:12 <Eclesia> try the demo/ui/WidgetShowcase
20150724 18:33:27 <Eclesia> shows how far I went with UI ^^
20150724 18:33:43 <elect> dont make me greedy
20150724 18:35:10 <elect> they look cool
20150724 18:35:14 <elect> how you render them?
20150724 18:35:19 <Eclesia> opengl
20150724 18:35:27 <elect> picking?
20150724 18:35:30 * juank_prada (~juank_pra@anon) Quit (Ping timeout: 240 seconds)
20150724 18:35:45 <Eclesia> geometry intersection on cpu.
20150724 18:35:50 <elect> wow
20150724 18:36:01 <elect> I guess then that's the problem of the lag maybe
20150724 18:36:27 <Eclesia> no. geometries are recalculated at each rendering that's why
20150724 18:36:36 <elect> ah
20150724 18:36:37 <Eclesia> the cache isn't set yet
20150724 18:37:02 <Eclesia> font are also geometries, triangulation make it really cpu expensive
20150724 18:37:19 <elect> I guess you also need advanced pipeline ^^
20150724 18:37:37 <Eclesia> what do you have in mind ?
20150724 18:38:43 <Eclesia> can already make sweet thing with the css like there is : http://unlicense.developpez.com/gallery/2D_explorer_l.png
20150724 18:39:14 <Eclesia> rendering engine too bad either : http://unlicense.developpez.com/gallery/3D_morphtarget_l.png
20150724 18:39:27 <elect> anyway
20150724 18:39:50 <elect> the gtc site is under maintenance right know
20150724 18:39:55 <elect> I will link you later
20150724 18:40:15 <elect> btw I wanted to look at un.impl.opengl.resource.Texture2D
20150724 18:40:19 <elect> compiled..?
20150724 18:40:29 <Eclesia> ?
20150724 18:40:57 <elect> compiled code
20150724 18:41:55 <Eclesia> sorry I don't understand
20150724 18:42:17 <Eclesia> just a java class, nothing special
20150724 18:44:13 <elect> I cant find the code
20150724 18:44:17 <elect> source code
20150724 18:45:20 <Eclesia> ha. in engine/engine-opengl-util
20150724 18:45:33 <Eclesia> un.impl.opengl.resource.Texture2D
20150724 18:47:03 * juank_prada (~juank_pra@anon) has joined #jogamp
20150724 18:48:25 <elect> un.api.image.Images?
20150724 18:51:27 <Eclesia> At it's logic place. un 'api/api-image' :)
20150724 18:51:48 <elect> im browsing by browser
20150724 18:52:07 <Eclesia> if you see a package un.api 90% of chance it's in api folder
20150724 18:52:33 <elect> everything is compiled code
20150724 18:52:49 <elect> and there are modules nested inside other modules
20150724 18:52:57 <elect> to be opened and built
20150724 18:53:16 <elect> I will try through browser
20150724 18:54:03 <elect> aren't you using any text util from jogl?
20150724 18:54:13 <Eclesia> none
20150724 18:55:16 <Eclesia> this library is from scratch, has it's own api. it won't be compatible with anything out. not even collection or strings
20150724 18:55:31 <elect> when you decode the image exactly
20150724 18:55:50 <elect> createReader(input) or imageReade.read()
20150724 18:55:56 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150724 18:55:59 <Eclesia> in the read
20150724 18:57:51 <elect> what IDE do you use?
20150724 18:58:06 <Eclesia> netbeans
20150724 18:59:53 <elect> could you export the project in this way?
20150724 18:59:54 <elect> http://stackoverflow.com/a/16491855/1047713
20150724 19:01:03 <Eclesia> I don't have any config. just the same source you opened.
20150724 19:01:29 <elect> I cant follow u
20150724 19:01:31 <elect> what you mean?
20150724 19:02:03 <Eclesia> the export would be the exact same thing has the hg clone you made
20150724 19:04:43 <elect> I tried built with dependencies
20150724 19:04:47 <elect> it didnt work neither
20150724 19:07:50 <Eclesia> take a screenshot because I don't understand your problem
20150724 19:41:12 * elect (~elect@anon) Quit (Ping timeout: 264 seconds)
20150724 19:43:42 * xranby_ (~familjen@anon) Quit (Quit: Leaving.)
20150724 19:44:17 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150724 20:01:33 * Eclesia (~eclesia@anon) has joined #jogamp
20150724 20:28:43 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150724 20:36:35 * doev (~doev@anon) has joined #jogamp
20150724 20:41:47 * doev (~doev@anon) Quit (Ping timeout: 240 seconds)
20150724 20:43:36 * doev (~doev@anon) has joined #jogamp
20150724 21:02:37 * doev (~doev@anon) Quit (Ping timeout: 244 seconds)
20150724 21:27:25 * elect (~elect@anon) has joined #jogamp
20150724 22:39:04 * juank_prada (~juank_pra@anon) Quit (Read error: Connection reset by peer)
20150724 23:51:17 * bigpet_ (uid25664@anon) has joined #jogamp
20150724 23:54:00 * bigpet (uid25664@anon) Quit (Ping timeout: 240 seconds)
20150724 23:54:40 * bigpet_ is now known as bigpet
20150725 00:04:41 * elect (~elect@anon) Quit (Ping timeout: 256 seconds)
20150725 05:05:25 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20150725050525.html