4,623 reputation
21438
bio website
location
age
visits member for 3 years, 11 months
seen yesterday

1d
revised How can I compute the intersection of a capsule and a line segment?
The video clearly demonstrates the problem.
Dec
10
accepted why would you use textures that are not a power of 2?
Dec
9
awarded  Popular Question
Oct
28
awarded  Famous Question
Oct
5
awarded  Popular Question
Sep
13
awarded  Notable Question
Aug
21
awarded  Popular Question
Jul
2
awarded  Inquisitive
Jul
2
awarded  Curious
Jun
9
awarded  Popular Question
Jun
5
awarded  Good Question
Apr
23
awarded  Famous Question
Jan
21
comment How do I compute the point of a triangle-ray intersection?
@Anko kind of true, but on the other hand, cameras are not well approximated by a point if you want to avoid front plane clipping glitches; if you're doing true 3D movement in a 3D world, you end up having to do approximate something bigger than a point eventually.
Jan
21
answered How do I compute the point of a triangle-ray intersection?
Jan
21
comment How do I compute the point of a triangle-ray intersection?
Have you Googled "ray triangle intersection"? Ray will likely get more hits than vector, and there are lots of articles and sample code out there.
Dec
21
awarded  Yearling
Dec
17
accepted Can you have shader variables that vary per primitive?
Dec
17
comment Can you have shader variables that vary per primitive?
And while it doesn't work portably right now in webGL, instancing has started to appear on Chrome as an extension.
Dec
15
comment Dynamic Terrain Triangulation
@Vallentin it just occurred to me that in my video my cylinder has a lot of slices to make it really quite rounded, and I move it slowly through the other shape, splitting and splitting liberally. Both these contribute to why just my example over-splits. If you go to the csg.js page evanw.github.io/csg.js there's an interactive demo where you can see how messy simpler meshes get from single ops.
Dec
15
comment Dynamic Terrain Triangulation
@Vallentin not in csg.js, but CSG is a big subject. Once you've ported csg.js BSP approach and you have a correct working version, perhaps then you can profile it and decide if you want to run 'mesh decimation' and/or mesh smoothing passes after bangs or if you want to investigate faster CSG algorithms.