yunshengtian / Assemble-Them-All

[SIGGRAPH Asia 2022] Assemble Them All: Physics-Based Planning for Generalizable Assembly by Disassembly
http://assembly.csail.mit.edu
MIT License
139 stars 15 forks source link

SimRenderer gives me black images #5

Closed ttsesm closed 1 year ago

ttsesm commented 1 year ago

Hi @yunshengtian,

I am trying to render the states output by setting the --render and the --record-dir parameters but the output is a black .gif file. With a quick debugging I've noticed that the output from the the sim.replay() here is back images: image I am not sure though what could be causing this, any idea?

yunshengtian commented 1 year ago

This is a great catch. Thank you for bringing this up. Could you try commenting out this line? I remember on macos and linux I need different settings on this.

ttsesm commented 1 year ago

This is a great catch. Thank you for bringing this up. Could you try commenting out this line? I remember on macos and linux I need different settings on this.

Sure, I forgot to mention my system which is linux. Btw, after commenting that line I will have to rerun the python setup.py install right?

yunshengtian commented 1 year ago

Yes. How that goes?

ttsesm commented 1 year ago

Yes, this works now ;-)

06397