Commit Graph

48 Commits

Author SHA1 Message Date
Edwin Jakobs
4901b22ef4 [orx-shade-styles] Add noise {} shade style builder 2025-03-30 17:17:38 +02:00
Abe Pazos
48a6915846 [orx-shade-styles] Initialize vec4 gradient
Otherwise glitchy on integrated intel graphics
2025-03-24 16:20:42 +01:00
Edwin Jakobs
557d3bb3ad [orx-shade-styles] Add rotation support to pattern dots 2025-03-10 11:03:02 +01:00
Edwin Jakobs
499bf3d1c0 [orx-shade-styles] Add luma gradient 2025-03-07 16:20:26 +01:00
Edwin Jakobs
710d1e9538 [orx-shade-styles] Improve EllipticalGradient 2025-03-07 14:39:09 +01:00
Edwin Jakobs
aab49b846a [orx-shade-styles] Revise filtering in GradientBase 2025-03-06 21:19:37 +01:00
Edwin Jakobs
5b55405a51 [orx-shade-styles] Revise level quantization 2025-03-06 20:48:22 +01:00
Edwin Jakobs
49a3f3ea49 [orx-shade-styles] Re-introduce color conversion in GradientBase 2025-03-06 13:05:07 +01:00
Edwin Jakobs
69721407af [orx-shade-styles] Add HemisphereLight shader and demo example
Introduce the `HemisphereLight` shader for smooth gradient lighting based on surface orientation relative to a light direction. Add a demo featuring the Suzanne model to showcase the shader in action.
2025-03-06 12:26:18 +01:00
Edwin Jakobs
b8bcd21a19 [orx-shade-styles] Add visualizeNormals shade style. 2025-03-05 19:11:35 +01:00
Edwin Jakobs
9d5a56cad5 [orx-shade-styles Use parameter function for setting shader parameters in DemoImageFill03.kt 2025-03-05 19:10:44 +01:00
Edwin Jakobs
a3080ccc7a [orx-shade-styles] Refactor ImageFillBuilder to use StyleParameters interface.
Replaced custom parameter handling in ImageFillBuilder with the standardized StyleParameters interface.
2025-03-05 17:02:37 +01:00
Edwin Jakobs
50efe4da82 [orx-shade-styles] Implement StyleParameters in GradientBuilder
Make GradientBuilder comply with StyleParameters by adding related fields and methods. This enables parameter management for gradient styles.
2025-03-05 15:19:25 +01:00
Edwin Jakobs
331c28e52e [orx-shade-styles] Add pattern shade styles 2025-03-05 14:57:39 +01:00
Edwin Jakobs
6ef8e8ff6d [orx-shade-styles] Add composed gradient and clip shading demo example 2025-03-04 20:31:59 +01:00
Edwin Jakobs
258c3c1535 [orx-shade-styles] Replace analytic filtering with multisample based filtering 2025-03-04 17:34:52 +01:00
Edwin Jakobs
098a26e1a9 [orx-shade-styles] Improve quantization filtering 2025-03-04 11:00:33 +01:00
Edwin Jakobs
dc09a849fd [orx-shade-styles] Add advanced clip-based shade styles and demos 2025-03-04 08:38:38 +01:00
Edwin Jakobs
e7f11d90b2 [orx-shade-styles] Add elliptical gradient support 2025-03-04 08:38:38 +01:00
Edwin Jakobs
fe87704efd [orx-shadestyle] Fix COVER and CONTAIN fit modes for BOUNDS units in GradientBase 2025-02-27 10:20:17 +01:00
Edwin Jakobs
9a93d95318 [orx-shadestyles] Improve gradient and imageFill shadestyles 2025-02-25 12:17:06 +01:00
Abe Pazos
c8f7dd52c6 Demos: ensure all use fun main() = application {
- Adjust some demo window sizes.
- Replace Random.double by Double.uniform
- Tweak some demos so screenshots look more interesting
2025-01-26 20:57:04 +01:00
Abe Pazos
c5fb56626c Remove unused imports (#344) 2024-06-24 10:02:34 +02:00
Edwin Jakobs
78fbff54c5 Upgrade to JDK 17. Add @JvmRecord annotations 2024-06-01 07:31:44 +02:00
Edwin Jakobs
077f316b15 Suppress and resolve warnings 2023-12-06 16:08:17 +01:00
Vechro
47d4293a57 Fixes and move to jvmDemo (#286) 2023-01-15 15:27:19 +01:00
Edwin Jakobs
172c2254b7 [orx-shade-styles] Add ImageFit shade style 2022-12-08 12:34:33 +01:00
Vechro
bad90709cc Rename org.openrndr.extras -> org.openrndr.extra (#250)
Co-authored-by: Edwin Jakobs <edwin@rndr.studio>
2022-07-28 19:23:26 +02:00
Abe Pazos
6e29423448 OKLab color gradients were partially implemented (#230)
in RadialGradient.kt and NPointLinearGradient.kt

Add OKLab variation to DemoNPointLinearGradient.kt

Mention OKLab (l, a, b) ranges and meaning.
2022-02-28 21:00:25 +01:00
Abe Pazos
398b155a78 Fix wrong import (#218) 2022-01-18 19:35:36 +01:00
Edwin Jakobs
af524b8e42 [orx-color] Make ColorOKHSL, ColorOKHSV AlgabraicCcolor, fix package name 2021-10-22 07:38:59 +02:00
Edwin Jakobs
bf11867232 Add ApplicationPreload mechanism to collectScreenshots 2021-08-31 22:43:39 +02:00
Edwin Jakobs
9a2f10f81d Switch back to fun main() 2021-08-30 17:18:54 +02:00
Edwin Jakobs
bfd7414594 [orx-shade-styles] convert to MPP 2021-06-29 13:55:16 +02:00
Edwin Jakobs
9435907ef9 Upgrade to OPENRNDR 0.4 snapshot 2021-06-22 11:08:07 +02:00
Edwin Jakobs
226a36d440 [orx-shade-styles] Add OKLab color space support to gradients 2021-03-22 10:52:01 +01:00
Edwin Jakobs
158ae715e4 Bump to OPENRNDR 0.3.44-rc.11, add colorSequence 2020-08-21 15:07:12 +02:00
Abe Pazos
5d9333cb50 Add more n-point gradients (#139) 2020-07-21 18:19:36 +02:00
Abe Pazos
508e5d3a37 [orx-shadestyles] n-point gradient shadeStyle and demos (#138) 2020-07-18 17:15:54 +02:00
Abe Pazos
1f312ed9c8 Add demoAllGradients 2020-05-15 21:28:40 +02:00
Edwin Jakobs
60a64806fc Add screenshot generation 2020-04-22 21:56:08 +02:00
Edwin Jakobs
66b979fc84 Add orx-shade-styles demo 2020-04-07 21:05:08 +02:00
Abe Pazos
fa51fad405 Add exponent to all gradients, cleanup 2020-04-07 19:03:35 +02:00
Abe Pazos
43d44cc895 Add LinearGradient exponent 2020-04-07 15:00:54 +02:00
Edwin Jakobs
0af8a20d1e Add missing description for HalfAngularGradient.kt 2020-03-16 23:58:04 +01:00
Edwin Jakobs
2a3462a136 Add parameter annotations to orx-shade-styles 2020-03-16 23:51:30 +01:00
Edwin Jakobs
c2791fb851 Fix fragmentTransform of linearGradient 2020-02-14 14:32:14 +01:00
Edwin Jakobs
cfdb8b7cd1 Add orx-shade-styles module that holds shade-style presets 2020-02-13 19:51:31 +01:00