» 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 | 71 downloads
notes: Adds color and render state pins

other/older revisions

Textbox (DX11) v2.zip - 13.03.17 [13:35 UTC] by tobyk | 9 downloads
notes: Spreadable version
Textbox (DX11) v1.zip - 12.03.17 [19:51 UTC] by tobyk | 16 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

~14h ago

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

~1d 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

~2d ago

joreg: removed one added 3: node17-workshops-announced vvvv #node17

~2d ago

drupal_admin: maintenance reboot in 2min. save your work. should be back in about 5mins.

~3d ago

polyrhythm: evvvvil what software you use for the 4kb? i'd like to try making a virgin prod :)

~4d ago

drehwurm: Nevermind... my fault.. had an old DX11 pack installed