2012-12-27T07:04:37 *** pradi has joined #amclug 2012-12-27T07:05:28 *** abhinav_singh has joined #amclug 2012-12-27T07:29:40 *** abhinav_singh has left #amclug 2012-12-27T07:42:31 *** arvind_khadri has joined #amclug 2012-12-27T08:03:44 *** ecthiender has joined #amclug 2012-12-27T08:05:06 arvind_khadri, I am removing the modifications I made in threex.domevent.js file. You look it up from the beginning. 2012-12-27T08:05:22 ecthiender, ok 2012-12-27T08:09:22 ecthiender, there are no examples with collision detection? 2012-12-27T08:10:01 arvind_khadri, no I think. threex and FirstPersonControls.js might have. look at the library files. 2012-12-27T08:10:09 arvind_khadri, also ddg for it 2012-12-27T08:10:17 ecthiender, ok 2012-12-27T08:10:19 ,google three js collision detection 2012-12-27T08:10:20 ecthiender: javascript - How to detect collision in three.js? - Stack Overflow: ; line - Three.js Ray Casting for Collision Detection - Stack Overflow: ; japh(r) by Chris Strom: Collision Detection in Three.js: (2 more messages) 2012-12-27T08:10:25 arvind_khadri, ^ 2012-12-27T08:12:16 arvind_khadri, sent you a pull req 2012-12-27T08:18:00 arvind_khadri, man why dont you write good commits? 2012-12-27T08:18:25 arvind_khadri, wtf is this? Every 'content' is now converted into the respective model. Objects are now indexed based upon the tags they have, easier to access 2012-12-27T08:18:47 what does the first line mean? 2012-12-27T08:19:23 arvind_khadri, and you didnt clean up code :( as you said. 2012-12-27T08:19:24 ! 2012-12-27T08:25:26 *** ecthiender has quit IRC (Ping timeout: 245 seconds) 2012-12-27T08:43:41 *** ecthiender has joined #amclug 2012-12-27T08:44:20 *** ecthiender_ has joined #amclug 2012-12-27T08:47:14 ecthiender, sorry, didnt see your call 2012-12-27T08:47:40 arvind_khadri, oh ok 2012-12-27T08:47:40 and also didnt respond to your messages here. 2012-12-27T08:47:49 yeah I can see 2012-12-27T08:48:03 From next time will write elaborate commit messages 2012-12-27T08:49:36 arvind_khadri, hey I thought you know about this. https://github.com/erlang/otp/wiki/Writing-good-commit-messages 2012-12-27T08:49:37 Title: Writing good commit messages · erlang/otp Wiki · GitHub (at github.com) 2012-12-27T08:49:58 arvind_khadri, its not about writing elaborate ones :O its about putting the important points together. 2012-12-27T08:50:12 arvind_khadri, and following a simple format. :) 2012-12-27T08:50:27 arvind_khadri, summary line and then the description! 2012-12-27T08:50:44 ecthiender, I know, I have read that blog. By elaborate I meant, jotting up all the important points, and putting them up with the context and description 2012-12-27T08:51:19 arvind_khadri, so why didnt you do that then? 2012-12-27T08:51:52 ecthiender, I don't know. Just don't have that habit of doing it that way. 2012-12-27T08:58:25 ecthiender, have you read this http://jensarps.de/2012/08/07/optimizing-the-three-js-ray-casting-class/ 2012-12-27T08:58:26 Title: Optimizing the THREE.js Ray Casting Class | Jens Arps (at jensarps.de) 2012-12-27T09:04:05 http://francik.name/html5/three.js/examples/webgl_collisions_trigger.html 2012-12-27T09:04:06 Title: three.js webgl - collision detection (at francik.name) 2012-12-27T09:39:28 *** ecthiender_ has quit IRC (Quit: gotta go) 2012-12-27T09:40:19 *** arvind_khadri has quit IRC (Ping timeout: 256 seconds) 2012-12-27T09:50:56 *** arvind_khadri has joined #amclug 2012-12-27T10:27:55 *** ecthiender has quit IRC (Ping timeout: 256 seconds) 2012-12-27T11:41:47 *** ecthiender has joined #amclug 2012-12-27T11:59:02 *** ecthiender has quit IRC (Ping timeout: 255 seconds) 2012-12-27T12:22:56 *** pradi has quit IRC (Quit: Leaving.) 2012-12-27T12:36:07 *** pradi has joined #amclug 2012-12-27T14:03:49 *** ecthiender has joined #amclug 2012-12-27T14:19:40 arvind_khadri, http://chandlerprall.github.com/Physijs/ 2012-12-27T14:19:41 Title: Physijs - a physics plugin for threejs (at chandlerprall.github.com) 2012-12-27T14:19:59 arvind_khadri, http://media.tojicode.com/q3bsp/physics-test.html 2012-12-27T14:20:00 Title: Three.js/Ammo.js Quake 3 Physics Test (at media.tojicode.com) 2012-12-27T14:34:19 ecthiender, checkWallCollision is not defined 2012-12-27T14:34:40 arvind_khadri, hmm. define it :P 2012-12-27T14:34:52 arvind_khadri, or use a physics engine. do what you think is the best. 2012-12-27T14:36:01 ecthiender, physijs? 2012-12-27T14:36:31 arvind_khadri, yeah! any particular reason? 2012-12-27T14:36:39 over ammo.js? 2012-12-27T14:36:44 #join titanium 2012-12-27T14:36:56 pradi, its /join #channelname 2012-12-27T14:37:15 ecthiender, seems to better than ammo.js, but it is more maintained than ammo 2012-12-27T14:37:18 seems to be so. 2012-12-27T14:37:27 but reading about physijs now 2012-12-27T14:37:36 arvind_khadri, ok cool. if its more maintained. we will get more help. 2012-12-27T14:37:38 cool. 2012-12-27T14:38:00 *** pradi has left #amclug 2012-12-27T14:40:09 ecthiender, we will go with physijs, it is built on three.js, has support for collision detection :) 2012-12-27T14:40:26 arvind_khadri, cool :) 2012-12-27T14:44:09 ecthiender, but now have to sit and convert THREE objects into Physijs objects. 2012-12-27T14:44:41 that is fine, will do it today. So collision detection will be taken care. 2012-12-27T14:45:21 arvind_khadri, but when you are loading the objects from an external file, there must be an option so that physijs would automatically convert it to Physijs objects. 2012-12-27T14:45:44 arvind_khadri, there would be hundreds of objects, how will you convert it to Physijs objects? 2012-12-27T14:46:33 ecthiender, what do you mean loading objects from an external file? 2012-12-27T14:46:50 arvind_khadri the scene. its loaded from the file. 2012-12-27T14:46:56 arvind_khadri, we dont create objects in our code. 2012-12-27T14:58:15 ecthiender, there seems to be scene loader from physijs, asking in #three.js 2012-12-27T14:58:22 no scene loader 2012-12-27T14:58:50 arvind_khadri, what do you mean? 2012-12-27T14:59:45 there is no scene loader in physijs, which would actually construct physijs objects. 2012-12-27T15:04:06 arvind_khadri, so you have to write a plugin to do that I guess. keep looking into it. 2012-12-27T15:04:18 arvind_khadri, I am also loooking. 2012-12-27T15:04:24 ecthiender, yes I am reading. 2012-12-27T15:04:50 ecthiender, I think we should go see what scene loader does then we can translate that code to physijs 2012-12-27T15:05:05 arvind_khadri, yeah. 2012-12-27T15:06:13 arvind_khadri, see. the scene loader will iterate through the JSON identfying the geometries and the material, and then using them to create "THREE.Mesh"es. so we have to change that line to use Physijs.Mesh-es. 2012-12-27T15:06:45 to nearest physijs meshes 2012-12-27T15:07:20 arvind_khadri, there is something called Physijs.Mesh. you initialize meshes like that and they become Physijs objets. 2012-12-27T15:07:32 arvind_khadri, see any example. 2012-12-27T15:09:44 arvind_khadri, https://github.com/chandlerprall/Physijs/issues/30 2012-12-27T15:09:45 Title: how to add physijs to js model ? · Issue #30 · chandlerprall/Physijs · GitHub (at github.com) 2012-12-27T15:13:29 ecthiender, we will leave? 2012-12-27T15:13:54 arvind_khadri, yeah in 5 mins. 2012-12-27T15:14:17 *** arvind_khadri has quit IRC (Read error: Connection reset by peer) 2012-12-27T15:32:09 *** ecthiender has quit IRC (Quit: gotta go) 2012-12-27T16:01:33 *** pradi has joined #amclug 2012-12-27T16:13:49 *** pradi has quit IRC (Quit: Leaving.) 2012-12-27T19:13:57 *** abhinav_singh has joined #amclug 2012-12-27T19:43:15 *** abhinav_singh has quit IRC (Ping timeout: 256 seconds) 2012-12-27T20:06:35 *** arvind_khadri has joined #amclug 2012-12-27T20:29:15 *** arvind_khadri has quit IRC (Ping timeout: 252 seconds)