{"author":"petethomas","children":[{"author":"ajkjk","children":[],"created_at":"2019-05-18T04:27:46.000Z","created_at_i":1558153666,"id":19945611,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"I&#x27;m a few articles in and so far this a wonderful guide.","title":null,"type":"comment","url":null},{"author":"yeahitslikethat","children":[{"author":"finchisko","children":[{"author":"skocznymroczny","children":[],"created_at":"2019-05-18T07:43:47.000Z","created_at_i":1558165427,"id":19946246,"options":[],"parent_id":19946123,"points":null,"story_id":19944990,"text":"This behavior is expected. Without raytracing, lights are calculated locally for the object, without taking other objects into account. Unless you enable shadows, which add some computational cost but can prevent lights shining through walls&#x2F;objects.","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T06:58:31.000Z","created_at_i":1558162711,"id":19946123,"options":[],"parent_id":19945849,"points":null,"story_id":19944990,"text":"Tried babylonjs week ago when they released new version. It was my first experience with 3D in the browser. But must say was very positive. I was able to do everything I wanted. The only bad was the lights shines through solid objects, so modeled room lamp is visible from the outside of the building :).<p>I didn&#x27;t tried threejs though. So sorry for being bit of topic.","title":null,"type":"comment","url":null},{"author":"AlexMuir","children":[],"created_at":"2019-05-18T12:45:27.000Z","created_at_i":1558183527,"id":19947099,"options":[],"parent_id":19945849,"points":null,"story_id":19944990,"text":"I\u2019ve been through Three, Blend4web, aframe and verge3d. Babylon is the mot full featured and powerful for what I needed and it\u2019s a pleasure to work with. Also forced me across to typescript which is a huge blessing.","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T05:34:13.000Z","created_at_i":1558157653,"id":19945849,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"Three.js is good. Another option if you don&#x27;t know is <a href=\"https:&#x2F;&#x2F;www.babylonjs.com&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;www.babylonjs.com&#x2F;</a>","title":null,"type":"comment","url":null},{"author":"unknown1337","children":[],"created_at":"2019-05-18T07:06:47.000Z","created_at_i":1558163207,"id":19946151,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"Mrdoob &#x2F; aq are legendary.<p>Welcome to the future..","title":null,"type":"comment","url":null},{"author":"Corinthian","children":[{"author":"joeberon","children":[],"created_at":"2019-05-18T07:54:11.000Z","created_at_i":1558166051,"id":19946274,"options":[],"parent_id":19946153,"points":null,"story_id":19944990,"text":"I don&#x27;t think they&#x27;re too bad, the three.js examples are good (if a little sloppy in coding style)<p>I think the main thing that helps is some kind of previous knowledge about OpenGL","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T07:07:03.000Z","created_at_i":1558163223,"id":19946153,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"Thank you! I&#x27;ve tried to follow three.js&#x27;s own tutorials, and slip into coma every time. These are a vast improvement!","title":null,"type":"comment","url":null},{"author":"nergal","children":[{"author":"throwaway77384","children":[{"author":"nergal","children":[],"created_at":"2019-05-18T10:51:53.000Z","created_at_i":1558176713,"id":19946731,"options":[],"parent_id":19946352,"points":null,"story_id":19944990,"text":"Hehe yeah it&#x27;s not that intuitive :)<p>The links might not work for the games anymore, but here are some of them to try out:<p><a href=\"http:&#x2F;&#x2F;qake.se&#x2F;demo2\" rel=\"nofollow\">http:&#x2F;&#x2F;qake.se&#x2F;demo2</a><p><a href=\"http:&#x2F;&#x2F;qake.se&#x2F;demo\" rel=\"nofollow\">http:&#x2F;&#x2F;qake.se&#x2F;demo</a><p><a href=\"http:&#x2F;&#x2F;parrothunt.nergal.se&#x2F;\" rel=\"nofollow\">http:&#x2F;&#x2F;parrothunt.nergal.se&#x2F;</a><p><a href=\"http:&#x2F;&#x2F;nemo.nergal.se&#x2F;\" rel=\"nofollow\">http:&#x2F;&#x2F;nemo.nergal.se&#x2F;</a><p><a href=\"http:&#x2F;&#x2F;toad.webgl.nu&#x2F;\" rel=\"nofollow\">http:&#x2F;&#x2F;toad.webgl.nu&#x2F;</a><p><a href=\"http:&#x2F;&#x2F;vox2.webgl.nu&#x2F;\" rel=\"nofollow\">http:&#x2F;&#x2F;vox2.webgl.nu&#x2F;</a><p>All are created with ThreeJS and the source code is on Github.","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T08:30:56.000Z","created_at_i":1558168256,"id":19946352,"options":[],"parent_id":19946220,"points":null,"story_id":19944990,"text":"Love it!<p>One minor thing I noticed, is that capturing the mouse doesn&#x27;t seem to be working on FF 66.0.3 on Linux (Manjaro). Not sure if that&#x27;s because I have a dual screen setup. I guess on a single-screen setup I wouldn&#x27;t notice if I had the browser in full screen.<p>Edit: There is a &quot;lock mouse&quot; button and I am an idiot. Thank you for reading, I will leave this here for posterity.","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T07:34:49.000Z","created_at_i":1558164889,"id":19946220,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"I&#x27;ve made a lot of games with three js which I&#x27;ve published as open source on github.  \n <a href=\"https:&#x2F;&#x2F;github.com&#x2F;lallassu\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;lallassu</a><p>Checkout these repos:\n- parrothunt\n- Qake (qake.se)\n- saving nemo\n- vox2\nEtc...<p>At least for some inspiration perhaps :)","title":null,"type":"comment","url":null},{"author":"joeberon","children":[{"author":"kvakkefly","children":[{"author":"joeberon","children":[{"author":"delhanty","children":[{"author":"kvakkefly","children":[],"created_at":"2019-05-18T14:53:03.000Z","created_at_i":1558191183,"id":19947712,"options":[],"parent_id":19946504,"points":null,"story_id":19944990,"text":"Very cool!","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T09:26:53.000Z","created_at_i":1558171613,"id":19946504,"options":[],"parent_id":19946350,"points":null,"story_id":19944990,"text":"That&#x27;s what I thought - @types&#x2F;three *.d.ts got imported via a script in this PR:<p><a href=\"https:&#x2F;&#x2F;github.com&#x2F;mrdoob&#x2F;three.js&#x2F;pull&#x2F;15597\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;mrdoob&#x2F;three.js&#x2F;pull&#x2F;15597</a><p>There&#x27;s some discussion in there, but the way I read the conclusion was they were going to be bundle the typings going forward.","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T08:28:49.000Z","created_at_i":1558168129,"id":19946350,"options":[],"parent_id":19946302,"points":null,"story_id":19944990,"text":"I thought it came with bundled typings now? I didn&#x27;t have to use @types&#x2F;three it just came with the type definitions","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T08:04:43.000Z","created_at_i":1558166683,"id":19946302,"options":[],"parent_id":19946279,"points":null,"story_id":19944990,"text":"I sort of agree, but there are some function signatures that don\u2019t match what\u2019s in the code using @types&#x2F;three, and mrdoob does not want to maintain this.\nThis gives a few @ts-ignore, but that\u2019s not a big problem:)","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T07:55:14.000Z","created_at_i":1558166114,"id":19946279,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"Btw three.js works flawlessly with Typescript too in case anyone is interested","title":null,"type":"comment","url":null},{"author":"nobody271","children":[{"author":"hombre_fatal","children":[{"author":"skrebbel","children":[{"author":"kabwj","children":[{"author":"skrebbel","children":[],"created_at":"2019-05-18T16:59:39.000Z","created_at_i":1558198779,"id":19948433,"options":[],"parent_id":19946708,"points":null,"story_id":19944990,"text":"Ah right, thanks.","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T10:45:16.000Z","created_at_i":1558176316,"id":19946708,"options":[],"parent_id":19946515,"points":null,"story_id":19944990,"text":"I assume when he posted that comment it was dead immediately. It had to be vouched to show up.","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T09:29:41.000Z","created_at_i":1558171781,"id":19946515,"options":[],"parent_id":19946452,"points":null,"story_id":19944990,"text":"How can you tell?","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T09:09:19.000Z","created_at_i":1558170559,"id":19946452,"options":[],"parent_id":19946400,"points":null,"story_id":19944990,"text":"You are shadowbanned. I didn&#x27;t find an obvious reason when looking at your post history which is why I&#x27;m telling you.","title":null,"type":"comment","url":null},{"author":"master-litty","children":[{"author":"benjanik","children":[{"author":"jakear","children":[{"author":"benjanik","children":[],"created_at":"2019-05-19T15:52:14.000Z","created_at_i":1558281134,"id":19953881,"options":[],"parent_id":19950001,"points":null,"story_id":19944990,"text":"Email should be in my profile - ben@beautiful.ai","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T22:08:48.000Z","created_at_i":1558217328,"id":19950001,"options":[],"parent_id":19948125,"points":null,"story_id":19944990,"text":"Not the person you replied to, but I have a friend looking for a graphics job in SF. Contact via your username at your workplace website?","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T16:00:58.000Z","created_at_i":1558195258,"id":19948125,"options":[],"parent_id":19946590,"points":null,"story_id":19944990,"text":"Send me an email - would love to have a conversation!","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T09:57:27.000Z","created_at_i":1558173447,"id":19946590,"options":[],"parent_id":19946400,"points":null,"story_id":19944990,"text":"A few years ago I went deep into an effort to make my own 3D animation company, all in-house software and everything from the ground up as much as possible.<p>I wanted to make the next Pixar, went far with the idea. Built a lot of working prototypes for the software we&#x27;d use all by myself. I built something I was pleased with and sought for a seed round and everything. I certainly don&#x27;t know everything but I know way more than my fair share in graphics programming.<p>That&#x27;s stellar experience and even with that I can&#x27;t find any relevant graphics opportunities. I keep knocking on Pixar&#x27;s door and they never have any open roles for the things we&#x27;re looking for, and they never bite when they&#x27;re open.<p>I work at Adobe now. Even here I&#x27;m not touching graphics :)<p>I&#x27;d love to hear someone else&#x27;s take, because all I can conclude is that it&#x27;s a saturated industry, it&#x27;s a primarily academic industry (I don&#x27;t have a degree), or I&#x27;m outside the industry network.","title":null,"type":"comment","url":null},{"author":"dahart","children":[],"created_at":"2019-05-18T15:55:44.000Z","created_at_i":1558194944,"id":19948097,"options":[],"parent_id":19946400,"points":null,"story_id":19944990,"text":"Personally, I think it\u2019s quite good, especially if you\u2019re flexible about where you work. Getting practice and being good at enough linear algebra to understand graphics transforms thoroughly will help a lot. There are graphics jobs in web app developement, mobile&#x2F;console&#x2F;pc game studios, game engines, scientific computing and HPC, medicine, movie studios, third party software renderers, and lots and lots in the Bay Area giants like Facebook, Google, Apple, AMD &amp; Nvidia.","title":null,"type":"comment","url":null},{"author":"benjanik","children":[],"created_at":"2019-05-18T15:58:56.000Z","created_at_i":1558195136,"id":19948117,"options":[],"parent_id":19946400,"points":null,"story_id":19944990,"text":"I think it would be pretty good. Less employers needing graphics programming, but a lot less candidates. I&#x27;ve been trying to hire someone with some graphics programming experience and so far have had a lot of trouble finding candidates in SF.","title":null,"type":"comment","url":null},{"author":"karolusrex","children":[],"created_at":"2019-05-20T08:21:07.000Z","created_at_i":1558340467,"id":19958409,"options":[],"parent_id":19946400,"points":null,"story_id":19944990,"text":"Construction industry. I&#x27;m having an upcoming project with making a web based 3d editor now, and before that I had an open offer for another construction industry 3d app. I also have a close friend who just finished a gig in the same line","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T08:51:39.000Z","created_at_i":1558169499,"id":19946400,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"Question, what is the job market like for someone who is good with graphics programming? I&#x27;m not the best at math but I have struggled my way through linear algebra enough that with some practice I think I could be good at graphics programming. It&#x27;d certainly be a nice change of pace from programming CRUD forms for businesses.","title":null,"type":"comment","url":null},{"author":"thecupisblue","children":[],"created_at":"2019-05-18T09:15:00.000Z","created_at_i":1558170900,"id":19946465,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"Jesus, this was a hit of nostalgia, back to my younger days when I&#x27;d download OpenGL tutorials on my 56k all night and dive into every line the next day. Thank you for this, got me peeking into it and remembering that 3D isn&#x27;t a scary thing.","title":null,"type":"comment","url":null},{"author":"Fission","children":[],"created_at":"2019-05-18T09:32:12.000Z","created_at_i":1558171932,"id":19946522,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"Three.js is insane, in a good way.  Great abstraction of WebGL, very user friendly, and surprisingly few things that it can&#x27;t do, as long as you&#x27;re willing to think up some workarounds if something you&#x27;re doing is super unique.","title":null,"type":"comment","url":null},{"author":"GordonS","children":[],"created_at":"2019-05-18T09:38:52.000Z","created_at_i":1558172332,"id":19946537,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"As someone new to three.js, and who hasn&#x27;t dabbled with 3D since the 90s, I found this really easy to follow - really good intro!","title":null,"type":"comment","url":null},{"author":"holoduke","children":[],"created_at":"2019-05-18T09:43:16.000Z","created_at_i":1558172596,"id":19946556,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"Can you actually generate lightmaps with three.js?\nI did a lot with it years ago. Really nice abstraction library.","title":null,"type":"comment","url":null},{"author":"enriquto","children":[],"created_at":"2019-05-18T12:31:27.000Z","created_at_i":1558182687,"id":19947051,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"Why are the code examples on black over dark gray?  It is nearly unreadable.","title":null,"type":"comment","url":null},{"author":"1337krew","children":[{"author":"mlevental","children":[],"created_at":"2019-05-18T22:08:42.000Z","created_at_i":1558217322,"id":19950000,"options":[],"parent_id":19947151,"points":null,"story_id":19944990,"text":"I spent a nontrivial amount of time fiddling with arjs a couple of years ago so I know how disorganized that codebase is. congrats on wrestling it down but I&#x27;m curious why? what did you end up using the marker recognition for? I was trying to build a product around but ultimately decided that the markers are simply too awkward.","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T12:58:52.000Z","created_at_i":1558184332,"id":19947151,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"For anyone interested I modernised the Three.js part of the marker based augmented reality library AR.js into a separate library called THREE AR. You can see it here <a href=\"https:&#x2F;&#x2F;github.com&#x2F;JamesMilnerUK&#x2F;THREEAR\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;JamesMilnerUK&#x2F;THREEAR</a>","title":null,"type":"comment","url":null},{"author":"cocoa19","children":[{"author":"_def","children":[{"author":"dahart","children":[],"created_at":"2019-05-18T15:42:46.000Z","created_at_i":1558194166,"id":19948014,"options":[],"parent_id":19947732,"points":null,"story_id":19944990,"text":"I think this page might be defaulting to a pixel ratio of 1. On mobile and high-dpi devices, that automatically makes the rendering appear much more aliased, in return for much faster rendering and much less memory usage.","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T14:56:18.000Z","created_at_i":1558191378,"id":19947732,"options":[],"parent_id":19947358,"points":null,"story_id":19944990,"text":"That is called aliasing. Three.js defaults to it, but you can turn antialiasing on by passing the option to the WebGLRenderer. I added it here to the example, line 10: <a href=\"https:&#x2F;&#x2F;codepen.io&#x2F;anon&#x2F;pen&#x2F;XwgGrW\" rel=\"nofollow\">https:&#x2F;&#x2F;codepen.io&#x2F;anon&#x2F;pen&#x2F;XwgGrW</a>","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T13:48:22.000Z","created_at_i":1558187302,"id":19947358,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"On the rotating cubes, why are the borders showing up as sawed rather than straight lines?<p>Thanks for the tutorial.","title":null,"type":"comment","url":null},{"author":"ezekg","children":[{"author":"arispen","children":[{"author":"ezekg","children":[],"created_at":"2019-05-20T15:08:49.000Z","created_at_i":1558364929,"id":19961102,"options":[],"parent_id":19960080,"points":null,"story_id":19944990,"text":"It&#x27;s possible, sure, but websockets still use TCP. TCP is not suitable for most online gaming due to TCP retrying lost packets and generally being slower, unlike UDP.","title":null,"type":"comment","url":null}],"created_at":"2019-05-20T13:26:05.000Z","created_at_i":1558358765,"id":19960080,"options":[],"parent_id":19948246,"points":null,"story_id":19944990,"text":"how about using web sockets?","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T16:24:13.000Z","created_at_i":1558196653,"id":19948246,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"I love Three.js, but without UDP support in the browser, making most multiplayer games with it is just not feasible yet, sadly.","title":null,"type":"comment","url":null},{"author":"sam0x17","children":[{"author":"thrower123","children":[{"author":"sam0x17","children":[],"created_at":"2019-05-19T08:10:35.000Z","created_at_i":1558253435,"id":19952136,"options":[],"parent_id":19951318,"points":null,"story_id":19944990,"text":"Yeah it&#x27;s nuts. I&#x27;ve literally written an obj loader in opengl before staying up all night one night for a graphics assignment when I was in college, and yet it took me a week to get three.js to load an obj.","title":null,"type":"comment","url":null}],"created_at":"2019-05-19T03:49:37.000Z","created_at_i":1558237777,"id":19951318,"options":[],"parent_id":19951282,"points":null,"story_id":19944990,"text":"This is a sadly common failing of many of the popular graphics libraries.<p>DirectX 9 and XNA were quite nice to work in, because they had model-loading code baked right in, albeit you had to use .x or .xnbs. Later versions took out that D3DX support, and you have to integrate something third-party like Assimp.","title":null,"type":"comment","url":null}],"created_at":"2019-05-19T03:37:15.000Z","created_at_i":1558237035,"id":19951282,"options":[],"parent_id":19944990,"points":null,"story_id":19944990,"text":"I was super excited to use Three.js and thought it would be easy to do what I wanted to do. What I wanted to do was load a simple .obj model and display it. Easy this was not. Hopefully someday they will merge in obj support from their demos code section to actually be part of the main Three.js code :&#x2F;","title":null,"type":"comment","url":null}],"created_at":"2019-05-18T01:14:48.000Z","created_at_i":1558142088,"id":19944990,"options":[],"parent_id":null,"points":365,"story_id":19944990,"text":null,"title":"Three.js Fundamentals","type":"story","url":"https://threejsfundamentals.org/threejs/lessons/threejs-fundamentals.html"}
