-
pview works with threadingmodel.
-
my app doesn’t generate geometries, my new test app has nothing in the scenegraph, my older app has geomipterrain which has bruteforce on.
-
i tested some samples from Panda3D 1.81, i found that “shadow map basic” sample doesn’t run with threading model, the others that i tested still run without problem. on both Atom PCs.
-
i found one thing strange:
i use a start.py to launch my main.py, start.py is like this:
import main
main.init()
run()
with threading model, if i delete the line run() in start.py, then type run() in the python console, my app runs.
even if i add a line: time.sleep(10.0) or Thread.sleep(10.0) before the line run(), the app still doesn’t run.
i don’t know the difference between having run() in start.py and typing run() in the python console, that’s really strange.
-
on either of my PCs (Atom N270 has single core, 2 threads, Atom Z3740 has 4 cores, 8 threads), threading-model doesn’t improve the framerate of my older app with a geomipterrain and some onscreentext. both PCs still run nearly equally fast (normally above 50fps). that’s with unlimited clock mode.
but my app has a function which limits framerate to 30fps, using Thread.sleep (Thread imported from Panda3D). if i turn on the function, my app has much longer sleep time, app process time is cut by more than half. -
with threading model on, and unlimited clock mode, my onscreentext flashes.
-
only Cull/Draw setting works, the other settings hang my app no matter what.
my Atom N270 PC has WinXP SP3, Atom Z3740 PC has Win8.1 32bit.