Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blender render doesn't finish #6

Open
stefanfoulis opened this issue Feb 3, 2021 · 1 comment
Open

blender render doesn't finish #6

stefanfoulis opened this issue Feb 3, 2021 · 1 comment
Labels
wontfix This will not be worked on

Comments

@stefanfoulis
Copy link

stefanfoulis commented Feb 3, 2021

I've been trying to get the rendering through blender to work. After some tinkering with blender version (->2.79!) and the matching older version of the LDraw Addon I was able to manually render parts from ldraw inside the blender UI. I couldn't get the render.py script to work though. It seems to start rendering. The render doesn't finish though. So far I've waited about an hour for a single image. There is no CPU and GPU usage by blender or the script, so I suspect it is blocked somehow. This is the output:

❯ /Applications/Blender-2.79.app/Contents/MacOS/blender -b -P dataset/blender/render.py -- -i /usr/local/share/ldraw/parts/30237.dat --save ./ --images_per_brick 1 --config thumbnail.json
Blender 2.79 (sub 7) (hash e045fe53f1b0 built 2019-07-29 01:37:23)
Read prefs: /Users/stefanfoulis/Library/Application Support/Blender/2.79/config/userpref.blend
found bundled python: /Applications/Blender-2.79.app/Contents/Resources/2.79/python
numpy version: 1.15.0
2021-02-03 09:21:02,303 [INFO] config file: thumbnail.json
09:21:02.30 [importldraw] The LDraw Parts Library path to be used is: /usr/local/share/ldraw
Info: 09:21:02.30 [importldraw] The LDraw Parts Library path to be used is: /usr/local/share/ldraw
09:21:02.30 [importldraw] Use LSynth Parts requested
Info: 09:21:02.30 [importldraw] Use LSynth Parts requested
09:21:02.30 [importldraw] Standard-res primitives selected
Info: 09:21:02.30 [importldraw] Standard-res primitives selected
09:21:02.30 [importldraw] Loading stud files
Info: 09:21:02.30 [importldraw] Loading stud files
09:21:02.31 [importldraw] Loading files
Info: 09:21:02.31 [importldraw] Loading files
09:21:02.38 [importldraw] Creating NodeGroups
Info: 09:21:02.38 [importldraw] Creating NodeGroups
09:21:02.38 [importldraw] createBlenderDistanceToCenterNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderDistanceToCenterNodeGroup #create
09:21:02.38 [importldraw] createBlenderVectorElementPowerNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderVectorElementPowerNodeGroup #create
09:21:02.38 [importldraw] createBlenderConvertToNormalsNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderConvertToNormalsNodeGroup #create
09:21:02.38 [importldraw] createBlenderConcaveWallsNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderConcaveWallsNodeGroup #create
09:21:02.38 [importldraw] createBlenderSlopeTextureNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderSlopeTextureNodeGroup #create
09:21:02.38 [importldraw] createBlenderFresnelNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderFresnelNodeGroup #create
09:21:02.38 [importldraw] createBlenderReflectionNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderReflectionNodeGroup #create
09:21:02.38 [importldraw] createBlenderDielectricNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderDielectricNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoStandardNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoStandardNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoTransparentNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoTransparentNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoTransparentFluorescentNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoTransparentFluorescentNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoRubberNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoRubberNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoRubberTranslucentNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoRubberTranslucentNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoEmissionNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoEmissionNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoChromeNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoChromeNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoPearlescentNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoPearlescentNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoMetalNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoMetalNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoGlitterNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoGlitterNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoSpeckleNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoSpeckleNodeGroup #create
09:21:02.38 [importldraw] createBlenderLegoMilkyWhiteNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoMilkyWhiteNodeGroup #create
09:21:02.39 [importldraw] Creating Blender objects
Info: 09:21:02.39 [importldraw] Creating Blender objects
09:21:02.44 [importldraw] Number of vertices: 1399
Info: 09:21:02.44 [importldraw] Number of vertices: 1399
09:21:02.44 [importldraw] Number of vertices of convex hull: 47
Info: 09:21:02.44 [importldraw] Number of vertices of convex hull: 47
09:21:02.44 [importldraw] Centre object
Info: 09:21:02.44 [importldraw] Centre object
09:21:02.44 [importldraw] Adding 1 objects to scene
Info: 09:21:02.44 [importldraw] Adding 1 objects to scene
09:21:02.45 [importldraw] Load Done
Info: 09:21:02.45 [importldraw] Load Done
Info: 09:21:02.30 [importldraw] The LDraw Parts Library path to be used is: /usr/local/share/ldraw
Info: 09:21:02.30 [importldraw] Use LSynth Parts requested
Info: 09:21:02.30 [importldraw] Standard-res primitives selected
Info: 09:21:02.30 [importldraw] Loading stud files
Info: 09:21:02.31 [importldraw] Loading files
Info: 09:21:02.38 [importldraw] Creating NodeGroups
Info: 09:21:02.38 [importldraw] createBlenderDistanceToCenterNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderVectorElementPowerNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderConvertToNormalsNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderConcaveWallsNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderSlopeTextureNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderFresnelNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderReflectionNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderDielectricNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoStandardNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoTransparentNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoTransparentFluorescentNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoRubberNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoRubberTranslucentNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoEmissionNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoChromeNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoPearlescentNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoMetalNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoGlitterNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoSpeckleNodeGroup #create
Info: 09:21:02.38 [importldraw] createBlenderLegoMilkyWhiteNodeGroup #create
Info: 09:21:02.39 [importldraw] Creating Blender objects
Info: 09:21:02.44 [importldraw] Number of vertices: 1399
Info: 09:21:02.44 [importldraw] Number of vertices of convex hull: 47
Info: 09:21:02.44 [importldraw] Centre object
Info: 09:21:02.44 [importldraw] Adding 1 objects to scene
Info: 09:21:02.45 [importldraw] Load Done
2021-02-03 09:21:02,455 [INFO] initialized world successfully
initialized world successfully
2021-02-03 09:21:02,463 [INFO] start rendering 1 images
start rendering 1 images
Fra:1 Mem:12.42M (0.00M, Peak 12.42M) | Time:00:00.00 | Preparing Scene data
Fra:1 Mem:12.92M (0.00M, Peak 15.24M) | Time:00:00.00 | Preparing Scene data
Fra:1 Mem:12.92M (0.00M, Peak 15.24M) | Time:00:00.00 | Creating Shadowbuffers
Fra:1 Mem:12.92M (0.00M, Peak 15.24M) | Time:00:00.00 | Raytree.. preparing
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.00 | Raytree.. building
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Raytree finished
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Creating Environment maps
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Caching Point Densities
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Sce: Scene Ve:2518 Fa:2603 La:2
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Loading voxel datasets
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Sce: Scene Ve:2518 Fa:2603 La:2
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Sce: Scene Ve:2518 Fa:2603 La:2
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Volume preprocessing
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Sce: Scene Ve:2518 Fa:2603 La:2
Fra:1 Mem:13.28M (0.00M, Peak 15.24M) | Time:00:00.01 | Sce: Scene Ve:2518 Fa:2603 La:2

After a few hours I hit ctrl-c:

^C
Sent an internal break event. Press ^C again to kill Blender

But that didn't end either. Had to ctrl-c again to kill the process, which worked.

Any ideas what I might have missed?

macOS 11.1 on MacBook Pro (15-inch, 2017), 3.1 GHz Quad-Core Intel Core i7, 16 GB 2133 MHz LPDDR3, Radeon Pro 560 4 GB

@jtheiner jtheiner added the wontfix This will not be worked on label Apr 30, 2021
@jtheiner
Copy link
Owner

Sorry, I cannot help with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants