However if you say It’ll happen everytime then I will tell you that that ODE can behave differently between versions and systems.
coppertop:while walking on the roof player sometime’s shifts forward for some distance.
This is probably caused by the room’s trimesh. ODE is quite sensitive in this regard, so the models for trimeshing must be very nice and clean, otherwise you get strange results sometimes. I will update the map asap with a better version.
when lamp is switched off, FPS meter shows ~120, when I switch a lamp on - framerate drops to ~58-60.
That’s related to lighting and shaders. When you look into the main.py file you’ll see that there’s render.setShaderAuto(). If you disable that you’ll get much better performance at the price of much worse looking flashlight effect. There might be a way to deal with that to some extend (you will always get a frame drop), but I haven’t looked into that yet.
On faster graphic cards it obviously shouldn’t be an issue.player walk’s through the desk sometimes
Oh… That’s interesting. Can you provide more details in what situations this happens? It might be, again, related to trimesh – with ODE it’s much better to use in-engine shapes. I used the trimesh extensively in this sample only because I needed a working environment quickly up and running for codding.
btw, should there be shadows in this sample?
No, this is not supposed to look pretty . There aren’t even static shadows there.
However if you say It’ll happen everytime then I will tell you that that ODE can behave differently between versions and systems.
Can you prove what you said ? ODA can behave differently between versions and systems …I don’t think so
getting an error.
for childNode in branch.getChildren():
AssertionError: !is_empty() at line 345 of panda/src/pgraph/nodePath.cxx
You’re calling getChildren() on an empty NodePath.
I am getting the same error as stereoscopic when running main.py,
Assertion failed: !is_empty() at line 345 of panda/src/pgraph/nodePath.cxx
Traceback (most recent call last):
File “/copperode 1.2.1/main.py”, line 138, in
m.startGame()
File “/copperode 1.2.1/main.py”, line 125, in startGame
self.map.create()
File “/copperode 1.2.1/system/map.py”, line 63, in create
self.processBranch(self.mapRootNode)
File “/copperode 1.2.1/system/map.py”, line 117, in processBranch
for childNode in branch.getChildren():
AssertionError: !is_empty() at line 345 of panda/src/pgraph/nodePath.cxx
We know we are calling .getChildren() on an empty node but we do not know why it is empty. We dont fully understand “-PandaNode” in map.egg, we cant find PandaNode anywhere in the file. Any help would be appreciated.