akloster / blender-asyncio Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
I struggled getting asyncio to work not knowing about this bridge, mainly because I did not understand coroutines in python.
Is this bridge still necessary in blender 2.77? if so, I will try and add the asyncio_bridge.py
as an addon and if needed add a pull request here. essentially this seems so general, it should eventually move into blender, no?
There's '_test.blend' (not '_tests.blend'), therefore this command from readme.md doesn't work:
blender async_tests.blend --python async_tests.py
So, is this code suitable for having external editor to send python code to blender and to autocomplete bpy.commands inside the external editor?
Came across this from the blender-contribs list. Here's an example of something I've been looking at, if you could point me to the code here where I should start looking, that would be appreciated!
So imagine you have some network rendering solution, you hit render in blender, and it starts the rendering remotely or even in a separate process. As tiles/buckets of the render are done it would receive those over the network (asynchronously), and write to the renderresult. If you take a look at the RenderEngine plugin example this might make more sense : https://docs.blender.org/api/blender_python_api_current/bpy.types.RenderEngine.html
It seems like the correct thing would be to start the server which would receive rendered tiles in the render_scene method in the linked example. So I did that, just wasn't sure if there was some way we should be grabbing the correct event loop, it also seems like the blender ui freezes when end_result() is called.
Thoughts? Thanks for the example!
I wanted to know if you currently answer questions about this plugin.. thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.