lab icon indicating copy to clipboard operation
lab copied to clipboard

How to make transparent objects?

Open jafphd opened this issue 5 years ago • 2 comments

I would appreciate some indications on how to make invisible objects. I was thinking on placing objects such as apples or lemons in different parts of the arena but I do not know how to hide them (I mean making them invisible). I tried to make the "lemon_d.tga" transparent but I get an untextured object as in the following example.

Otherwise, other options that I tried but still do not have a solution: -- Is there a way to define a command in DMLab to place objects but not showing it to the agent? -- Is there a way to control the size of the object? I tried to edit the "lemon.md3" file using QuArK 6.6 but no idea how to control the size or its properties (e.g. texture) that are shown in DMLab.

Comments would be welcomed! Thanks.

example_lemon

jafphd avatar Jun 19 '20 03:06 jafphd

@charlesbeattie: could you perhaps take a look?

tkoeppe avatar Sep 28 '20 16:09 tkoeppe

Make your model texture textures/map/space_glass:

https://github.com/deepmind/lab/blob/master/assets/scripts/dm_lab.shader#L166

ghost avatar May 20 '21 04:05 ghost