Is anyone into Phyton Programming?


Advanced search

Message boards : General talk : Is anyone into Phyton Programming?

Author Message
Speedy
Send message
Joined: 25 May 06
Posts: 206
Credit: 657,348
RAC: 0
Message 13868 - Posted: 9 Jun 2015, 5:51:32 UTC

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!!
Live in NZ y not join Smile City?

Profile Janus
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 16 Jun 04
Posts: 4461
Credit: 2,094,806
RAC: 0
Message 13880 - Posted: 20 Jun 2015, 12:32:50 UTC
Last modified: 20 Jun 2015, 12:33:04 UTC

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: 206
Credit: 657,348
RAC: 0
Message 13894 - Posted: 22 Jun 2015, 21:05:20 UTC

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!!
Live in NZ y not join Smile City?


Post to thread

Message boards : General talk : Is anyone into Phyton Programming?