Can I edit an object mesh in BGE using python? it seems its possible using GLSL shaders; but i've no idea about that.
Please guide me or give me a example using GLSL.
- It seems, the
bmeshmodule is not accessible in BGE.
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.Sign up to join this community
If you're certain you want to use GLSL, know that it doesn't read like other programming languages.
It's more like the programming language R, in that you can give it data, and it just does specified transformations for you; without what you would normally expect to be in a loop.
If I were to attempt it, I'd start with something easier, like Love2D
Then, once you have an understanding of how to write a GLSL shader,
export an InterQuakeModel from Blender, and use it with Love3D
That just seems like an easy playground to 'tink around with 'em.
After you know what you're doing, then put those GLSL scripts in BGE.
GLSL isn't easy, especially if you have no idea about it.
It would be far easier to use Python to edit a mesh in Blender.