» Happy.fxh
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Happy.fxh

pack hlsl

about

Lots of HLSL functions in a (somewhat) systematic and organised collection of header files. I made these for use with my vvvv projects and contributions, but should be fairly usable with HLSL in general.

Headers.txt - just links to the fxh files in best practice format for easy copy pasting in vvvv context

sbuffer.fxh - DX11 Structured Buffer Helpers

calc.fxh - Calculus functions & macros

noise.fxh - Noise basis functions & utilities

map.fxh - Handy mapping functions

transform.fxh - Transformation matrix functions

sdf.fxh - loads of signed distance fields & helpers. Quite a lot are ported from hg_sdf GLSL lib by MERCURY (CC BY-NC 2016) http://mercury.sexy/hg_sdf

raymarch.fxh - Raymarching related functions

uv.fxh - UV and texture mapping functions

color.fxh - Color space conversions

spline.fxh - Some cubic b-splines

To install everything via VPM: https://vvvvpm.github.io/#Happy.fxh To install manually just place in /packs folder.
For more frequent updates, bug fixes and issue reporting: https://github.com/everyoneishappy/happy.fxh

MIT License- feel free to use in your creative & commercial projects. If used in production a credit is very appreciated:

Kyle McLean /http://everyoneishappy.com

I’m also very happy if you are doing something interesting and want to employ me on a project basis.

download

Happy.fxh_.zip
30.09.20 [03:12 UTC] by everyoneishappy | 312 downloads
Show 3 older revisions

Older Revisions

Happy.fxh_.zip
17.06.19 [09:08 UTC] by everyoneishappy | 563 downloads
50beta38.1
Happy.FXH_.zip
29.06.18 [12:45 UTC] by everyoneishappy | 974 downloads
Bugfixes
Happy.fxh_.zip
03.01.18 [08:01 UTC] by everyoneishappy | 974 downloads
1st upload

everyoneishappy 29/06/2018 - 11:46
  • Added 2D & 3D vector control parameters to vector valued Bias & Gain functions
  • Various bugfixes, including some inverted normals horror that was making problems elsewhere
sinus 18/06/2019 - 07:35

thank you! great!

everyoneishappy 30/09/2020 - 02:13

Updated along with InstanceNoodles and Fieldtrip for NODE

anonymous user login

Shoutbox

~16h ago

joreg: also there is this nuget which sounds like an option: https://www.nuget.org/packages/TidyNetstandard/

~16h ago

joreg: if basic format tyding is enough you can use the XML ToString in VL

~18h ago

mediadog: Thanks @joreg. I really miss Tidy (XML), use it to clean up weather station data for realtime displays, any recommendations?

~19h ago

joreg: @mediadog thanks for the pointer. fixed.

~2d ago

mediadog: Clicking on "Missing in 64 bit builds" goes to page with warning no longer maintained, but betadocs link has no such info.

~7d ago

nanotekt: VL.stride yet again ...this time nonphotorealistic https://youtu.be/_aALr2wcj0Y ...wish evvvveryone to be well!

~11d ago

nanotekt: a brief VL.stride study https://youtu.be/B2Nlz5VZ9lM ...and a massive 'thank you' to the devvvvs!

~6d ago

everyoneishappy: @overtones this would require 4D noise, which is possible but not implemented in Fieldtrip

~14d ago

overtones: Hi! SF2D has Time & DomainOffset inputs, but SF3D only DomainOffset. Is there a way to use Time in SF3D or it makes no sense? Thx

~17d ago

joreg: @SabrinaVerhage this could be useful for you next "hacking sex" workshop: https://buttplug.io they have a .NET nuget for use in vvvv!