Hi All
release of some polished code for the M. Benesi Spray Gun feature in Fragmentarium, everything seems to be working smoothly
some enhancements to the standard stuff...
Shift+Tilde resets the target to look through 0,0,0
Shift+LMB rotate around 0,0,0
Alt+Shift+LMB rotates around target
MMB centers screen @ click,
that's a wheel click when DepthToAlpha is checked this puts target at surface where you MMB click, this makes setting up AutoFocus much easier
Controls for the spray gun... ( clicking and dragging on the fractal object )
CTRL+LMB increments the index, recording push
CTRL+ALT+LMB increments the index, recording pull ( ALT changes the sign of the feedback strength )
CTRL+Shift+LMB decrements the index, erasing
CTRL+Shift+ALT+LMB clears the array
you will need the latest package that suits your setup from my
websiteEDIT: v1.0.20 compiled with MinGW 4.9.1 and Qt 5.4.2 may not work with MinGW 4.8.2 and Qt 5.3.2 DLLs
It comes in a few different flavours,
exe only, if you already have a recent version, just drop the exe of your choice into your Fragmentarium working folder.
NODLLs, if you want the Examples/, fqscript/ and Misc/ folders + win binaries, basically the whole thing but without the Qt 5.3.2 DLLs
and the full package, has everything
You will also need M. Benesi's fragments that use the new mouse feedback arrays, all other frag files should also work fine with this version too.
I am genuinely excited to see what might be created with this new tool, I've only been testing as I write the code so I'm not fully versed regarding all of the possibilities, I hope I've done my part well and that you find this easy to use. Further refinement will be in updated frag code and hopefully a tutorial from M. Benesi.
caveats: in fragment code
DepthToAlpha must be checked or we get wrong values
feedback[] is changed to
feedbackcrds[] makes sense? feedbackcountmax is changed to
feedbackcount as it's the current count not the maximum count all of these uniforms
must exist in the fragment code or Fragmentarium will not recognize this as a "Feedback Enabled" fragment...
vec3 feedbackcrds[102];
vec4 feedbackcontrol1[102];
vec4 feedbackcontrol2[102];
vec4 feedbackrotation[102];
int feedbackcount;
int ApplyOnIteration
int FormulaType
int ApplicationType
float FeedbackRadius
float FeedbackStrength
float FeedbackVariable1
float FeedbackVariable2
float FeedbackVariable3
Vector3f FBRotVector
float FBRotAngle
int FeedBackCutOff
if these are not in the fragment code it won't work or may crash
other (normal non-feedback) fragments will work fine but when playing with feedback all are required
you can also Save and Load (under "File" menu) the feedback data as
<name>.fdbk , this is a flat text file so you can recreate or share these manipulations
and HUGE! HUGE! thanks to M. Benesi for the crazy math lessons and awesome ideas, he did the hard stuff I just helped patch it in