Comments (7)
The previous error I've get from console, but in Blender UI I get:
http://www.pasteall.org/pic/9046
(the previous error appear too much times and erase this error from the console)
from blender-to-renderman.
did you try both blenders render op and the custom one? i've added a checkbox to the render panel "Use BI Render Op" to switch between both.
edit: sorry just checked that i didn't commit that yet. So try to hit F12 maybe that works. If not, wait a little. I'll commit the fix soon.
from blender-to-renderman.
Ok! I'll wait
from blender-to-renderman.
Hi Frigge, I think I've find the main error, is:
I open blender, set renderer to Renderman, and I get:
Traceback (most recent call last):
File "/home/gabriel/Documentos/SoftLibre/Blender/blender25-bf/2.56/scripts/addons/export_renderman/ui.py", line 1320, in draw
active_pass = getactivepass(scene)
File "/home/gabriel/Documentos/SoftLibre/Blender/blender25-bf/2.56/scripts/addons/export_renderman/rm_maintain.py", line 120, in getactivepass
active_pass = passes[rm.passes_index]
IndexError: bpy_prop_collection[index]: index -1 out of range, size 0
location:<unknown location>:-1
location:<unknown location>:-1
The error appear both in the last build on Graphicall.org, and in the last Beta published on Blender.org .
What version of Blender 2.5 are you using?
Regards!!
from blender-to-renderman.
try to hit the "run modal" button in the render panel. When starting the script it has to check if there's a "Beauty" Pass and if not it should create it. If that doesn't happen it means that the modal operator that should execute the checks isn't running.
I know this is an ugly solution but unfortunately at the moment there is no event system in blender's python api so there is no other way to check these kind of things. Luckily the event system is on the way so this is not the final solution but only a workaround to keep things working for now.
If it is still not working you can also add the Beauty pass via python by typing
"C.scene.renderman_settings.passes.add().name="Beauty"" in the console.
Hope it helps
frigge
from blender-to-renderman.
added a check to prevent the IndexError exception. You still need to start the modal operator before doing anything with the script but at least this ugly error should be gone :)
from blender-to-renderman.
Is solved, yes :D
(using C.scene.renderman_settings.passes.add().name="Beauty" )
from blender-to-renderman.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blender-to-renderman.