Jason Johnston

2.4K posts

Jason Johnston banner
Jason Johnston

Jason Johnston

@lojjic

UI and dataviz engineer, focused on immersive 3D and XR on the web. Works at @matterport. Creator of the Troika JS framework. Classical pianist.

Denver, Colorado, USA Katılım Haziran 2007
585 Takip Edilen1.1K Takipçiler
Jason Johnston
Jason Johnston@lojjic·
@BenKorody That screenshot was just a string of text including multiple languages, and the (undocumented) colorRanges property #L249-L258" target="_blank" rel="nofollow noopener">github.com/protectwise/tr…
English
1
0
1
33
Ben Korody
Ben Korody@BenKorody·
@lojjic That’s great to hear; I’m a little lost though. Where could I find the example in the screenshot above? Doesn’t seem to be in the example folder. Would this be possible with the R3F hook or do I need to use the lib directly?
English
1
0
0
26
Jason Johnston
Jason Johnston@lojjic·
Coming soon to troika-three-text.
Jason Johnston tweet media
English
2
0
8
466
Jason Johnston
Jason Johnston@lojjic·
@BenKorody The multi-language support has been out for a while. Bold/italic/size/multi-font is technically supported in the low-level code, but mostly just needs an API for how to define it. Feel free to contribute to the conversation here! github.com/protectwise/tr…
English
1
0
1
47
Ben Korody
Ben Korody@BenKorody·
@lojjic Any update on this? Omg please I just want bold and italic text in my paragraph.
English
1
0
0
29
Jason Johnston
Jason Johnston@lojjic·
@onirenaud Many thanks! I'd worked around it in a troika-three-text 0.50.3 patch, but this will unbreak older versions. 🙏
English
1
0
2
126
Renaud
Renaud@onirenaud·
Some libraries relying on Three.js broke in r170 due to the type property of some materials being overridden, despite docs saying it shouldn’t be changed. Possible solution found to support node material tree-shaking while keeping backward compatibility: github.com/mrdoob/three.j…
English
3
3
13
8.7K
Garrett Johnson
Garrett Johnson@garrettkjohnson·
Can people who have used/are using 3DTilesRendererJS for #threejs share their usecases & any screenshots or demos if you can? I'd like to share how the library has benefitted other applications with NASA JPL to help bolster the case for some more open source work #3dtiles #gis
Garrett Johnson tweet mediaGarrett Johnson tweet mediaGarrett Johnson tweet media
English
9
10
55
6.9K
Jason Johnston
Jason Johnston@lojjic·
@garrettkjohnson @Matterport Oh I just mean we'd have a lot of close meshes that either weren't visible, or whose bboxes were closer than their visible faces, and we wanted to downgrade those. We do randomized raycasting across the viewport and collect mesh face hits, and use that to adjust error targets.
English
0
0
2
86
Garrett Johnson
Garrett Johnson@garrettkjohnson·
@lojjic @Matterport Amazing! What do you mean by too aggressive? And do you have any more details on how you're performing occlusion culling? This is cool to see, thanks!
English
1
0
0
114
Jason Johnston
Jason Johnston@lojjic·
@garrettkjohnson @Matterport Interior spaces w/ lots of bbox overlap/occlusion posed some challenges; the default distance-based error calculation was too aggressive so we coupled it w/ occlusion testing, and added texture LODs onto the high mesh LODs. We found it extensible enough to bend to our needs. 😀
English
1
0
2
104
Jason Johnston retweetledi
Felix Martinez
Felix Martinez@Sirokos·
Some work in progress with Troika text renderer for #threejs and a custom (shader-based) fluid solver.
English
11
49
625
31.3K
Jason Johnston
Jason Johnston@lojjic·
@onirenaud Nice, could any part of this make its way back into troika-three-text?
English
0
0
2
80
Renaud
Renaud@onirenaud·
Working on a High Quality Text Rendering in WebGPU with threejs nodes. ✍️ It uses webgl-sdf-generator by @lojjic for the Signed Distance Field generation. 😊
English
5
13
204
10.6K
Jason Johnston
Jason Johnston@lojjic·
@Gaurav_D_Kale @AshConnell @threejs +1 - There's LOTS of room for draw call optimization going forward too - bg elements can be instanced per layer (e.g. #L31-L32" target="_blank" rel="nofollow noopener">github.com/protectwise/tr…). And text instances could be batched too (it's on my list). I agree focusing on DX and optimizing later is a smart approach. 😎
English
1
0
2
48
Jason Johnston retweetledi
Hemant Mehta
Hemant Mehta@hemantmehta·
Crossword Reddit is having a day.
Hemant Mehta tweet media
English
7
15
211
8.5K
Jason Johnston retweetledi
Myq (Parenthetical) Kaplan
okay, so you're definitely the best at keeping your body completely still, what do you want, atrophy?
English
5
72
240
0
Jason Johnston
Jason Johnston@lojjic·
My 11-year-old son's hand span on the piano is now exactly as wide as mine. He's going to have a solid 10th when he's older and I'm going to be insanely jealous.
English
0
0
2
314
Google Fi Wireless
Google Fi Wireless@googlefi·
Name a better feeling than unboxing a new phone…
English
51
5
61
16.2K