Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | GraphUI Demos: Remove unused GPUUISceneTextAnim01 | Sven Gothel | 2023-03-28 | 1 | -303/+0 | |
| | ||||||
* | Graph FontScale: Simplify names, fix API doc and add unit test | Sven Gothel | 2023-03-28 | 11 | -36/+173 | |
| | ||||||
* | Graph Font: Rename getBBox*() -> getBounds*() to preserve a common semantic name | Sven Gothel | 2023-03-27 | 6 | -17/+17 | |
| | ||||||
* | Graph: Fix Font.getGlyphBoundsFU(): FU of advance is requested here. | Sven Gothel | 2023-03-27 | 1 | -1/+1 | |
| | | | | Regression from commit a5d593478afa2298282a0624b2490fde84c3a292 | |||||
* | Quaternion: Shorten toString() type name | Sven Gothel | 2023-03-27 | 1 | -1/+2 | |
| | ||||||
* | GraphUI Demos: (Text) Type Animation ... | Sven Gothel | 2023-03-22 | 2 | -0/+697 | |
| | ||||||
* | UISceneDemo0[01]: Useless minor editing (can't move animator lower as sadly ↵ | Sven Gothel | 2023-03-22 | 2 | -2/+1 | |
| | | | | used in our window dtor event handler) | |||||
* | Add Vec2f and Vec3f, to support a more simple OO vector-math usage, e.g. for ↵ | Sven Gothel | 2023-03-22 | 2 | -0/+528 | |
| | | | | | | | | animation etc Implementation borrowed my 'gfxbox2' C++ project <https://jausoft.com/cgit/cs_class/gfxbox2.git/tree/include/pixel/pixel3f.hpp#n29> and its layout from OpenAL's Vec3f. | |||||
* | Graph: Remove OutlineShape.Visitor* as being replaced by Font.GlyphVisitor | Sven Gothel | 2023-03-22 | 2 | -24/+1 | |
| | | | | (We may ressurect them if needed for a future use case) | |||||
* | Graph Font Processing: Use Font.GlyphVisitor instead of ↵ | Sven Gothel | 2023-03-22 | 7 | -35/+90 | |
| | | | | OutlineShape.Visitor, allowing to use the Glyph (information). | |||||
* | Graph Font Processing: Produce a 'whitespace' Glyph w/ an OutlineShape (box) ↵ | Sven Gothel | 2023-03-22 | 3 | -5/+76 | |
| | | | | to allow better handling of such non-contour symbols. | |||||
* | GraphUI Demos: Adopt to shapesSharpness -> oshapesSharpness rename | Sven Gothel | 2023-03-22 | 7 | -7/+7 | |
| | ||||||
* | GraphUI Shape: Make access private where possible & reasonable, synchronize ↵ | Sven Gothel | 2023-03-22 | 6 | -42/+55 | |
| | | | | dirty and in draw(..) the whole dirty-validate() region.draw() | |||||
* | GraphUI Scene: getStatusText(..) drop unset values, be more semantic ↵ | Sven Gothel | 2023-03-22 | 1 | -5/+19 | |
| | | | | sensitive (msaa -> smsaa) | |||||
* | GraphUI Scene: Add removeShape*(GL2ES2..) variant w/ their destruction for ↵ | Sven Gothel | 2023-03-22 | 1 | -4/+18 | |
| | | | | convenience | |||||
* | GraphUI Scene: Add optional frustum culling (default: disabled) | Sven Gothel | 2023-03-22 | 1 | -13/+23 | |
| | ||||||
* | GraphUI Shape.setTransform(): Remove 'wiggling' w/ origin, text issue came ↵ | Sven Gothel | 2023-03-21 | 1 | -12/+4 | |
| | | | | | | from Scene.PMVMatrixSetup bug, all shapes resize fine now. Scene.PMVMatrixSetup bug missed modelview initialition before gluUnProject(), fixed in commit 74e11bd9a49f61e49d3c73c4f9b87b4fb7fbaaf3. | |||||
* | GraphUI: Fix Scene.PMVMatrixSetup impl: Setup modelview before using ↵ | Sven Gothel | 2023-03-21 | 3 | -6/+12 | |
| | | | | setPlanBox(..)'s gluUnProject(..) | |||||
* | GraphUI Scene: Move reshape() below init from in-between display() impls | Sven Gothel | 2023-03-21 | 1 | -19/+19 | |
| | ||||||
* | GraphUI UISceneDemo20: Consolidate the actual implementation and main ↵ | Sven Gothel | 2023-03-21 | 4 | -229/+197 | |
| | | | | launcher to our new UISceneDemo naming series | |||||
* | GraphUI UISceneDemo*: Stop animation loop if window got destroyed | Sven Gothel | 2023-03-21 | 2 | -4/+4 | |
| | ||||||
* | NEWTEvent*.getEventTypeString(): Like MouseEvent, drop redundant leading ↵ | Sven Gothel | 2023-03-21 | 3 | -11/+11 | |
| | | | | type in returned string | |||||
* | GraphUI UISceneDemo*: Add windowResized() callback to update window title ↵ | Sven Gothel | 2023-03-21 | 3 | -5/+12 | |
| | | | | showing current surfaceSize | |||||
* | GraphUI UISceneDemo*: Use lambdas for GLAutoDrawable.invoke(..) to reduce LOC | Sven Gothel | 2023-03-21 | 3 | -12/+13 | |
| | | | | GLAutoDrawable.invoke(..) API doc: Add semantics about GLRunnable return value. | |||||
* | Graph: Cleanup Vertex.Factory referencing: Only bind to OutlineShape and use ↵ | Sven Gothel | 2023-03-21 | 34 | -225/+142 | |
| | | | | | | | its default. GraphUI: Always use default. Graph RegionRenderer, its RenderState as well as GraphUI's Scene don't need to have knowledge of Vertex.Factory, which is only used within OutlineShape and its 'inner geom workings'. | |||||
* | GraphUI Shape/Label: Allow validate(..) w/o current GL context, used by e.g. ↵ | Sven Gothel | 2023-03-20 | 2 | -13/+76 | |
| | | | | | | Label.setText(..) and getBounds(), preparations for more animation. Hence Shape.validate(..) is now synchronized, avoiding parallel resource modding from render- and other animating thread. | |||||
* | GraphUI Shape: Provide empty default implementation for clearImpl() and ↵ | Sven Gothel | 2023-03-20 | 10 | -74/+4 | |
| | | | | destroyImpl() | |||||
* | GraphUI Scene: Add getDefaultVertexFactory(), fix getRenderState() API doc ↵ | Sven Gothel | 2023-03-20 | 1 | -2/+6 | |
| | | | | (can't be null) | |||||
* | GLArrayDataClient: Allow null buffer @ growIfNeeded(), removed from commit ↵ | Sven Gothel | 2023-03-20 | 1 | -20/+1 | |
| | | | | | | 90a95e6f689b479f3c3ae3caf4e30447030c7682 A null buffer is possible in case initialElementCount at ctor is <= 0 | |||||
* | Rename UISceneDemo{02->10} | Sven Gothel | 2023-03-20 | 1 | -2/+2 | |
| | ||||||
* | GraphUI Label: Fix naming semantics: 'pixelScale' -> 'fontScale', i.e. ↵ | Sven Gothel | 2023-03-20 | 1 | -13/+33 | |
| | | | | font-scale factor, by which the em-sized type glyphs shall be scaled | |||||
* | GraphUI Demos: Bring back GPUUISceneGLListener0A .. | Sven Gothel | 2023-03-20 | 1 | -71/+104 | |
| | | | | | | | | | | | | | | | | | | | | - Contrary to UISceneDemo0[01], here we - Call the Scene GLEventListener methods manually - Issue glClear* ourselves - Using own PMVMatrixSetup - gluPerspective like Scene's default - no normal scale to 1, keep distance to near plane for rotation effects. We scale Shapes - translate origin to bottom-left - Scale Button not by screen-size but Scene.getBounds() dimension, hence issue setupUI() from reshape() and not from init() - GLButton: Using additional view-rotation like UISceneDemo01 - Multi-line text labels resize issues are - Supposed sticky-edge is moving (Sticky-edge are the opposites of the picked drag point) | |||||
* | GraphUI UISceneDemo01: Stop rotating animation if GLButton animation is ↵ | Sven Gothel | 2023-03-20 | 1 | -22/+22 | |
| | | | | toggled off | |||||
* | GraphUI Scene: Add [add|remove]Shapes(Collection) .. for convenience | Sven Gothel | 2023-03-20 | 1 | -0/+7 | |
| | ||||||
* | GraphUI Shape.setTransform(): Fix center semantics (half size) and consider ↵ | Sven Gothel | 2023-03-20 | 1 | -3/+18 | |
| | | | | origin (resolves multi-line text resize issues) | |||||
* | GraphUI Scene: Move GLEventListener implementations reshape() and dispose() ↵ | Sven Gothel | 2023-03-20 | 1 | -48/+48 | |
| | | | | to the others, init(), display(). Ease review. | |||||
* | GraphUI MediaButton: Only mark region dirty if already exists | Sven Gothel | 2023-03-20 | 1 | -1/+3 | |
| | ||||||
* | UISceneDemo02: The 'dirty' variant w/ listener (printf) attached | Sven Gothel | 2023-03-20 | 1 | -250/+85 | |
| | ||||||
* | UISceneDemo01: Use GLButton shape w/ animating and rotating gears and set up ↵ | Sven Gothel | 2023-03-20 | 1 | -180/+150 | |
| | | | | an own Scene.PMVMatrixSetup with a plane dimension of 100 | |||||
* | GraphUI Default Scene.PMVMatrixSetup: Scale (back) projection to have ↵ | Sven Gothel | 2023-03-20 | 2 | -16/+59 | |
| | | | | normalized plane dimensions, 1 for the greater of width and height | |||||
* | GraphUI Scene: Be quiet | Sven Gothel | 2023-03-20 | 1 | -2/+0 | |
| | ||||||
* | GraphUI GLButton: Add missing destroyImpl(..) to destroy the ImageSequence ↵ | Sven Gothel | 2023-03-20 | 1 | -0/+6 | |
| | | | | and FBO-GLAD | |||||
* | Demos GearsES2: Expose view rotation vars and listener | Sven Gothel | 2023-03-20 | 1 | -1/+14 | |
| | ||||||
* | GLOffscreenAutoDrawable: Remove unused import | Sven Gothel | 2023-03-20 | 1 | -2/+0 | |
| | ||||||
* | Add FloatUtil.isZero(float) using FloatUtil.EPSILON | Sven Gothel | 2023-03-20 | 1 | -0/+8 | |
| | ||||||
* | Demo MovieSimple: Default to useOrigScale=false, enable @ main w/ -orig_scale | Sven Gothel | 2023-03-19 | 1 | -4/+4 | |
| | ||||||
* | GraphUI: Add UISceneDemo00 for linear animation in one main function; ↵ | Sven Gothel | 2023-03-19 | 3 | -46/+259 | |
| | | | | UISceneDemo01 simply provides shape drag-move and -resize | |||||
* | GraphUI Shape win<->obj/shape mapping: Return actual int[] or float[] result ↵ | Sven Gothel | 2023-03-19 | 8 | -120/+152 | |
| | | | | or null on error instead of boolean to easy API usage | |||||
* | GraphUI UISceneDemo01: Fix disposal, use windowDestroyed() WindowListener to ↵ | Sven Gothel | 2023-03-19 | 1 | -2/+1 | |
| | | | | stop animator | |||||
* | GraphUI UISceneDemo01: Res independent Shape, in Scene attached to GLWindow ↵ | Sven Gothel | 2023-03-19 | 1 | -19/+14 | |
| | | | | showing simple linear Shape movement w/ listener attached |