You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was sort of possible with voxel-webview, embedding an ordinary HTML textarea, but this is better — a text editor built to render to the WebGL canvas:
Much more importantly, in the WegGL context, the HTML Element will not be a part the scene and will not work with any depth buffering. Your text will always be a 2D element masquerading in a 3D world, never overlapping properly with other objects in the scene. You will have to duplicate all of your world and camera transformations from the WebGL context to CSS3 3D transforms[4]. And any form of stereo rendering will require you to keep a secondary HTML element in sync with the edits made in the primary element.
potential use cases include #27 signs, books, and in-world software development (even better with voxel/voxel-plugins#1)
Also intriguing, as an oldschool Unix hacker I like this better:
A text editor that runs within a voxel.js world
This was sort of possible with voxel-webview, embedding an ordinary HTML textarea, but this is better — a text editor built to render to the WebGL canvas:
https://www.primroseeditor.com/
https://github.com/capnmidnight/Primrose
for several reasons (especially for voxel-vr):
potential use cases include #27 signs, books, and in-world software development (even better with voxel/voxel-plugins#1)
Also intriguing, as an oldschool Unix hacker I like this better:
https://github.com/coolwanglu/vim.js Vim.js : JavaScript port of Vim
renders to an HTML5 canvas (2d context) — can it be reworked to render to a WebGL texture for 3d?
The text was updated successfully, but these errors were encountered: