Frequently Asked Questions¶
We list some common troubles faced by many users and their corresponding solutions here. Feel free to enrich the list if you find any frequent issues and have ways to help others to solve them. If the contents here do not cover your issue, do not hesitate to create an issue!
API¶
What is stencil_value
¶
stencil_value
is to distinguish different actors in the sequence when rendering segmentation masks.
The RGB mask color of actors will be saved in the {output_path}/actor_infos.json
of the render job.
What is console_variables
¶
console_variables
is a dictionary of console variables for configure detailed rendering settings.
Please refer to the official documentation for more details: Unreal-MRQ-Doc.
example:
>>> console_variables = {'r.MotionBlurQuality': 0} # disable motion blur
RPC Port¶
The RPC port is used for communication between python and engine (blender/unreal).
If the default port is occupied, or you want to use multiple engines at the same time,
you can set the environment variable BLENDER_PORT
or UNREAL_PORT
to change it.
BLENDER_PORT=50051 python xxx.py
$env:BLENDER_PORT=50051; python xxx.py
Known Issues¶
Inaccurate vertices in Unreal Engine¶
The vertices exported from actors in Unreal Engine may be inaccurate. This is a issue in XRFeitoriaUnreal plugin.