You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to run codes with IrrApp in while loop like:
while True:
system = chrono.ChSystemNSC()
# set simulation system
....
irr_app = irr.ChIrrApp(system, 'irr', irr.dimension2du(800, 600))
...
while irr_app.GetDevice().run():
irr_app.BeginScene()
irr_app.DrawAll()
system.DoStepDynamics(0.01)
irr_app.EndScene()
if system.GetChTime() > 10:
irr_app.GetDevice().closeDevice()
break
The rendering is correct at the first time(the first loop), and turn black in the following loops.
The text was updated successfully, but these errors were encountered:
When i try to run codes with IrrApp in while loop like:
The rendering is correct at the first time(the first loop), and turn black in the following loops.
The text was updated successfully, but these errors were encountered: