Hi guys,
I have a video playing in the background of my user interface. It has a resolution 1920X1080, it is about 20 sec, it loops, it is about 9Mb.
When the loaded display is pandagl the frame rate is 900-1000 fps.
When i switch the primary display to pandadx9, the FPS is 10-15.
It is the same code, nothing changes. Any idea why this is happening?
I need to use directx9 and not openGl.
here is the code:
def play_movie(self):
cm = CardMaker('card')
cm.setFrame(0, 4.3, 0, 3.5)
card = aspect2d.attachNewNode(cm.generate())
tex = loader.loadTexture('Movies/Lanceur.mp4')
tex.setLoopCount(0)
card.setTexture(tex)
card.setPos(-2, 0, -1)
card.setScale(1, 1, 1)
tex.play()
Thanks
LebDev