NOSALRO / robot_dart

RobotDART: a versatile robot simulator for robotics and machine learning researchers
https://nosalro.github.io/robot_dart/
BSD 2-Clause "Simplified" License
48 stars 25 forks source link

Clean/Improve Graphics #37

Open costashatz opened 4 years ago

costashatz commented 4 years ago

The Magnum GUI is working well, but there remains to be a lot of cleaning and more features. In particular:

costashatz commented 4 years ago

One idea to (possibly) make the GUI faster (credits to @mosra for this idea):

Instead of the current:

To test if it is actually going to help..

costashatz commented 4 years ago

Other ideas to improve rendering times (again credits to @mosra):

One more thing to check is the way I am plotting transparent objects (I have a feeling that I am wasting too much time there, even if we do not have any transparency).

costashatz commented 4 years ago

A first cleaning was done with #47... Another thing to investigate is the defines for the plugins; it should not be needed for newer versions of Magnum.

jbmouret commented 4 years ago

I think the graphics do not need to be faster (graphics is not slowing us down, I think). But simpler is better for long-term maintenance.

Also, we need maximum performance in no graphics mode. We usually do not care much in graphics mode (in the worst case, we record a video and play it at the right framerate).

Aneoshun commented 4 years ago

I agree that graphics should remain simple for long-term maintenance. However, we are more and more using cameras during the training, and more and more in video streams. So, faster graphics without overwhelming complexity would be welcome.

(And I agree, max perf in no graphics mode is priority).

costashatz commented 4 years ago

I agree that graphics should remain simple for long-term maintenance. However, we are more and more using cameras during the training, and more and more in video streams. So, faster graphics without overwhelming complexity would be welcome.

I tend to agree with Antoine. I am planning to use the cameras quite a lot in the coming future and thus faster graphics would make my life easier. Of course, faster does not necessarily mean more complex.

Also, we need maximum performance in no graphics mode.

I think we do not really add any serious overhead over plain DART, do we?

costashatz commented 4 years ago

Implement Cascaded Shadow Maps for Directional Lights (see here and here).