Experimental PyPRP
Posted: Wed Apr 22, 2015 12:10 pm
Hey everyone,
I was wondering whether people would be interested in an alternative version of PyPRP for Blender 2.7.
You see, I'm playing with procedural terrain creation, and Plasma is a good engine to explore the output, but the old Blender interface and API are really getting on my nerves. So the other day I thought I would try to see how hard it would be to port PyPRP to newest versions of Blender.
Answer: it's tricky as hell. It's a mess since both the Blender API and the Python version changed in Blender 2.7, which means twice as much work to repair everything. That, and having to reinstall newest PIL and PyYaml into Blender's integrated Python module.
I was about to let go, but after meddling with it for 4 hours, I though it would be a waste (plus... you know, it's still fun to do). So I didn't give up and finished it ! (more or less).
Obviously, it will be made redundant by Korman when it comes out, but meanwhile I thought some people might like having access to the source code.
It's not perfect - animations, for instance, don't work yet. I might add that later (hopefully soon), but I've been busy lately, and didn't need it in my test Age. I'll probably fix more things when I find the time (since it's easier to access the API, I might try tweaking/adding some features to make Age building easier).
The rest of the basic stuff - multitexturing and AlcScripting, seem to work fine.
So, if you want, I can upload this version to Github or something. It's not yet ready for big Ages with a lot of content (at least, not until I fix animations), but you can at least export visual stuff, kickables, wavesets, or journals. Also, anyone looking to contribute is of course welcome.
I was wondering whether people would be interested in an alternative version of PyPRP for Blender 2.7.
You see, I'm playing with procedural terrain creation, and Plasma is a good engine to explore the output, but the old Blender interface and API are really getting on my nerves. So the other day I thought I would try to see how hard it would be to port PyPRP to newest versions of Blender.
Answer: it's tricky as hell. It's a mess since both the Blender API and the Python version changed in Blender 2.7, which means twice as much work to repair everything. That, and having to reinstall newest PIL and PyYaml into Blender's integrated Python module.
I was about to let go, but after meddling with it for 4 hours, I though it would be a waste (plus... you know, it's still fun to do). So I didn't give up and finished it ! (more or less).
Obviously, it will be made redundant by Korman when it comes out, but meanwhile I thought some people might like having access to the source code.
It's not perfect - animations, for instance, don't work yet. I might add that later (hopefully soon), but I've been busy lately, and didn't need it in my test Age. I'll probably fix more things when I find the time (since it's easier to access the API, I might try tweaking/adding some features to make Age building easier).
The rest of the basic stuff - multitexturing and AlcScripting, seem to work fine.
So, if you want, I can upload this version to Github or something. It's not yet ready for big Ages with a lot of content (at least, not until I fix animations), but you can at least export visual stuff, kickables, wavesets, or journals. Also, anyone looking to contribute is of course welcome.