#jogamp @ irc.freenode.net - 20150222 05:05:33 (UTC)


20150222 05:05:33 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150220052433.html
20150222 05:05:33 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20150222050533.html
20150222 08:15:18 * monsieur_max (~maxime@anon) has joined #jogamp
20150222 11:05:08 * Eclesia (~eclesia@anon) has joined #jogamp
20150222 12:56:32 * rmk0 (~rmk0@anon) Quit (Ping timeout: 245 seconds)
20150222 13:08:45 * rmk0 (~rmk0@anon) has joined #jogamp
20150222 13:11:17 * rmk0 nudges Eclesia
20150222 13:11:46 <Eclesia> rmk0: hi
20150222 13:12:00 <rmk0> lo
20150222 13:12:22 <rmk0> i'm going to make a start on the skeletal animation stuff today... where do i look to find the blender-reading stuff?
20150222 13:13:11 <Eclesia> rmk0: demo and blender modules
20150222 13:13:44 <Eclesia> /demo/store/model3d
20150222 13:14:37 * rmk0 clones
20150222 13:15:22 <Eclesia> start with the blender explorer demo, made this one for you ^^
20150222 13:15:27 <rmk0> thanks!
20150222 13:20:09 <rmk0> reminds me, i need to move to 2.3.0-20150205
20150222 13:20:40 * Eclesia is up to date ^^
20150222 13:26:27 <rmk0> wondering how i might best separate this stuff out... it seems to have quite a lot of dependencies on the rest of your engine as a whole
20150222 13:28:45 <rmk0> hm, build issue upon reaching 'Engine - Rasterizer2D' too: "Failed to execute goal on project engine-rasterizer2d: Could not resolve dependencies for project un.engine:engine-rasterizer2d:jar:1.x-SNAPSHOT: Cannot access jogamp-remote (http://www.jogamp.org/deployment/maven/) in offline mode and the artifact un.api:api-display:jar:tests:1.x-SNAPSHOT has not been downloaded from it before."
20150222 13:29:08 <rmk0> i think the mention of jogamp-remote is a red herring... usually means that you've got a dependency on a module that's no longer in the tree but still exists in your local maven cache
20150222 13:29:43 <rmk0> did un.api:api-display:jar:tests get removed at some point?
20150222 13:32:09 <Eclesia> rmk0: no he's looking for a test jar
20150222 13:32:27 <Eclesia> rmk0: how do you compile the project ?
20150222 13:33:17 <Eclesia> you must not skip the tests compilation
20150222 13:33:26 <Eclesia> mvn clean install -DskipTests
20150222 13:38:21 <Eclesia> rmk0: it works, I erased my .m2 to be sure.
20150222 13:38:55 <rmk0> that'd probably be it... i used -Dmaven.test.skip=true as i can't run the opengl tests here (no GL4)
20150222 13:40:14 <rmk0> right, builds
20150222 13:40:38 <Eclesia> the -Dmaven.test.skip doesn't compile the tests, it's different from -DSkipTests which build them but doesn't run them
20150222 13:40:44 <rmk0> yep
20150222 13:43:36 <Eclesia> rmk0: demo works ?
20150222 13:43:53 <rmk0> will know in a bit... eating!
20150222 13:52:39 * rmk0 waits for eclipse to stop doing whatever it's doing
20150222 14:26:54 <rmk0> can't get anything happening in eclipse... is claiming that it can't find un.storage:binding-xml-mvn:jar
20150222 14:27:04 <rmk0> of course, un.storage:binding-xml-mvn isn't a jar project, it's a maven plugin
20150222 14:27:58 <Eclesia> rmk0: you have choose the worse IDE for maven projects ^^
20150222 15:09:53 <Eclesia> rmk0: so ?
20150222 15:11:39 <rmk0> so?
20150222 15:13:37 <Eclesia> rmk0: so running the demo worked ?
20150222 15:13:54 <rmk0> nope, doesn't build
20150222 15:14:31 <rmk0> i don't think i can depend on the code anyway, way too many interdependencies
20150222 15:14:41 <rmk0> have to pull in your whole engine to parse a file... not great
20150222 15:15:13 <Eclesia> you can copy what you need
20150222 15:15:27 <Eclesia> or just use it to transform/extract the infos you want
20150222 15:15:52 <rmk0> it's a ton of work to separate out all of the dependencies
20150222 15:16:34 <Eclesia> I just have junit and jogl as dependencies ^^ everything else are project modules
20150222 15:16:35 <rmk0> looking to see if i can avoid blender entirely
20150222 15:16:52 <rmk0> the project modules are what i'm referring to
20150222 15:19:24 <Eclesia> that's what maven is for :/
20150222 15:20:59 <Eclesia> rmk0: if I had one fat jar with everything in, what that be better ?
20150222 15:21:11 <rmk0> of course not
20150222 15:22:26 <Eclesia> rmk0: what could be done to simplify it's use then ?
20150222 15:23:58 * odin_ (~Odin@anon) Quit (*.net *.split)
20150222 15:24:10 <rmk0> stricter interdependencies, i suppose... why does model-blend depend on engine-opengl?
20150222 15:24:48 <Eclesia> engine-opengl containts the mesh/texture api
20150222 15:24:53 <Eclesia> contains*
20150222 15:25:23 <rmk0> why does a blender file format parser care about either of those?
20150222 15:27:18 <Eclesia> like for images and medias. reading/writing is one thing, but having a common api for all 3d models is useful too, whatever format you can have the same model
20150222 15:27:46 <rmk0> it's useful within the context of you already using the entire unlicense framework
20150222 15:28:21 <rmk0> unless the mesh/texture api are somehow tied inseparably to the opengl engine, there's no reason the opengl engine should be providing that api
20150222 15:29:01 <rmk0> this is an extremely common problem with modern software
20150222 15:30:22 <rmk0> is a problem in the jdk itself too, hence their sudden desire to have things like project jigsaw
20150222 15:30:24 <Eclesia> agree, I should have 3 modules : opengl-utils, 3dmodel-api, engine-opengl
20150222 15:30:47 <Eclesia> but you have seen, I have already a lot of modules, so didn't split those
20150222 15:30:52 <rmk0> hehe, 173
20150222 15:31:19 <Eclesia> many are empty, modules are like a roadmap for me
20150222 15:31:35 <Eclesia> prepare where things will live
20150222 15:31:56 <rmk0> i generally structure APIs like this as event-based
20150222 15:32:18 <rmk0> like... the parser parses the file and periodically calls functions that i provide to deliver data
20150222 15:32:36 <rmk0> that way i'm not forced to depend on any data structures the parser uses (like its own vector types, vertex types, etc)
20150222 15:33:06 <rmk0> a consumer of an API styled in that manner can load the data directly to XML, or transform it into some other format for serialization, etc
20150222 15:36:17 <rmk0> ...
20150222 15:36:22 <rmk0> "load the data directly to XML"
20150222 15:36:28 <rmk0> i didn't mean that at all, i meant OpenGL
20150222 15:36:32 <rmk0> no idea how i managed to type that
20150222 15:36:54 <rmk0> think i had the word XML in my peripheral vision...
20150222 15:37:14 <Eclesia> rmk0: you can exclude the engine dependency, and directly use BlendFile which will just parse the file
20150222 15:38:54 <Eclesia> rmk0: just explaining how I work, you will always find a 'model' package in each parser module. it contains the data model for the format, this package have very few dependencies. it's just spliting, decompress work. no mapping to apis in it
20150222 15:39:10 <rmk0> yeah
20150222 15:39:42 <Eclesia> for blender you can see an 'adaptor' package which link the api and the model
20150222 15:40:48 <Eclesia> so I guess you can kick out many dependencies and still be able to read a blender file
20150222 15:46:31 * odin_ (~Odin@anon) has joined #jogamp
20150222 16:11:08 <rmk0> Eclesia: one minor thing too... in engine/engine-opengl/src/main/java/un/engine/opengl/resource/TransformFeedback.java, in the pause() method, there's a weird non-printing character in the source
20150222 16:11:46 <rmk0> line 101 and 105
20150222 16:11:51 <rmk0> gl.getGL4().glPauseTransformFeedback<200b>();
20150222 16:12:04 <rmk0> gl.getGL4().glResumeTransformFeedback<200b>();
20150222 16:12:14 <rmk0> don't know how those got in there... eclipse got very upset about them
20150222 16:12:34 <Eclesia> I don't see anything :/
20150222 16:12:41 <rmk0> they're unprintable
20150222 16:14:03 <rmk0> the text i pasted is what "less" shows for the file
20150222 16:14:51 <Eclesia> might be the result of a copy/paste from a web page online
20150222 16:18:02 <Eclesia> fixed
20150222 16:18:29 <rmk0> wonder why that character exists...
20150222 16:18:43 <rmk0> "here's a character that means nothing and specifically isn't visible"
20150222 16:44:01 * monsieur_max (~maxime@anon) Quit (Read error: No route to host)
20150222 16:45:01 * monsieur_max (~maxime@anon) has joined #jogamp
20150222 18:04:41 <Eclesia> rmk0: maybe it's used to transfer secret NSA messages.
20150222 18:07:02 <rmk0> possibly
20150222 19:52:40 <Eclesia> haaaaa, I hate tower defense games
20150222 19:53:02 <Eclesia> each time I start one, always end up playing several hours ...
20150222 19:56:43 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150222 21:12:05 * rmk0 (~rmk0@anon) Quit (Ping timeout: 252 seconds)
20150222 21:51:46 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150222 23:17:55 * rmk0 (~rmk0@anon) has joined #jogamp
20150222 23:17:56 * rmk0 (~rmk0@anon) Quit (Changing host)
20150222 23:17:56 * rmk0 (~rmk0@anon) has joined #jogamp
20150223 05:05:34 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20150223050534.html