Message boards :
General talk :
Is anyone into Phyton Programming?
Message board moderation
Author | Message |
---|---|
Speedy Send message Joined: 25 May 06 Posts: 208 Credit: 676,104 RAC: 0 |
Would anybody be interested in writing an algorithm in Phyton. Allowing us to be able to see when progress is made in work units Janus knows what needs to be done just doesn't have the time to do it from my understanding. Is anyone interested in taking this on? Have a crunching good day |
![]() Volunteer moderator Project administrator ![]() Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8 |
Here's a link to the current python script: http://development.burp.renderfarming.net/projects/burp/repository/entry/server/trunk/clients/blender/clirender.py It consists of two things A) A part that sets up the rendering flow, loads the right rendering system settings etc. B) A part that estimates progress There is some documentation in the script as to what it attempts to do. Blender is a complex beast. Artists can build up multi-layered composite scenes, or even multi-scene structures with interlinked rendering. The script tries to create a tree of what is about to happen during the rendering passes by walking through the post-processing tree of the primary scene, counting each layer's tiles etc.; then when the actual render is in progress it counts the number of updates from Blender and reports the progress to Glue3 through an extremely simple protocol. The two outstanding issues for Cycles renders is that 1) Cycles will produce updates during render even between tiles. This breaks the original assumption (from Blender Internal) that updates were only given when a tile completes. The script will need to pull this info via python instead of relying on counters. We see that BI is also starting to use this approach, so maybe the update counter could be made more generic. 2) The post-processing tree will sometimes not include all passes because some passes depend on scene settings too. This is especially the case when a scene contains large amounts of generated geometry as compared to just static geometry. Cycles can take some time to start each pass up, this is not included at all right now. One of the good things about this particular task is that you can do it without knowing anything at all about BURP since it is completely isolated to a python script running inside Blender. |
Speedy Send message Joined: 25 May 06 Posts: 208 Credit: 676,104 RAC: 0 |
Thanks Janus for the information. If I knew what I was doing I would certainly take this on, since I don't I may see if I can find someone that is prepared to make the change needed. I will keep you posted if I find someone keen to take the job on Have a crunching good day |