6 ms·
There is code if you go to packages/webxr. I only have code for the browser (functional but needs perf improvments) and terminal (should be done in a few weeks)
by manuisin 6y ago
There is code if you go to packages/webxr. I only have code for the browser (functional but needs perf improvments) and terminal (should be done in a few weeks).
Oh dude, thank you, I was aware of your project 6ish months ago (there's only like 3-4 canvas text editors so I try to follow them all, most are abandoned though) but what you're doing now fits perfectly with what I'm looking for. Thank you, I'll make sure to use it in v0.1. I couldn't get the webgl demo working though. https://github.com/capnmidnight/Primrose/blob/master/demo3d.js https://github.com/capnmidnight/Primrose/blob/master/demo3d.... returns a 404.
But my long term goal is to actually 3d render the text completely using SDF or MSDF techniques.
- moron4hire 6y agoOh, I must have moved the code and forgot to update the README. That file is here https://github.com/capnmidnight/Primrose/blob/master/js/demo3d.js https://github.com/capnmidnight/Primrose/blob/master/js/demo... You can see it running, sans webxr here: https://www.primrosevr.com/demo3d.html https://www.primrosevr.com/demo3d.html SDF came up as an issue. It's not straight forward: https://github.com/capnmidnight/Primrose/issues/162 https://github.com/capnmidnight/Primrose/issues/162
- manuisin 6y agoNice thanks (I previously opened it in Safari and assumed it was broken). SDF would definitely be tricky, but like I want to ideally render text in 3d space without having a mesh in between. I do realise optimising an approach like that would be extremely hard but in terms of UX, it'd be better than anything possible with meshes and enable a few interesting possibilities. Just going from your username, if you're actually available, I'd love to hire you for a bit of your help/expertise on my project. Like I'd like to render Primrose with a transparent/translucent background without the text being constrained inside a height limited viewport (render all lines at once) and implement scrolling on the mesh itself (also improve scrolling performance), and just support all keyboard + mouse shortcuts. My email is me@manuis.in, please message me there if you're interested.
- moron4hire 6y agoLOL, I created my account 11 years ago. I have a job I really like now.
- manuisin 6y agoThought so. But even so, I'd love to get advice from you regarding the points I raised above.