class_docstr: An implementation of a rendering backend in Blender/Cycles.
class_docstr_tok: ["An","implementation","of","a","rendering","backend","in","Blender\/Cycles","."]
docstr: Render a single frame (first frame by default).
  
  Args:
  frame: Which frame to render (defaults to scene.frame_start).
  ignore_missing_textures: if False then raise a RuntimeError when missing textures are
    detected. Otherwise, proceed to render (with purple color instead of missing texture).
  return_layers: list of layers to return. For possible values refer to
    the Blender.post_processors dict. Defaults to ("backward_flow",
    "forward_flow", "depth", "normal", "object_coordinates", "segmentation").
  Returns:
  A dictionary with one entry for each return layer. By default:
      - "rgba": shape = (height, width, 4)
      - "segmentation": shape = (height, width, 1) (int)
      - "backward_flow": shape = (height, width, 2) (float32)
      - "forward_flow": shape = (height, width, 2) (float32)
      - "depth": shape = (height, width, 1) (float32)
      - "object_coordinates": shape = (height, width, 3) (uint16)
      - "normal": shape = (height, width, 3) (uint16)
docstr_tok: ["Render","a","single","frame","(","first","frame","by","default",")",".","Args",":","frame",":","Which","frame","to","render","(","defaults","to","scene.frame_start",")",".","ignore_missing_textures",":","if","False","then","raise","a","RuntimeError","when","missing","textures","are","detected",".","Otherwise",",","proceed","to","render","(","with","purple","color","instead","of","missing","texture",")",".","return_layers",":","list","of","layers","to","return",".","For","possible","values","refer","to","the","Blender.post_processors","dict",".","Defaults","to","(","``","backward_flow","''",",","``","forward_flow","''",",","``","depth","''",",","``","normal","''",",","``","object_coordinates","''",",","``","segmentation","''",")",".","Returns",":","A","dictionary","with","one","entry","for","each","return","layer",".","By","default",":","-","``","rgba","''",":","shape","=","(","height",",","width",",","4",")","-","``","segmentation","''",":","shape","=","(","height",",","width",",","1",")","(","int",")","-","``","backward_flow","''",":","shape","=","(","height",",","width",",","2",")","(","float32",")","-","``","forward_flow","''",":","shape","=","(","height",",","width",",","2",")","(","float32",")","-","``","depth","''",":","shape","=","(","height",",","width",",","1",")","(","float32",")","-","``","object_coordinates","''",":","shape","=","(","height",",","width",",","3",")","(","uint16",")","-","``","normal","''",":","shape","=","(","height",",","width",",","3",")","(","uint16",")"]
code: def render_still(
      self,
      frame: Optional[int] = None,
      ignore_missing_textures: bool = False,
      return_layers: Sequence[str] = (
          "rgba",
          "backward_flow",
          "forward_flow",
          "depth",
          "normal",
          "object_coordinates",
          "segmentation",
      ),
  ):
      """Render a single frame (first frame by default).
  
      Args:
      frame: Which frame to render (defaults to scene.frame_start).
      ignore_missing_textures: if False then raise a RuntimeError when missing textures are
        detected. Otherwise, proceed to render (with purple color instead of missing texture).
      return_layers: list of layers to return. For possible values refer to
        the Blender.post_processors dict. Defaults to ("backward_flow",
        "forward_flow", "depth", "normal", "object_coordinates", "segmentation").
      Returns:
      A dictionary with one entry for each return layer. By default:
          - "rgba": shape = (height, width, 4)
          - "segmentation": shape = (height, width, 1) (int)
          - "backward_flow": shape = (height, width, 2) (float32)
          - "forward_flow": shape = (height, width, 2) (float32)
          - "depth": shape = (height, width, 1) (float32)
          - "object_coordinates": shape = (height, width, 3) (uint16)
          - "normal": shape = (height, width, 3) (uint16)
      """
      frame = self.scene.frame_start if frame is None else frame
  
      result = self.render(
          frames=[frame],
          ignore_missing_textures=ignore_missing_textures,
          return_layers=return_layers,
      )
      return {k: v[0] for k, v in result.items()}
  
imports: import collections
  import io
  import logging
  import os
  import sys
  from contextlib import redirect_stdout
  from typing import Any, Dict, Optional, Sequence, Union
  import tempfile
  from kubric.safeimport.bpy import bpy
  import numpy
  import tensorflow
  from singledispatchmethod import singledispatchmethod
  import kubric
  from kubric import core
  from kubric.core.assets import UndefinedAsset
  from kubric.redirect_io import RedirectStream
  from kubric.renderer import blender_utils
  from kubric import file_io
  from kubric.file_io import PathLike
label_desc: Use image node_id 18 for calling the Blender obj's underlying member method code with example usage: obj.render_still(frame, ignore_missing_textures, return_layers) and returns: unknown