Rendering a video sequence with a Nodes-only scene strip fails with "No camera" error #38074

Closed
opened 9 years ago by jseigelis · 23 comments

System Information
Windows 7 x64

Blender Version
Broken: 2.68.0 r58537, 2.69.0 r60995, 2.69 0074eac
Worked: Unknown

Short description of error
If a scene is created that does not contain a camera, but still has valid output (i.e., only a node network) and this scene is placed in a video sequence strip in another scene, attempting to render the video sequence fails with a "No camera" error, even though the video preview displays correctly.

Similar reports

Exact steps for others to reproduce the error

  1. Create the first scene, Main Scene. Ensure Sequencer is enabled in the scene properties.
  2. Create the second scene, Scene 1. Ensure Compositing is enabled in the scene properties.
  3. In Scene 1, go into the Nodes design surface. Ensure the Use Nodes check box is checked. Remove the default source, add another source (my use case is for Movie Clips, but I used an RGB source in the example as that also reproduces the issue), and wire the output to the Composite input.
  4. In Main Scene, go into the Video Sequence editor. Add a Scene strip for Scene 1. Note that the video preview correctly renders Scene 1 (you may have to move off the current frame -- there are issues refreshing the current frame sometimes).
  5. Attempt to render the video sequence by clicking the Animation button in the scene properties.

Recreated in attachment: Broken_Scene_Rendering.blend

Expected result: video sequence is rendered.
Actual result: video sequence immediately fails to render with error "No camera".

Note that this error is different than if there are no strips at all in the video sequence. In that case the error is "Cannot render, no camera".

**System Information** Windows 7 x64 **Blender Version** Broken: 2.68.0 r58537, 2.69.0 r60995, 2.69 0074eac Worked: Unknown **Short description of error** If a scene is created that does not contain a camera, but still has valid output (i.e., only a node network) and this scene is placed in a video sequence strip in another scene, attempting to render the video sequence fails with a "No camera" error, even though the video preview displays correctly. **Similar reports** - #4463 (unclear) - http://www.blenderartist.org/forum/showthread.php?254572-VSE-render-says-no-camera (seems very close) **Exact steps for others to reproduce the error** 1. Create the first scene, Main Scene. Ensure Sequencer is enabled in the scene properties. 2. Create the second scene, Scene 1. Ensure Compositing is enabled in the scene properties. 3. In Scene 1, go into the Nodes design surface. Ensure the Use Nodes check box is checked. Remove the default source, add another source (my use case is for Movie Clips, but I used an RGB source in the example as that also reproduces the issue), and wire the output to the Composite input. 4. In Main Scene, go into the Video Sequence editor. Add a Scene strip for Scene 1. Note that the video preview correctly renders Scene 1 (you may have to move off the current frame -- there are issues refreshing the current frame sometimes). 5. Attempt to render the video sequence by clicking the Animation button in the scene properties. Recreated in attachment: [Broken_Scene_Rendering.blend](https://archive.blender.org/developer/F62042/Broken_Scene_Rendering.blend) Expected result: video sequence is rendered. Actual result: video sequence immediately fails to render with error "No camera". Note that this error is different than if there are no strips at all in the video sequence. In that case the error is "Cannot render, no camera".
Poster

Changed status to: 'Open'

Changed status to: 'Open'
Poster

Added subscriber: @jseigelis

Added subscriber: @jseigelis

Added subscriber: @KingAnderson34-4

Added subscriber: @KingAnderson34-4

Okay, I found the bug, but did you try adding in a camera in Scene 1 and then trying to render. I know the bug will still happen and should be fixed, but adding a camera in Scene 1 will get your job done.

Okay, I found the bug, but did you try adding in a camera in Scene 1 and then trying to render. I know the bug will still happen and should be fixed, but adding a camera in Scene 1 will get your job done.

Tried it again and this is still a bug. But, use my suggestion from my last comment.

Tried it again and this is still a bug. But, use my suggestion from my last comment.
Poster

Adding a camera does get rid of the error, but the output is wrong (the node network output no longer shows up in the video). I might be doing it wrong.

Adding a camera does get rid of the error, but the output is wrong (the node network output no longer shows up in the video). I might be doing it wrong.

What do you mean by the node network output no longer shows up in the video?

What do you mean by the node network output no longer shows up in the video?
Poster

I'm only using Scene 1 for Nodes, which has its own input and output. There are no 3D objects. When I place a camera in the 3D area, I assume it's looking at that stuff, not the output of Nodes, and so nothing shows up in Main Scene. Are you able to add a camera to the .blend file I attached so I can see how it's supposed to be done?

I'm only using Scene 1 for Nodes, which has its own input and output. There are no 3D objects. When I place a camera in the 3D area, I assume it's looking at that stuff, not the output of Nodes, and so nothing shows up in Main Scene. Are you able to add a camera to the .blend file I attached so I can see how it's supposed to be done?

I think I've found the solution. To help you understand more, please take a look at these files I've assembled.

Broken_Scene_Compressed_fix_file_1.zip

my-system-info.txt

Screenshots:

Broken_Scene_Rendered_Screenshot_1.png

Broken_Scene_Rendered_Screenshot_2.png

Sorry I couldn't upload a longer video in the folder. The site has a 2 migabyte limit of uploading files. But anyway, hoped I helped. If not, just tell me what I did wrong. Thank you.

I think I've found the solution. To help you understand more, please take a look at these files I've assembled. [Broken_Scene_Compressed_fix_file_1.zip](https://archive.blender.org/developer/F63078/Broken_Scene_Compressed_fix_file_1.zip) [my-system-info.txt](https://archive.blender.org/developer/F62987/my-system-info.txt) Screenshots: ![Broken_Scene_Rendered_Screenshot_1.png](https://archive.blender.org/developer/F63010/Broken_Scene_Rendered_Screenshot_1.png) ![Broken_Scene_Rendered_Screenshot_2.png](https://archive.blender.org/developer/F63012/Broken_Scene_Rendered_Screenshot_2.png) Sorry I couldn't upload a longer video in the folder. The site has a 2 migabyte limit of uploading files. But anyway, hoped I helped. If not, just tell me what I did wrong. Thank you.
Poster

Huh... This time when I added a camera, the preview and output looks fine. I have no idea what I did wrong before.

Thank you very much for your help.

Huh... This time when I added a camera, the preview and output looks fine. I have no idea what I did wrong before. Thank you very much for your help.

No problem, dude. Anytime. =)

No problem, dude. Anytime. =)
Owner

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges
Owner

So there is no bug here, can this be closed?

So there is no bug here, can this be closed?
Poster

Using compositing alone can produce output, so IMO it doesn't make sense to require a camera in the scene. The error is clear, but if I don't need a camera because there's nothing to "look at" in 3D world (and the output I want is visible elsewhere), that's very confusing.

It might be simplest to let a camera be optional all the time. I would think that anyone doing 3D work should know enough to add a camera to view the scene. As long as there's no 3D output captured if there's no camera!

If the behaviour is changed to be consistent, then at least users will be able to figure out how to fix the problem on their own.

Using compositing alone can produce output, so IMO it doesn't make sense to require a camera in the scene. The error is clear, but if I don't need a camera because there's nothing to "look at" in 3D world (and the output I want *is visible elsewhere*), that's very confusing. It might be simplest to let a camera be optional all the time. I would think that anyone doing 3D work should know enough to add a camera to view the scene. As long as there's no 3D output captured if there's no camera! If the behaviour is changed to be consistent, then at least users will be able to figure out how to fix the problem on their own.

I guess it can probably be closed.

I guess it can probably be closed.
mont29 commented 9 years ago
Owner

Added subscriber: @mont29

Added subscriber: @mont29
Collaborator

This issue was referenced by blender/blender-addons-contrib@61c9cacbd7

This issue was referenced by blender/blender-addons-contrib@61c9cacbd73f08536196d406a73aca83cd2a87f1
Collaborator

This issue was referenced by 61c9cacbd7

This issue was referenced by 61c9cacbd73f08536196d406a73aca83cd2a87f1
brecht commented 9 years ago
Owner

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
brecht closed this issue 9 years ago
brecht commented 9 years ago
Owner

Closed by commit 61c9cacbd7.

Closed by commit 61c9cacbd7.
brecht commented 9 years ago
Owner

Added subscriber: @brecht

Added subscriber: @brecht
brecht commented 9 years ago
Owner

I think this is a bug, fixed this now.

I think this is a bug, fixed this now.
Poster

Thank you, much appreciated!

Thank you, much appreciated!
Sign in to join this conversation.
No Label
Interest/Alembic
Interest/Animation & Rigging
Interest/Asset Browser
Interest/Asset Browser Project Overview
Interest/Audio
Interest/Automated Testing
Interest/Blender Asset Bundle
Interest/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
Interest/Eevee & Viewport
Interest/Freestyle
Interest/Geometry Nodes
Interest/Grease Pencil
Interest/ID Management
Interest/Images & Movies
Interest/Import/Export
Interest/Line Art
Interest/Masking
Interest/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
Interest/Python API
Interest/Render & Cycles
Interest/Render Pipeline
Interest/Sculpt, Paint & Texture
Interest/Text Editor
Interest/Translations
Interest/Triaging
Interest/Undo
Interest/USD
Interest/User Interface
Interest/UV Editing
Interest/VFX & Video
Interest/Video Sequencer
Interest/Virtual Reality
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
Module › Animation & Rigging
Module › Core
Module › Development Management
Module › Eevee & Viewport
Module › Grease Pencil
Module › Modeling
Module › Nodes & Physics
Module › Pipeline, Assets & IO
Module › Platforms, Builds, Tests & Devices
Module › Python API
Module › Render & Cycles
Module › Sculpt, Paint & Texture
Module › Triaging
Module › User Interface
Module › VFX & Video
Platform/FreeBSD
Platform/Linux
Platform/macOS
Platform/Windows
Priority › High
Priority › Low
Priority › Normal
Priority › Unbreak Now!
Status › Archived
Status › Confirmed
Status › Duplicate
Status › Needs Information from Developers
Status › Needs Information from User
Status › Needs Triage
Status › Resolved
Type › Bug
Type › Design
Type › Known Issue
Type › Patch
Type › Report
Type › To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#38074
Loading…
There is no content yet.