Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluid.jit.plotter update - full parity with fluid.plotter #417

Open
wants to merge 77 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
004a096
add basic fluid.jit.plotter abstraction
balintlaczko Jul 4, 2023
97cedd3
changed interface to "refer" and more efficient ds loading via patche…
balintlaczko Jul 4, 2023
3995f72
handle bpatcher resizing
balintlaczko Jul 4, 2023
c8699dc
add force square aspect ratio
balintlaczko Jul 4, 2023
36d1acb
make mousing work with any size
balintlaczko Jul 4, 2023
7130c0d
implement xrange, yrange, and range messages
balintlaczko Jul 4, 2023
4601d6b
add color-matching highlighted points, rename resize pworld script
balintlaczko Jul 28, 2023
6084fd2
use fluid.dataset refer method instead of caveman-style, implement de…
balintlaczko Jul 30, 2023
e874973
change labelset interface to refer
balintlaczko Jul 30, 2023
59d3583
implement click'n'drag, remove unused
balintlaczko Jul 31, 2023
350e87d
remove clipping from mesh vertex scaling
balintlaczko Jul 31, 2023
8a8d4f0
report zoomxrange zoomyrange
balintlaczko Jul 31, 2023
34f3ffe
fix vertex array and color array size mismatch
balintlaczko Jul 31, 2023
bddc586
remove junk
balintlaczko Jul 31, 2023
95ffacb
enable fsaa on jit.pworld
balintlaczko Aug 1, 2023
1ec13a7
massive cleanup
balintlaczko Aug 1, 2023
830e8bd
add init txt
balintlaczko Aug 2, 2023
a2533f0
add ref xml, add seealso to fluid.plotter
balintlaczko Aug 2, 2023
3ef5a91
fix wrong label colors (mixing buf samps w ds ids)
balintlaczko Aug 2, 2023
ccd67c8
add missing bgcolor method
balintlaczko Aug 3, 2023
d596621
hide highlighted mesh upon refer dataset
balintlaczko Aug 3, 2023
49d0b75
fix retaining colors from prev ds when ds changes/updates
balintlaczko Aug 10, 2023
7fa8839
just some patching
balintlaczko Aug 10, 2023
b5944bb
fix busted zoom rect when opt/alt lifted before trigger zoom
balintlaczko Aug 10, 2023
293551c
fix rogue highlight after zoom
balintlaczko Aug 14, 2023
99d0b1b
fix range not resetting upon refer
balintlaczko Aug 14, 2023
88507bd
implement colorscheme message
balintlaczko Aug 14, 2023
f0469df
pass unmatched messages on the right to the left
balintlaczko Aug 14, 2023
53c6143
fix not updating highlighted point colors when changing colorscheme
balintlaczko Aug 14, 2023
23d0541
start resize polling upon creation to avoid weirdnesses
balintlaczko Aug 14, 2023
feab2d8
add help patcher
balintlaczko Aug 14, 2023
42825e4
small text change
balintlaczko Aug 14, 2023
214a1df
save on built-in screen lol
balintlaczko Aug 14, 2023
7205885
add fluid.jit.plotter to overview
balintlaczko Aug 14, 2023
671cb48
minor positioning stuff in help
balintlaczko Aug 14, 2023
7e6fd5a
support dictionary message for datasets (left inlet)
balintlaczko Aug 14, 2023
89b2d6c
implement clear and reset (alias to refer w no args)
balintlaczko Aug 14, 2023
2c98a2e
fix style mismatch in help
balintlaczko Aug 14, 2023
6e9a191
renamed js files
balintlaczko Aug 14, 2023
ec90666
remove "2017-2019" after copyright from refs
balintlaczko Aug 14, 2023
1e9d677
changed digest in ref
balintlaczko Aug 14, 2023
894dba9
resizing help jsui after changing ref
balintlaczko Aug 14, 2023
326e6b8
save on local screen to avoid pain lolz
balintlaczko Aug 15, 2023
9bab364
fix comment grammar
balintlaczko Aug 15, 2023
4355dc9
add panning mousing mode
balintlaczko Aug 31, 2023
159dab3
fix rouge highlight once when transitioning from panning to zooming
balintlaczko Aug 31, 2023
2356c34
document panning mode in help
balintlaczko Aug 31, 2023
692eaea
add panfactor method to doc xml
balintlaczko Aug 31, 2023
5f8cf3b
fix comment
balintlaczko Aug 31, 2023
7463f6f
add [p ?] to both fluid.plotter and fluid.jit.plotter helps
balintlaczko Sep 5, 2023
2cbce02
add dump example to help, document clear and reset
balintlaczko Sep 5, 2023
f15371a
add large dataset tab to fluid.plotter
balintlaczko Sep 5, 2023
d862266
avoid pop-up [p ?] subpatch on Windows
balintlaczko Sep 5, 2023
f2bf2f6
Merge branch 'main' into main
balintlaczko Sep 5, 2023
1692401
better comments in fluid.plotter help
balintlaczko Sep 5, 2023
49cde50
Merge branch 'main' of https://github.com/balintlaczko/flucoma-max
balintlaczko Sep 5, 2023
48f5f5f
use 100K points in the "large datasets" tab of fluid.plotter
balintlaczko Sep 5, 2023
7ae9231
decouple patching/pres mode position
balintlaczko Apr 10, 2024
9811af7
add colormatrix support
balintlaczko Apr 10, 2024
83eb7f6
Merge branch 'main' of https://github.com/balintlaczko/flucoma-max
balintlaczko Apr 10, 2024
bab697f
minor positioning
balintlaczko Apr 10, 2024
0f68a47
decouple patching/pres mode position
balintlaczko Apr 10, 2024
d2f3f27
add colormatrix support
balintlaczko Apr 10, 2024
a43f653
don't open ? upon help load
balintlaczko Apr 10, 2024
e69faf2
remove colormatrix, implement pointcolor instead
balintlaczko Apr 10, 2024
1763687
add pointcolor example
balintlaczko Apr 10, 2024
a94bca3
change comment about jit.plotter
balintlaczko Apr 10, 2024
9bc74fc
add pointcolor to ref
balintlaczko Apr 10, 2024
9ffe348
use jit.gl.render, partially implement setpoint
balintlaczko Apr 13, 2024
0651204
add missing init to dataset_name
balintlaczko Apr 13, 2024
adc4f05
fix setpoint bugs
balintlaczko Apr 13, 2024
6649974
implement individual pointsize, align interface w fluid.plotter
balintlaczko Apr 15, 2024
52da95c
update help to use new interface
balintlaczko Apr 15, 2024
2104fbb
fix/remove comments use qlim
balintlaczko Apr 15, 2024
df28511
update reference
balintlaczko Apr 15, 2024
ef89295
fix using old js script in repo, add retina screen compensation
balintlaczko Apr 16, 2024
76afb35
better handling of retina screens, force square AR of plot not bpatcher
balintlaczko Sep 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions code/fluid.jit.plotter.mesh.render.jxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<jittershader name="custom.point.size">
<param name="Pointsize" type="float" state="VERTEX_ATTR" />
<param name="shape" type="int" default="0" />

<language name="glsl" version="1.0">
<bind param="Pointsize" program="vp" />
<bind param="shape" program="fp" />
<program name="vp" type="vertex">
<![CDATA[

attribute float Pointsize;

varying vec4 Color;

void main()
{
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
gl_PointSize = Pointsize;
Color = gl_Color;
}
]]>
</program>
<program name="fp" type="fragment">
<![CDATA[

varying vec4 Color;
uniform int shape;

void main()
{
gl_FragColor = Color;
// draw a circle if shape is 0
if(shape == 0 && length(gl_PointCoord-0.5) >= 0.5) discard;
}

]]>
</program>
</language>
</jittershader>
Loading