I have some experiences with python and pyramid, and now i just start to learn panda3d.
But i wanna know is it possible to use python standard (or even 3rd party) libraries to make connection between a p3d file (which plays in web) and server side application written in pyramid or another python web framework?
i.e. p3d get current session user name from server variable and show it in 3d way.
The reason it doesn’t really involve Panda is that your p3d file is running in a Python process locally on the client computer, which is a different computer than the server. So there’s no direct communication between client and server. Instead, you have to go through the web interfaces, and AJAX might be the easiest way to do this.
Yeah, i’m familiar with js and ajax, but i’m more curious about p3d side and the way i could pass js variable into it.
Ok, i think i found the answer: