prman-pixar / rendermanforblender Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mattebb/3delightblender
RenderMan for Blender render addon
License: MIT License
This project forked from mattebb/3delightblender
RenderMan for Blender render addon
License: MIT License
Firstly, super neat work :)
I get quite a few errors, suggesting that I should convert the bevelled curves in my model to a mesh, rather than saying 'object has no faces' perhaps it should enumerate the objects and tell the user to convert the curves to meshes before sending to prman, (or generate an intermediate .blend with Curves already converted to mesh?)
In the hair.blend example, changing Suzanne's material selection from diffuse to harimat results in this render:
This didn't happen yesterday. Changing the selection back to diffuse gives a normal render. I'm not yet using IT.
BTW, the crash when rendering my Blender start-up file twice no longer happens, and never occurred with the Blender factory start-up file, only my simple file. My start-up file is from an old version of Blender and that might make a difference.
Exception in module register(): '(....)/scripts/addons_contrib/PRMan/__init__.py'
Traceback (most recent call last):
File "(....)/scripts/modules/addon_utils.py", line 328, in enable
mod.register()
File "(....)/scripts/addons_contrib/PRMan/__init__.py", line 90, in register
properties.register()
File "(....)/scripts/addons_contrib/PRMan/properties.py", line 1458, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass
Are NURBS objects supported? I ask because they are not visible in the render even after doing a convert to mesh operation.
Unfortunately you can't use the Blender Ramp UI easily. We'll have to make our own.
Still having issues. Where do I go to set RMANTREE to PRman 20? What files do I open? Also, how do I do this?
Blender 2.75a
Try to render a simple scene and get the following in the console:
ERROR: ('Export path [E:\RenderManTest\Scene_0001.exr] does not exist.',)
Error: PRMan: Exited
It looks to me like whatever is building the paths is adding extra backslashes.
Currently we do this in rib:
(output object geometry data to /static/object.rib)
in main rib:
....
ReadArchive static/object.rib
Bxdf "PxrDisney" "material_id"
We could do:
(output object geometry data to /static/object.rib)
(output all materials to static/materials.rib)
ReadArchive materials.rib
ReadArchive static/object.rib
Restore State for material_id
This would clean up the rib files dramatically and make ribgen a bit faster. The only downside would be if you had a ton of unused materials in your scene, but on any real scene this would be a huge net win I think
Just summarizing the thread topic.
Deformation blur does not currently work when a mesh is deformed by something other than an armature (in this case a .mdd file).
When Using an emissive geometry (not a lamp). The transform is not edited.
Complete shader nodetree replacement is not supported.
I cant find renderman at all in blender ,I have followed the instuctions where to put it when I get everything which I have,followed to the letter
I also get some kind of error message when I start blender,its been suggested to me that I google this up,i wouldn't know how to list it,or even start for that matter.
I have been looking around in blender ,even with the problems it appears everything is working like its supposed to& everything is there except for renderman
the message it gives is nuts if was the case none of the video,or pictures would work I don't think & everything is working, so I don't know
I have a clip of what I get when I start blender
any ideas?
1 other thing I have not used any 3d stuff in a long time so bear with me
thankx for your time
WARNING: ('export_objects: problem creating MESH [me_0-PIX_GEO-victor_head.002] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_1-PIX_GEO-victor_head.002] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_2-PIX_GEO-victor_head.002] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_3-PIX_GEO-victor_head.002] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_4-PIX_GEO-victor_head.002] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_5-PIX_GEO-victor_head.002] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_6-PIX_GEO-victor_head.002] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_2-PIX_GEO_watch] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_1-PIX_GEO_watch_ring] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_3-PIX_GEO_watch_ring] in memory.',)
WARNING: ('export_objects: problem creating MESH [me_4-PIX_GEO_watch_ring] in memory.',)
I think multi-material rib gen MAY be able to be done without creating new objects. This would improve ribgen times as well.
How to repeat:
Add texture to material -> Start interactive rendering -> Change any material parameter -> Blender crashes
R06002 {ERROR} Wrong state to call RiMakeTexture.
R05004 {WARNING} RiEnd called before its proper nesting level.
I am working on it but a second person is welcome.
Confirmed problems: Depth of field, Physical Camera (only FOV, Tilt Angle, roll angle.)
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\modules\addon_utils.py", line 306, in enable
mod = import(module_name)
File "C:\Users\C. Jack Sparrow\AppData\Roaming\Blender Foundation\Blender\2.74\scripts\addons\PRMan-for-Blender-master__init__.py", line 40, in
from . import engine
File "C:\Users\C. Jack Sparrow\AppData\Roaming\Blender Foundation\Blender\2.74\scripts\addons\PRMan-for-Blender-master\engine.py", line 35, in
import prman
ImportError: No module named 'prman'
Windows 7, Blender 2.75a, Intel Graphics chipset (laptop, latest drivers)
Steps to reproduce:
Blender locks up. Console output shows the following:
The scene renders fine via PRMan, just not with IR.
Log dump:
WM: failed to allocate texture for triple buffer drawing (out of memory).
Error: EXCEPTION_ACCESS_VIOLATION
R05004 {WARNING} RiEnd called before its proper nesting level.
C:\Program Files\Blender Foundation\Blender>An application exception has occurred in PRMAN.EXE.
Error codes: 0x000000006D756964 0xC0000005 0x00000000 (0x00000008) (0x6D756964
)
*** exception ***
The guys at my company are really having trouble.
http://imgur.com/YfRTjTv
First some background: Originally, PRMan failed to load b/c it couldn't find an RMSTREE. I did not originally install a PRMan20 Studio client since I don't have Maya. I re-installed and told it to install the Maya 2016 PRManStudio and that resolved the first error I was getting.
Now I'm stuck; it fails to import the prman_for_python_3 .pyd. It's unclear to me why..???? Here is the stack I'm seeing:
Particularly the size/shape.
Blender version: 2.75 (release)
PRMan addon: 9aecc8b
RenderMan version: 20.1 (non commercial)
Platform: Windows 7 x64
I am unable to use the Interactive Render mode, as one out of two things happen:
blender.crash.log
file being produced (only an Error: EXCEPTION_ACCESS_VIOLATION
being produced)When running from the command line, these are the logs I get.
For the second error (crash after cancelling render):
d:\Program Files\Blender Foundation\Blender>blender -d
Switching to fully guarded memory allocator.
Blender 2.75 (sub 0)
Build: Wed 07/08/2015 10:38 AM Windows
argv[0] = blender-app.exe
argv[1] = -d
Note: No (valid) 'C:\Users\Amy\AppData\Roaming\Blender Foundation\Blender\2.75\config\start
up.blend' found, fall back to built-in default.
read file
Version 272 sub 2 date unknown hash unknown
ordered
OBCube
OBLamp
OBCamera
read file C:\Users\Amy\AppData\Roaming\Blender Foundation\Blender\2.75\config\userpref.blen
d
Version 275 sub 0 date 2015-07-07 14:56 hash c27589e
Read new prefs: C:\Users\Amy\AppData\Roaming\Blender Foundation\Blender\2.75\config\userpre
f.blend
found bundled python: d:\Program Files\Blender Foundation\Blender\2.75\python
read file
Version 262 sub 3 date unknown hash
read file
Version 268 sub 5 date unknown hash
read blend: C:\Users\Amy\Desktop\TPs\untitled.blend
read file C:\Users\Amy\Desktop\TPs\untitled.blend
Version 275 sub 0 date 2015-07-07 14:56 hash c27589e
ordered
OBLamp B
OBLamp G
OBLamp R
OBBottom plane
OBLamp
OBTop plane
OBLeft plane
OBRight plane
OBBack plane
OBSphere
OBCube
OBCamera
Info: PRMan: Done Rendering. (elapsed time: 00:00:05)
Info: Packed 1 files
ED_undo_push: Pack All Into .blend
Evaluate all animation - 0.000000
No Actions, so no animation needs to be evaluated...
R90007 {SEVERE} DisplayWindow failed to send display data (System Error: Invalid argument)
R56005 {SEVERE} Renderer completing shutdown request. (System Error: Invalid argument)
Error: EXCEPTION_ACCESS_VIOLATION
For the first error (straight crash):
d:\Program Files\Blender Foundation\Blender>blender -d
Switching to fully guarded memory allocator.
Blender 2.75 (sub 0)
Build: Wed 07/08/2015 10:38 AM Windows
argv[0] = blender-app.exe
argv[1] = -d
Note: No (valid) 'C:\Users\Amy\AppData\Roaming\Blender Foundation\Blender\2.75\config\start
up.blend' found, fall back to built-in default.
read file
Version 272 sub 2 date unknown hash unknown
ordered
OBCube
OBLamp
OBCamera
read file C:\Users\Amy\AppData\Roaming\Blender Foundation\Blender\2.75\config\userpref.blen
d
Version 275 sub 0 date 2015-07-07 14:56 hash c27589e
Read new prefs: C:\Users\Amy\AppData\Roaming\Blender Foundation\Blender\2.75\config\userpre
f.blend
found bundled python: d:\Program Files\Blender Foundation\Blender\2.75\python
read file
Version 262 sub 3 date unknown hash
read file
Version 268 sub 5 date unknown hash
read blend: C:\Users\Amy\Desktop\TPs\untitled.blend
read file C:\Users\Amy\Desktop\TPs\untitled.blend
Version 275 sub 0 date 2015-07-07 14:56 hash c27589e
ordered
OBLamp B
OBLamp G
OBLamp R
OBBottom plane
OBLamp
OBTop plane
OBLeft plane
OBRight plane
OBBack plane
OBSphere
OBCube
OBCamera
Error: EXCEPTION_ACCESS_VIOLATION
The scene I am using to test is this one: https://www.dropbox.com/s/o7xvd8snkd7jtuf/untitled.blend?dl=0
txmake Error: Could not load input image [/home/patrinux/default.tex]
file: /home/patrinux/Documents/prman_for_blender/cornell-box Tutorial_2/textures/default.tex
txmake Error: Could not load input image [/home/patrinux]
file: /home/patrinux/Documents/prman_for_blender/cornell-box-Tutorial_2/textures/
txmake Error: Could not load input image [/home/patrinux/default.tex]
file: /home/patrinux/Documents/prman_for_blender/cornell-box-Tutorial_2/textures/default.tex
txmake Error: Could not load input image [/home/patrinux]
file: /home/patrinux/Documents/prman_for_blender/cornell-box-Tutorial_2/textures/
A light is consistently moved to a different position at start of PRMan render. Does not happen for Cycles or Blender renderer.
Does IR cache object positions? Perhaps these coordinates are getting cached after IR exit and old coords are being pushed back into Blender UI at render start?
reference forum post: https://renderman.pixar.com/forum/showpost.php?s=&postid=166293
scene file: https://www.dropbox.com/s/86zgtdwxcm1nmc3/rman_dice.zip?dl=0
Blender Metaballs are not currently exported, so I decided to try and implement this as a way for me to learn more about coding for Blender and Renderman. I figured I'd create a GitHub issue to track progress and be able to discuss metaball solutions with all of you experts.
I have a fork of the plugin with a modified export.py that outputs all Blender Metaballs to the primary RIB as a single Blobby/Implicit Surface definition. If you're curious, you can find the fork here:
https://github.com/rendermouse/PRMan-for-Blender
I am having trouble attaching shaders to these implicit surfaces, and could really use some suggestions. I tried using the mpoint method stated in this Pixar appnote, but have yet to produce results.
I'm using the latest blender release on linux, with an up to date PRMan-for-Blender.
I can use the addon and render using prman without problems or warnings.
But some prman nodes are not working correctly for me.
and I have warnings on the terminal like these:
/usr/local/blender-2.75/addons/PRMan-for-Blender/nodes.py:98
rna_uiItemR: property not found: PxrLMPlasticBxdfNode.Clear Coat
/usr/local/blender-2.75/addons/PRMan-for-Blender/nodes.py:98
rna_uiItemR: property not found: PxrLMSubsurfaceBxdfNode.Subsurface
/usr/local/blender-2.75/addons/PRMan-for-Blender/nodes.py:98
rna_uiItemR: property not found: PxrLMSubsurfaceBxdfNode.Specular
/usr/local/blender-2.75/addons/PRMan-for-Blender/nodes.py:98
rna_uiItemR: property not found: PxrLMSubsurfaceBxdfNode.Clear Coat
/usr/local/blender-2.75/addons/PRMan-for-Blender/nodes.py:98
rna_uiItemR: property not found: PxrLMSubsurfaceBxdfNode.Misc
should Batch ri.curve calls in rib,
and make sure to call right attributes also in RIB
From renderman forum:
Test fire render + layer.
https://www.youtube.com/watch?v=siupBaulVoY
https://www.youtube.com/watch?v=kZSxOqCXJ8s
The problems that I have identified.
Bug with new IPR features:
Opened my material test, activated IPR. Got this error but it still launched:
X00002 {ERROR} Plugin error: PxrPathTracer: invalid parameter sampleMode).
Went to the node editor and added in a LMLayer node. IPR did not refresh to show the new inputs. Went to select the material tab and Blender crashes.
Log:
Error: EXCEPTION_ACCESS_VIOLATION
R05004 {WARNING} RiEnd called before its proper nesting level.
C:\Program Files\Blender Foundation\Blender>An application exception has occurre
d in PRMAN.EXE.
Error codes: 0x0000006D75696465 0xC0000005 0x00000000 (0x00000008) (0x75696465
)
*** exception ***
If the material tab is already open when IPR is launched, trying to add a node in the node editor gives me this:
WM: failed to allocate texture for triple buffer drawing (out of memory).
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.75\scripts\modules\nodeite
ms_utils.py", line 99, in draw_node_item
item.draw(item, col, context)
AttributeError: type object 'RendermanOutputNode' has no attribute 'draw'
After that I tried different ways of adding and removing a LMLayer. Adding the layer in the material tab triggers a refresh in IPR and shows the new shading. Deleting the layer in the material tab (by selecting 'remove' in the dropdown) does not trigger a refresh. After creating the LMLayer in the material tab, clicking on the node in the node editor crashes Blender with this error:
Error: EXCEPTION_ACCESS_VIOLATION
C:\Program Files\Blender Foundation\Blender>R05004 {WARNING} RiEnd called before
its proper nesting level.
An application exception has occurred in PRMAN.EXE.
Error codes: 0x000000006D756964 0xC0000005 0x00000000 (0x00000008) (0x6D756964
)
*** exception ***
Close to the same, but one different error code.......
Ex. If you apply a brick texture to a large plane, the texture will cover a rectangular area in the middle of the plane, but leaves two black rectangles above and below the texture. The texture does not stretch across the entire plane.
Add extra buttons to nodes that use textures to control the txmake process. Currently I should have this done in two days or less. Just adding the issue for tracking purposes.
Sport light size, cone angle, and enabling halo for volumetric light doesn't work.
I'm trying to install the plugin in blender does not work in linux
To make sure we don't break things with checkin (I'm the most guilty here.)
A start of list of scenes/features:
Hair
smoke
duplis
multi-material objects
motion blur - transform
motion blur - deform
dof
light emission
"standard" lights
some simple shader node tree
scene with all geometry types: poly, subdiv etc
particles
there an issue when you import an OBJ and the you want to shot the render it crash and say RPman exited
Currently You can attach an osl node but have no way to set the outputs. Perhaps we could introspect the oso file? Also being able to compile them in blender would be great.
Currently only the sockets show in the node editor. Show all settings there.
In particular filenames on windows.
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.