aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/AnimGroup.java
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-01-15 04:47:34 +0100
committerSven Göthel <[email protected]>2024-01-15 04:47:34 +0100
commitd7cb4a77b71cb3703ff7ac0667c5a97f29a5bdb4 (patch)
tree17cb67b7867f0da11a2717492d691a5e96f52636 /src/graphui/classes/com/jogamp/graph/ui/AnimGroup.java
parent9b8d1825cfb76454e42b196a93dc54d189a8a9a6 (diff)
Graph/GraphUI AA-Quality (shader): Region: Add DEFAULT_AA_QUALITY and clipping funs for aaQuality/sampleCount; TextRegionUtil: Pass quality parameter in draw-functions
Region.DEFAULT_AA_QUALITY defaults to MAX_AA_QUALITY still - TODO: AA shader is subject to change .. Region.draw(..) clips the quality param (save) TextRegionUtil: Pass quality parameter in draw-functions - Allowing to select the AA shader GraphUI Scene and some demos add the AA-quality param to the status line or screenshot-filename. - See Region.getRenderModeString(..) +++ TestTextRendererNEWT20 and TestTextRendererNEWT21 now iterate through all fonts, AA-quality shader and sample-sizes. Most demos and some more tests take AA-quality into acount, demos via CommandlineOptions.graphAAQuality
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/AnimGroup.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/AnimGroup.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/AnimGroup.java b/src/graphui/classes/com/jogamp/graph/ui/AnimGroup.java
index f28c8984e..2c733f1fc 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/AnimGroup.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/AnimGroup.java
@@ -383,7 +383,7 @@ public class AnimGroup extends Group {
{
refShape.setTransformMv(pmv);
as = new Set(pixPerMM, refShape.getPixelPerShapeUnit(pmv, viewport, new float[2]), refShape,
- accel, velocity, ang_accel, ang_velo, allShapes, sourceBounds, lerp);
+ accel, velocity, ang_accel, ang_velo, allShapes, sourceBounds, lerp);
}
pmv.popMv();
}
@@ -448,10 +448,10 @@ public class AnimGroup extends Group {
* @return newly created and added {@link Set}
*/
public final Set addGlyphSetRandom01(final float pixPerMM,
- final GLProfile glp, final PMVMatrix4f pmv, final Recti viewport, final int renderModes,
- final Font font, final CharSequence text, final float fontScale, final Vec4f fgCol,
- final float accel, final float velocity, final float ang_accel, final float ang_velo,
- final AABBox animBox, final boolean z_only, final Random random, final LerpFunc lerp)
+ final GLProfile glp, final PMVMatrix4f pmv, final Recti viewport, final int renderModes,
+ final Font font, final CharSequence text, final float fontScale, final Vec4f fgCol,
+ final float accel, final float velocity, final float ang_accel, final float ang_velo,
+ final AABBox animBox, final boolean z_only, final Random random, final LerpFunc lerp)
{
return addGlyphSet(pixPerMM, glp, pmv, viewport, renderModes, font, 'X', text, fontScale,
accel, velocity, ang_accel, ang_velo, lerp, (final Set as, final int idx, final ShapeData sd) -> {