google-deepmind / google-deepmind/lab

Example of retrieving a depth image in a customized lua file

Open
#208 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
7.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I wrote a lua file that can retrieve RGB images by following the example named "custom_view.lua". That works fine for me. However, this only shows how to read from a buffer that is returned by dmlab.system.game:renderCustomView(). I am wondering if there is a similar way to retrieve the depth image.

By reading other issues, I notice there exists a depth buffer. Therefore, could you please tell me how to obtain that buffer in lua?

Best,

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.