» Textbox (DX11)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Textbox (DX11)

module dx11 GUI text
Credits: Requires DX11 pack by the talented Mr. Vux

about

I found DX11 text a bit hard to wrangle when making GUIs because text will resize when the renderer resizes.
So I made this hacky patch that undoes all of the text nodes internal logic and makes text live inside a quad transform regardless of renderer size or quad shape.

Now spreadable!
TransX bug fixed

Free/Open Source/Go Crazy
Made with DX11 v1.01 x64
and vvvv50beta35.2_x64

Limitations:
It works best in single line mode with short strings. There is a multi line mode but it's a bit unpredictable and will sometimes break its bounds.

download

Textbox (DX11) v3.zip - 13.03.17 [18:18 UTC] by tobyk | 72 downloads
notes: Adds color and render state pins

other/older revisions

Textbox (DX11) v2.zip - 13.03.17 [13:35 UTC] by tobyk | 10 downloads
notes: Spreadable version
Textbox (DX11) v1.zip - 12.03.17 [19:51 UTC] by tobyk | 17 downloads

microdee 13/03/2017 - 00:31

look at TextBlock (DX11) in mp.dx, it has similar stuff for quite some time now albeit it is not really advertised so well what's inside it.

tobyk 13/03/2017 - 14:38

@microdee I will check it out. I did do some initial searching for something similar before I made this but missed your contrib. Ah well, an educational exercise at least.

anonymous user login

Shoutbox

~16h ago

drehwurm: bäm @joreg. That's great!

~17h ago

drehwurm: Hey, it would be cool, if we could pass a startup-argument to the patch, to create our own startup args.

~2d ago

manuel: anyone ussing orbecc camera ?

~2d ago

anchnk: Feel free to dm me on twitter,slack,gitter,wherever as anchnk :)

~2d ago

anchnk: Me, any art rec in Berlin next week for an old vvvv user ? Would be great to meet as well. I did the vvvv/max/msp workshop at node08

~3d ago

polyrhythm: sweet, thanks! i figured i'd be doing c++ with a 4kb

~4d ago

evvvvil: @polyrhythm: No software, pure C++ and GLSL. IQ's 4kb framework does help, but get your text coding gloves on. http://www.iquilezles.org/code/isystem1k4k/isystem1k4k.htm