World space to screen space in python code

Hello.

Can anyone please explain to me how I can calculate a screen space coord for a given world space point in panda? I do not mean in a cg shader, but rather in python code.

thanks

hi , welcome to panda:)

i think this should be quite close to what you’r looking for
https://discourse.panda3d.org/viewtopic.php?t=4130

You can also just use Lens.project()

Thanks for your help :slight_smile: