firestar99
27a68e5875
shader-rt: correct arg buffer handling
2025-08-26 19:51:29 +02:00
firestar99
d730a8db74
shader-rt: connect shader runtime
2025-08-26 19:51:29 +02:00
firestar99
d77c4ef81e
shader-rt: disable gpu blend node, needs two images
2025-08-26 19:51:29 +02:00
firestar99
d38a504aa2
shader-rt: initial
2025-08-26 19:51:29 +02:00
firestar99
6aa3d32747
shaders: add lint ignores from rust-gpu
2025-08-26 19:51:29 +02:00
firestar99
d5e0ec7a83
shaders: #[repr(u32)]
some enums
2025-08-26 19:51:29 +02:00
firestar99
7ae9890128
shaders: disable nodes needing bool
2025-08-26 19:50:38 +02:00
firestar99
97bfe26ead
shaders: codegen for per_pixel_adjust shader nodes
2025-08-26 19:50:38 +02:00
Timon Schelling
126f7395a8
nix: use rustc_codegen_spirv.so from nix
2025-08-26 19:50:38 +02:00
firestar99
dc74389ff0
shaders: shader compilation setup
2025-08-26 19:50:38 +02:00
firestar99
ace670753a
graster-nodes: change Table<Color>
params to Color
where only one value is used
2025-08-26 19:50:23 +02:00
firestar99
71ad1c855c
f32: more f32 params, remove f32 casts
2025-08-26 19:47:44 +02:00
firestar99
579166f4c6
f32: switch to f32 params
2025-08-26 19:47:44 +02:00
firestar99
68f195c6b5
unify glam workspace dep
2025-08-26 19:45:09 +02:00
firestar99
b17a66df7d
graster-nodes: replace glam reexport with normal dep
2025-08-26 11:17:03 +02:00
firestar99
aa0db6abf3
graster-nodes: make kurbo std-only
2025-08-26 11:17:03 +02:00
firestar99
0058ed2d95
graster-nodes: remove async from shader nodes not needing it
2025-08-26 11:17:03 +02:00
firestar99
16484d4c9a
shaders: use unchecked Color constructors
2025-08-26 11:17:03 +02:00
firestar99
08511c047e
graster-nodes: fix missing cfg on use statements
2025-08-26 11:17:03 +02:00
firestar99
da41100f37
gcore-shaders: fix missing num-traits/libm
features
2025-08-26 11:17:03 +02:00
Keavon Chambers
3bcec37493
Remove the deprecated/archived Bezier-rs library from the repo ( #3058 )
...
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
Website / build (push) Has been cancelled
Remove the Bezier-rs library from the repo
2025-08-16 17:29:00 -07:00
Priyanshu
d22b2ca927
Refactor the Centroid node and Subpath
struct and methods to use Kurbo, eliminating all remaining usages of Bezier-rs ( #3036 )
...
* define Subpath struct in gcore and refactor node-graph
* Refactor few methods
* refactoring worked!
* refactor centoid area and length
* remove unused
* cleanup
* fix pathseg_points function
* fix tranforming segments
* fix segment intersection
* refactor to_path_segments fn in gpath-bool crate
* refactor gcraft
* add bezier-rs dep
* Code review the editor directory
* use path-bool for solving roots
* Code review
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-08-16 13:39:25 -07:00
Keavon Chambers
bdc029c692
Add Table<Gradient> as a graphical type ( #3051 )
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
2025-08-13 01:42:51 -07:00
Keavon Chambers
1b351aca76
Replace the Color type with Table<Color> everywhere ( #3048 )
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
2025-08-12 00:38:23 -07:00
Keavon Chambers
4b11dced48
Make Table<T> implement the IntoIterator trait
2025-08-04 15:20:48 -07:00
Keavon Chambers
a0ce56d9b6
Rename Instances<T> to Table<T> and the "instance" terminology to "TableRow" and "element" ( #2981 )
...
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* Instances -> Table
* instances.rs -> table.rs
* Rename occurrances of the word "instances"
* .instance -> .element
* Instance* -> TableRow*
* Rename Table and TableRow methods to not say "instance"
* Remove presumed unused serde defaults now that tables default to length 0 not 1
* Rename occurences of the word "instance"
* Un-alias the RasterDataTable<Storage>, VectorDataTable, GraphicGroupTable, ArtboardGroupTable typedefs
* Move artboard type and node code out of graphic_element.rs to a new artboard.rs
* Organize the TaggedValues
* Fix tests
* Fix prior regression with Image Value node not upgrading
2025-08-03 04:12:18 -07:00
Firestar99
4fec24893e
Shaders: add gcore-shaders
and make graster-nodes
no-std ( #2925 )
...
* gcore-shaders: add crate, move `color` and `blending` from gcore
* gcore-shaders: move `AsU32`
* gcore-shaders: move `ChoiceType`, switch `Cow` for `&str`, adjust node macro
* gcore-shaders: move `registry::types`
* gcore-shaders: move `context::Ctx`
* raster-nodes: make it `no_std` with `std` feature
* gcore-shaders: fix doctest
2025-07-25 17:53:26 +00:00
mTvare
72f1047a27
Display images in the SVG viewport renderer via canvases instead of base64 PNGs ( #2903 )
...
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* add: move images as rendered canvases to node_graph_executor
* add: added the frontend message
* fix: bytemuck stuff
* fix: canvas element breaking
* fix: width issues
* fix: remove the old message
* npm: run lint-fix
* fix
* works finally
* fix transforms
* Fix self closing tag
* fix: reuse id
* fix: have it working with repeat instance
* cargo: fmt
* fix
* Avoid "canvas" prefix to IDs
* fix
* fix: vello issue from 6111440
* fix: gpu stuff
* fix: vello bbox
* Code review
---------
Co-authored-by: hypercube <0hypercube@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-07-24 17:14:38 -07:00
Firestar99
e7b8b5a3b6
Shaders: graster-nodes
no-std prep ( #2924 )
...
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* raster-nodes: remove commented out index node
* raster-nodes: move `CubicSplines` to separate mod
* raster-nodes: create `mod blending_nodes` and move assoc nodes
* raster-nodes: move node `gradient_map` to its own mod
2025-07-24 13:32:10 +00:00
Firestar99
890da6a3c3
Clean up code by using Iterator::collect() when constructing instance tables ( #2918 )
...
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* instances: `Iterator::collect()` instances
* instances: adjust nodes to use iterators
* fix warnings on master
* Bump MSRV
* Port the remaining usages
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-07-23 05:51:40 +00:00
Keavon Chambers
6f46f21e21
Improve the HTTP request nodes and add new related nodes ( #2896 )
...
* Improve the network request nodes and add new ones to process data
* Use Content-Type: application/octet-stream
* Add 'Gamma Correction' node
2025-07-18 05:03:50 -07:00
Firestar99
602d7e8bd1
Extract graster-nodes
( #2783 )
2025-07-01 18:12:12 +00:00