Panda3d beginner here.
I’m trying to write a windowless panda3d program(server side for client/server architecture games)
and the problem is i dont even know how to initialize panda3d without graphic stuff.
I’ve tried google about this, all i found is
load_prc_file_data("", “window-type none”);
but this doesnt work for me.
It doesn’t look like a compatibility problem.
Maybe the panda3D development team given up the cpp version already, like i cant even start a panda3d 1.10.0 project, no matter the offical built or mine, it just crash at start-up.
But there’s too few documents for panda3d in CPP. I don’t know how to do works without help.
Like loading models, the function i knew and tried is WindowFramework::load_model(). besides this, I found ‘loader’ class, but I don’t even know how to use it, no documents, no examples.
if you import the “window” class in CPP, do you have to create the window? i don’t use CPP with Panda3D so i don’t know about this.
but, even if you have to create a window, you can create a small window or you can hide the window, and draw nothing in the window. then you can still think: your Panda3D application is windowless.
i tried these codes and they worked good.
but now i got some new questions to ask:
if codes in 「Loading a model without WindowFramework」 work good why added other methods like WindowFramework::load_model() in panda3d, it did make me puzzled and thought that a WindowFramework is needed for loading models.
why not build panda3d as a single library so users dont need to link multi libraries.
will there be an official build for panda3d android?
im too curious, sorry if it makes you sick, and sorry for my bad english too.
I think it’s just so that they can make use of the convenience functions on WindowFramework that manipulate models (such as toggle wireframe, etc.)
Because not all users want to use all components of Panda3D. This way they can pick and choose which components they use. Although you’re right that we could probably consolidate a few libraries together. This would make things harder on the Panda3D developers though, because every time they make a change to Panda, they would have to relink the entire library, which would take a long time.
Maybe! There do seem to be some community members interested in contributing to an Android port.