Commit graph

30 commits

Author SHA1 Message Date
Candice Bentéjac
77997c0a95 [nodes] Blender scripts: Add __init__.py
Add missing `__init__.py` so the "scripts" folder can be loaded as a
module. This also automatically includes the content of the "scripts"
folder into the files that are installed with cx_Freeze when packaging
Meshroom.
2024-06-10 18:55:35 +02:00
Fabien Castan
f6e961b7aa
[nodes] blender preview: add comment 2023-12-20 09:41:26 +01:00
Candice Bentéjac
964ca1a0e6 [nodes] Blender: Rescale rendered images based on their pixel aspect ratio 2023-12-18 08:43:17 +00:00
Loïc Vital
4f4d688f58 [blender] preview: correctly handle useBackground and useMasks in compositing graph 2023-08-29 16:00:19 +02:00
Loïc Vital
0865327af1 [blender] preview: add masks in compositing graph 2023-08-29 15:30:07 +02:00
Loïc Vital
c04f969773 [blender] preview: fix first chunk behaviour 2023-07-10 17:00:02 +02:00
Loïc Vital
b1063212ff [blender] preview: apply pixelRatio metadata 2023-06-27 16:44:56 +02:00
Candice Bentéjac
851099d7a7
Merge pull request #2074 from alicevision/mug/scenePreviewFreestyle
[blender] preview: use Freestyle for line art shading
2023-06-21 12:43:49 +02:00
Loïc Vital
b3d2b18f44 [blender] preview: use Freestyle for line art shading 2023-06-21 11:59:10 +02:00
Loïc Vital
4d6fe4c3a9 [blender] preview: use Holdout instead of TransparentBSDF for wireframe occlusions 2023-06-19 16:03:20 +02:00
Loïc Vital
74d1a9091e [blender] preview: add range arguments for parallelization 2023-06-16 08:52:17 -07:00
Loïc Vital
7118298eb0 [blender] preview: use cycles render engine 2023-06-16 06:39:25 -07:00
Loïc Vital
94491994a5 [blender] preview: clear loaded images to avoid memory leak 2023-06-13 11:56:27 +02:00
Loïc Vital
649a45249c [blender] preview: handle background image not found 2023-06-09 15:33:04 +02:00
Loïc Vital
b1b551f2bf [nodes] ScenePreview: use base image name instead of viewId for output naming 2023-06-06 10:43:37 +02:00
Loïc Vital
6c5afb1109 [blender] preview script: more robust mesh name retrieval 2023-05-30 11:46:10 +02:00
Loïc Vital
d3da5998af [blender] preview script: more robust search for undistorted images 2023-05-30 11:37:51 +02:00
Loïc Vital
3a993a9d82 [nodes/blender] rename RenderAnimatedCamera to ScenePreview 2023-05-30 11:36:36 +02:00
Loïc Vital
1e74c00d8b [nodes/blender] update documentation 2023-05-30 11:07:59 +02:00
Loïc Vital
3eaea1ff6f [nodes] rewrite RenderAnimatedCamera node and blender script + support for wireframe render 2023-05-30 09:32:30 +02:00
luz paz
f4dcf6557f Fix various typos in the source code
## Description
Fix various typos in the source code. This includes user facing code, documentation, and source comments. This PR has not been tested.
Closes #1605
2022-01-22 07:39:05 -05:00
Fabien Castan
fdf45fa6f4 [nodes] RenderAnimatedCamera: clean up 2021-07-23 16:25:20 +02:00
Solal Depardieu
f8141796f3 [nodes] Adding mesh render with edge detection and changes on the args
Added the possibility of rendering the output of the meshing node into a edge detection render of the obj. Added the activation and deactivation of the background images as an option. Improving the way the arguments are shown with a conditionnal display of some arguments.
2021-07-23 13:11:16 +02:00
Solal Depardieu
1e2aaff884 [node] Adding color particle changes and a lot of comments
Many minor bug fixes and added the possibility to change the particle color of the rendering to let the user chose the clearest color in their case. Commented a lot of my code to make it readable to someone else that myself.
2021-07-23 13:11:16 +02:00
Solal Depardieu
5701f8f578 [node] Adding working background and several other feat.
Almost complete version of the node, I added a background that can render with eevee and changed the cubes used as particles by a plane that always follows the camera. The one of the only thing left is the option to change the color of the particle (among other things).
2021-07-23 13:11:16 +02:00
Solal Depardieu
5bb026afec [node] Adding the rendering of the background image among other
I had to use the graphe node to render the image in the back. I also made the node much more adaptable. I'll verify if it works with another set of image.
2021-07-23 13:11:16 +02:00
Solal Depardieu
9b3f7fa127 [node] Adding a density factor to the render node
Added a numeral scale to the node to make the density rendering of the cloud of point more customisable...
2021-07-23 13:11:16 +02:00
Solal Depardieu
8299cabf28 [nodes] Change in export animated cams and improving blender node
The returns in ExportAnimatedCamera didn't include the path toward the undistorted images so I added it.

The Blender Rendition nodes can now (among other things) diplay cloud of points. The code is cleaned up and only the background image sequence remains to be implemented...
2021-07-23 13:11:16 +02:00
Solal Depardieu
a37bdebbb5 [nodes] Animated Camera Rendering (can't see cloud of point on render)
The node is almost functional. The animated camera works but the imported cloud of point isn't visible is rendering... I'll need to find a way to make display it.
(For now there is a cube as a placeholder in the scene to show the movement of the camera)
2021-07-23 13:11:16 +02:00
Solal Depardieu
64da47fc8e [nodes] adding new node for Animated Camera Rendering (no errors but not functional yet) 2021-07-23 13:11:16 +02:00