100 Commits
Author SHA1 Message Date
pullusb 3904ffa024 Remove swapping to "bg_cam" in autobuild
1.8.18

- fixed: remove the switch to "bg_cam" (when exists) in autobuild
2025-06-05 11:42:19 +02:00
pullusb 0dae5157b1 skip hidden object (viewport or in render) in autobuild
1.8.17

- changed: in autobuild, ignore object that are not visible in scene or with render toggle off
2025-06-02 15:08:28 +02:00
pullusb d2a19ae9e3 more robust reorder 2025-04-10 15:53:25 +02:00
pullusb cc1646081b bump version
1.8.16

- fixed: Better reorder socket. Still not perfect, can have bad result if there some unconnected sockets on both sides.
2025-04-10 15:28:08 +02:00
pullusb 26bcb56815 change clean method based on connection order 2025-04-10 15:07:18 +02:00
pullusb af2d8e1ad4 Exclude GP using is_background in autobuild by default
1.8.15

- changed: exclude background GP by default in autobuild (`is_background` is a custom property set on some GP by the addon "Background Plane Manager")
- added: autobuild bool argument `exclude_background_gp` (Default to True).
2025-04-02 15:55:34 +02:00
pullusb 52e1f7ad0e fix clean name
1.8.15
2025-04-01 11:56:03 +02:00
pullusb 9b76e380ae fix viewlayer removal error
1.8.14

- fixed: error when trying remove a viewlayer
2025-03-10 18:20:33 +01:00
pullusb 35a99ff6cd Improve connect to file output feature with better name besed on source socket and node
1.8.13

1.8.13

- changed: improve `connect to fileoutput` feature:
  - possible to choose `node_name + socket name` or `node name` instead of `socket name` only
  - default is now `node_name_socket_name`
  - added some exception behavior:
    - if a node has single output : write the node name only
    - render layers use `scene_viewlayer` as node_name intead of "Render Layer"
    - interface shows source node label (with source node name in parenthesis)
    - interface shows render layer scene/viewlayer name (with name in parenthesis)
2024-12-17 15:54:21 +01:00
pullusb 19c43e6268 Fix material duplication clean comparing with non-GP mats
1.8.11

- fixed: cleaning materials duplication checked against name without checking material GP type
2024-11-27 14:33:20 +01:00
pullusb 772af8cb3f fix auto-merge by prefix in autobuild
1.8.10

- fixed: node not deleted after a merge using (compo scene not referenced correctly to point node_trees)
2024-11-14 12:38:53 +01:00
pullusb bd7b022af8 avoid error when setting object active at the end of autobuild
1.8.9
2024-11-06 14:23:25 +01:00
pullusb c5d84ddb16 fix ae trnasform exporter to use directory without export helper 2024-10-16 12:05:28 +02:00
pullusb adbb813410 fix camera always exported even when unchecked 2024-10-15 16:04:27 +02:00
pullusb 09eca87060 Fix #4 export transformation to AE with export helper
1.8.8

- added: Add `export transformation to AE` in export menu:
 - export camera
 - export objects transformation
 - export exposition (object, GPencil keys, etc)
2024-10-15 15:07:11 +02:00
pullusb 5c69bd0185 First implementation of export helper for AE keyuframe data 2024-10-14 18:42:18 +02:00
pullusb d6a102b044 less flashy color on render layer node color - eye care update
1.8.7

- changed: Layer `channel_colors` have _value component_ clamped to 0.65 when transfered to compo node (eye care update)
2024-10-01 17:16:44 +02:00
pullusb e67adcb3f7 remove masks exclusion from list (sometimes wanted in export)
1.8.6

- changed: removed mask terms from exclude export list `MA, MASK, mask, MSK, msk` (still excluded when opacity is at 0)
2024-09-23 15:03:22 +02:00
pullusb b0f62a732d group adjacent prefix now ignore case
1.8.5

- changed: `group adjacent prefix` prefix pattern now ignore case
2024-09-19 18:03:24 +02:00
pullusb 8be44fa1e5 fix select node from layer and adjust object numbering check
1.8.4

- fix: select node from layer
- changed: Check for problems: object numbering check does not list as error if parent part has number prefix (previously checked only for last part)
2024-09-11 18:32:38 +02:00
pullusb ea0561e14e Add more default prefix for mask layer exclusion
1.8.3

- changed: for layer with 0 opacity, do not send to render and keep opacity
- removed: `GP` prefix exclusion to send GP to render
- added: more default prefix exclusion for _layer to render_ and _skip opacity reset_ (`MASK, mask, MSK, msk`)
2024-09-09 14:38:16 +02:00
pullusb 734714be09 add a no_popup arg in check layer for autobuild background mode 2024-09-04 17:38:00 +02:00
pullusb 747638eca9 Fix reset layer state in autobuild 2024-09-04 17:21:43 +02:00
pullusb 1121c489a8 remove poll in check layer 2024-09-04 17:03:33 +02:00
pullusb 2e9b379144 version bump 2024-09-04 15:54:14 +02:00
pullusb e97a86b624 Merge branch 'main' of ssh://git.autourdeminuit.com:222/autour_de_minuit/gp_render into main 2024-09-04 15:53:10 +02:00
pullusb aefc84fd7a Add pattern for layer group merge and check layer in autobuild
1.8.1

- added: `Reset Layer State` (Check layer) in Autobuild
- added: environment variable `GP_RENDER_LAYER_GROUP_PATTERN` for layer merging regex pattern
2024-09-04 15:46:15 +02:00
Pullusb 1078e5d858 disable copy timeline marker from node compo scene 2024-07-31 17:07:16 +02:00
Pullusb 8a4fc9e6f4 add timeline marker
1.8.1

- added: transfer timeline marker to render scene
- fix: scene viewport switch when using autobuild manually
2024-07-31 16:48:08 +02:00
pullusb fe3f0ae869 rename fields in selection to fileoutput
1.8.0

- added: Allow to rename output on the fly using `connect selection to output`
2024-06-24 16:10:44 +02:00
pullusb 332f8594ea autobuild scene switch choice
1.7.4

- removed: Restriction to use default scene "Scene"
- added: autobuild choice to change active scene:
  - `NONE` : No change
  - `RENDER`: Go to render scene containing GP
  - `NODES` : Go to compo scene scene holding nodes
2024-04-22 16:08:45 +02:00
pullusb 270b0fb20e ensure node_scene use node 2024-04-22 15:48:45 +02:00
pullusb fbbc0ecaf3 Remove default scene use restriction 2024-04-22 15:39:40 +02:00
pullusb 2251313794 Fix problem when viewlayer name reach character limit 2024-04-22 15:20:17 +02:00
pullusb 7fa914e438 Add templates options for fileoutput
1.7.3

- added: Optional string templates for fileoutputs
  - add `base_path, file_slot, layer_slot` arguments to operators
  - possible keywords are as follow:
    - '{object}' : Set object name
    - '{gplayer}' : Set Gp layer name
  - Default template when not passed:
    base_path = `//render/{object}`
    (for multilayer exr, default to `//render/{object}/{object}_`)
    file_slot = `{gplayer}/{gplayer}_`
    layer_slot = `{gplayer}`
2024-04-22 11:59:30 +02:00
pullusb de66ed85ba initial support for template in output base path and slots 2024-04-18 18:12:18 +02:00
pullusb ad083e45b6 File output - Selectable socket to connect in popup
1.7.2

- added: selectable output popup in `connect to file output` operator
2024-04-18 15:11:59 +02:00
pullusb c6dfcb6655 Fix output file format problem 2024-04-17 17:03:34 +02:00
pullusb 58015c11be fix bracket character base path 2024-04-17 15:15:40 +02:00
pullusb 16a4014da9 Fix file output base path
1.7.1

- fix: file output base path depending on file format
- fix: problem when connecting render layers
2024-04-17 14:37:44 +02:00
pullusb 4627b50248 version bump following refactor 2024-04-16 18:01:59 +02:00
pullusb c6c9c7f56c Refactor to allow separate gp render scene and compositing scene
1.7.0

- fix: problem when removing render layers
- changed: node distribution refactor, allow separate compositing scene
  - Compositing scene (holding nodes) can be separated from render scene (holding GP objects and related viewlayers)
  - Default render named changed from `Render` to `RenderGP`
  - New properties in exposed Dopesheet N panel to manually set Render scene and Compo scene
  - Operator expose a `node_scene` parameter to separate where to send nodes
  - Switch scene button can have an extra button to go in compo scene if found
2024-04-16 18:01:10 +02:00
pullusb fb810c1256 Changed repo url in doc and tracker infos 2024-03-28 17:05:42 +01:00
pullusb abc93bc1f9 code render scene comments cleanup 2024-03-28 11:51:57 +01:00
pullusb 4618982a37 remove poll check of gp active limiting use in script call
1.6.4
2024-03-28 10:29:44 +01:00
pullusb 4bf13755eb remove poll on ops Normalize Layers Name 2024-03-28 10:16:44 +01:00
pullusb 248f686e78 remove poll on autobuild
1.6.3

- changed: remove poll check on autobuild operator
2024-03-27 18:15:17 +01:00
pullusb b973668f02 set default file output to EXR multilayer
1.6.2

- changed: Default fileout format changed from `OPEN_EXR` to `OPEN_EXR_MULTILAYER` (a `FILE_FORMAT` env variable can be set to specify nodes format)
- changed: Default compression changed from `ZIP` to `PIZ`
- changed: Rename/renumber function consider OPEN_EXR_MULTILAYER to affect `layer_slots` instead of `file_slots`
2024-02-22 17:29:41 +01:00
pullusb 9820f273c2 fix preview output in blender 4
1.6.1

- fixed: preview output for Blender 4.0+
2024-02-22 11:56:18 +01:00
pullusb c176f7ab6a better check for connect selection to output node 2024-01-17 18:37:00 +01:00
pullusb 1a97f75692 connect selection to new or existing fileout 2024-01-16 16:55:07 +01:00
pullusb a6e8da6973 fix merge function for blender4 2024-01-16 13:56:18 +01:00
pullusb 74d94e2cdb compatibility update for blender4 2024-01-16 12:27:10 +01:00
pullusb 29debe4cb4 fix error 2023-07-13 18:50:00 +02:00
pullusb 4721380344 swf export and pdf multipage
1.5.0

- added: swf export (include binary for linux and windows)
- added: pdf single multipage file exports
2023-06-29 18:15:59 +02:00
pullusb c8e576b7e7 show send single object even in non-render scene 2023-06-27 17:28:36 +02:00
pullusb 2f4afd7584 add invisible material hide in check layers func 2023-06-27 15:12:32 +02:00
pullusb 7abb626a05 renumber and exclude layer use current scene
1.4.1

- added: expose button for output file de-numbering
- changed: denumbering and exclude layer based on current scene instead of render scene only
2023-06-27 11:50:31 +02:00
pullusb f6be9c056d individual split to scenes
1.4.0

- added: split selection to scenes individually
2023-06-26 18:11:17 +02:00
pullusb 771a481262 changed: auto-crop ignore MA_ prefixed layers 2023-06-21 18:33:50 +02:00
pullusb ee03cf734b add resolutoin in crop_infos
1.3.6

- added: scene resolution in json crop pixels information, per objects
- changed: fixed name `crop_infos.json` for exported crop pixels information
2023-06-20 14:37:39 +02:00
pullusb 4e2ea0e122 fix delete view layer error in merge 2023-06-08 15:28:52 +02:00
pullusb 352027ad8c exclude layer buttons
1.3.5

- added: button to exclude viewlayers and nodes by selection or by hided layers
2023-06-08 12:39:39 +02:00
pullusb bc5a046bec tweak startup, add multi layer merge
1.3.4

- added: multi object merge
- changed: little tweak on GP render startup
2023-06-07 17:31:38 +02:00
pullusb 04d6349d1c normalize layer name: convert points to underscore 2023-06-07 12:13:50 +02:00
pullusb 3a014e077e fix modifier target check
1.3.3

- fixed: problem evaluating broken modifier target
2023-06-07 11:59:26 +02:00
pullusb 556f767f3b compatibility with newer Blender
1.3.2

- fixed: compatibility with blender 3.5 (nodegroup socket API change)
2023-04-04 15:51:41 +02:00
pullusb b19f9d9473 preview gen in autobuild
1.3.1

- added: preview generation in autobuild
2023-04-04 11:41:18 +02:00
pullusb c58654a7e1 stacked preview in composite output
1.3.0

- added: Preview with a combined alpha over of all render layer available
- added: button to clear preview nodes
2023-04-04 11:09:00 +02:00
pullusb 6624c45228 autobuild: Set single user
1.2.3

- added: autobuild set each gp objects data to single user
2023-02-28 15:58:55 +01:00
pullusb e03593bb1a Disable default merge layers in autobuild
1.2.2

- changed: autobuild disabled merge adjacent layer by default
2023-01-23 17:13:37 +01:00
pullusb 12cce98e41 trailing whitespaces cleanup 2023-01-18 14:28:27 +01:00
pullusb f3646e37df Append GP render workspace from dopepsheet panel
1.2.1

- added: bundle app_template to load "GR Render" workspace from it
- added: ui button in dopesheet to load GP render workspace
2023-01-17 16:50:42 +01:00
pullusb 544cd7bf56 enable background and remove timer in autobuild
1.2.0

- changed: enabled when launched in background
- added: autobuild: hide "invisible" material
- removed: timer to setup render scene
2023-01-17 15:50:10 +01:00
pullusb 0eea0661bc fix automerge - force set color
1.1.4

- Changed: force set color by prefix if autobuild option swiched on
- fixed: problem with auto merge adjacent layers
2023-01-11 18:54:33 +01:00
pullusb b1cc4fa5d7 Clean GP material stack
1.1.3

- added: clean material stack in auto-build
2023-01-11 17:36:43 +01:00
pullusb fd91900328 expose autobuild options
1.1.2

- added: popup panel with options for autobuild
2023-01-10 18:41:09 +01:00
pullusb 7f359dd910 update comment 2023-01-10 15:41:32 +01:00
pullusb d99199ed48 fix empty names - set color
1.1.1

- changed: autobuild beta
- added: autobuild: fix layer name with empty desc (only prefix)
- added: autobuild: Set layer color autoamtically (if not some already there)
2023-01-10 15:39:05 +01:00
pullusb dd57f0651e autobuild beta max 2023-01-06 16:05:09 +01:00
pullusb a736eec7c9 autobuild beta
1.1.1

- changed: autobuild beta
2023-01-06 15:10:10 +01:00
pullusb 10c279c315 partial autobuild
1.1.0

- added: `autobuild` button (partial auto-buildfor now)
- added: make sent object selected
2023-01-05 18:05:24 +01:00
pullusb e086eb4050 fix nodegroup socket error in blender 3.4
1.0.3

- fixed: Send to render layer compatibility with blender 3.4
- added: clear default nodes when creating new render scene
2023-01-05 16:03:25 +01:00
pullusb 8a5654e977 ignore object with leading dot
1.0.2

- added: GP object with name starting with `.` are ignored from "all objects" operation (renaming, numbering, sending to render scene)
  - temporarily, layer named `note` (case insensitive) are ignored as well. This should be removed in later version to keep only dot exculsion rule.
2022-12-19 20:15:11 +01:00
Pullusb b6e695eef3 fix 2D position for AE from linux
1.0.1

- fix: `Export Camera 2D Position To AE` file format not working on windows when export from linux (add CRLF terminator to generated text file)
2022-07-20 18:09:28 +02:00
Pullusb 2f7834ac94 use Z by default
1.0.0

- fix: activate Z pass on newly created viewlayers
2022-06-01 16:50:59 +02:00
Pullusb 4b59adf138 back to tabs for ae keys export
0.9.9

- fix: `Export Camera 2D Position To AE` use tab again instead of space in key clipboard format. otherwise paste doesn't work in After-Effect
2022-02-09 16:35:07 +01:00
Pullusb c5ea98b4d0 export anim cam 2d positionwithin bg cam
0.9.8

- feat: `Export Camera 2D Position To AE` to export 'anim cam' (or selected cam) frame center pixel coordinate within scene camera.
  - write txt file as after effects postion clipboard data
2022-02-09 12:27:29 +01:00
Pullusb d43e59b7c7 Select node from layers
0.9.7

- feat: `Select Nodes` added in Dopesheet. Select nodes associated with selected gp layers and report if there are errors
2022-02-07 16:05:47 +01:00
Pullusb a9c9de2f76 Disable multiframe-editing
0.9.6

- added: `Check layers` disable multi-edit in all gp data. Seemed to cause artifacts on some renders (tested on 2.93.5)
2022-02-02 14:24:04 +01:00
Pullusb baa9dbec35 cascade file checks
0.9.5

- added: `check for problems` button also propose to run GP toolbox's file checker (if addon is enabled) to perform generic file checks
- changed: `check for problems` skip check for opacity on 'MA_' prefixed layers
2022-01-27 18:08:24 +01:00
Pullusb 64efb7e395 render checkers and codefix
0.9.4

- feat: `Renumber files on disk` option using number in file outputs (under advanced gp render options)
- feat: new `Check for problems` button, check if problem in layer state, missing file out, broken gp modifier target and report
- added: clean nodes now also rearrange inside nodegroup
- changed: `Check layers` now trigger `export layer infos` automatically.
- fix: `export layer infos`:
  - create render folder if necessary
  - masks list in json file use name as keys instead of sub-value
2022-01-26 16:32:33 +01:00
Pullusb 5cca446fc0 layers info json exporter
0.9.3

- feat: export a json with layers info for compo. Masks, opacity, blend mode
2022-01-24 23:14:12 +01:00
Pullusb 89abd181e2 Mask checker
0.9.2

- feat: add button to check if and which layers have masks
2022-01-24 13:15:59 +01:00
Pullusb 04093cad39 dont report fill disable
0.9.1

- change: stop reporting all use light disable on `check layer` (too many messages)
2022-01-24 11:43:47 +01:00
Pullusb 3aa8ccccfe object renumbering from depth
0.9.0

- feat: Renumber objects prefix according to origin point depth, and button to remove
- ui: improve dopesheet panel readability
2022-01-22 19:13:11 +01:00
Pullusb 55f9248c6a Set composite output from fileout node
0.8.0

- feat: Select a file output node. Set active file slot path and settings to main Scene output.
    - Button in GP render panel with `Advanced` options active.
    - Or search operator label `Set Active File Output To Composite`
    - if Composite is already linked, pop-up ask if link should be replaced
2021-12-16 19:10:00 +01:00
Pullusb f02ab79a06 clean ops arrange renderlayer nodes
0.7.0

- feat: `clean nodes` ops now rearrange renderlayer nodes within frames
2021-12-09 12:14:57 +01:00
Pullusb 75a26fa4b6 Fix shift export
0.6.9

- fix: shift correction error
2021-11-17 15:15:44 +01:00
Pullusb e3f97e7e61 export main Scene crop with it's own name 2021-11-12 17:14:34 +01:00