prman rib export problem?

   5772   8   0
User Avatar
Member
288 posts
Joined: July 2005
Offline
I tried to add the attribute: Attribute “visibility” “transmission”
with “edit rendering prameters”, but it exported to Attribute “visibility” “transmission” .
With my transparent object and raytrace spot light, it didnt render transparent shadow. Then I exported to rib file and modified it by hand to “shader”, it works. Is it the H9 rman export problem?

btw, the pre-include doesnt work with H9 rman export neither.

I am using houdini 9.0.747 under windows xp.
^_^
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Could this be of help

http://www.fundza.com/cutter/whatsnew/v4.3.0/index.html#otl [fundza.com] in un picking your problem ?

Rob
Gone fishing
User Avatar
Staff
2592 posts
Joined: July 2005
Offline
ykcosmo
I tried to add the attribute: Attribute “visibility” “transmission”
with “edit rendering prameters”, but it exported to Attribute “visibility” “transmission” .
With my transparent object and raytrace spot light, it didnt render transparent shadow. Then I exported to rib file and modified it by hand to “shader”, it works. Is it the H9 rman export problem?

btw, the pre-include doesnt work with H9 rman export neither.

I am using houdini 9.0.747 under windows xp.

I had a little discussion with Pixar about this attribute. If you look in the User's Guide documentation for prman, you'll see that it states that the attribute has an integer value.
Attribute “visibility” “int transmission”
Well, at least for prman13.

However, the boolean values do not work without precise RIB syntax.
Pixar stated that the integer/boolean values had been deprecated in
lieu of string values. However, the actual expected values aren't
documented anywhere…

Perhaps you were looking for the “Transmission Hit Mode” parameter
which determines how the transmission rays are processed?

This parameter exists on the output driver by default and is set to
the default “shader”.

If you really want to output:
Attribute “visibility”
in the RIB stream, you can do so by changing the parameter definition
on the object. Please see the attached .hip file. The RIB generated
looks like this
Attribute “identifier” “name”
Attribute “visibility” “specular”
Attribute “visibility” “transmission”

In order to do this, I
1) Edit parameter interface
2) In the menu tab for the parameter, I added a “shader”/“User Defined Shader” string.
3) Then I chose this value in the UI.

Oh, and include files were added back in with H9.0.761. The object in
the sample file has these parameters as well. They are different from
the Obsolete parameters (which are used only by the H8 RenderMan
driver)

Hope this helps.

Attachments:
attributes.hip.gz (13.7 KB)

User Avatar
Member
288 posts
Joined: July 2005
Offline
Hi ,circusmonkey, thanks for you link and help
hi, mark , thanks for your help, but I still have some problem with it.

I created a new geo in your file, and added the attribute like your geo obj, but it didnt export “attribute xxxx xxxx xxxx” =.=! I attached the file.

btw, I can't understand the pre-include expression in your file, could you explain it?

And, I prefer the houdini 8 preinclude style, easier to write what I want to insert.

Attachments:
attributesx.rar (13.8 KB)

^_^
User Avatar
Staff
2592 posts
Joined: July 2005
Offline
ykcosmo
Hi ,circusmonkey, thanks for you link and help
hi, mark , thanks for your help, but I still have some problem with it.

I created a new geo in your file, and added the attribute like your geo obj, but it didnt export “attribute xxxx xxxx xxxx” =.=! I attached the file.

btw, I can't understand the pre-include expression in your file, could you explain it?

And, I prefer the houdini 8 preinclude style, easier to write what I want to insert.

A little gotcha.

When Houdini generates RIB, it will not output any parameters which are at their default values. This is to keep the RIB files smaller and more manageable.

Since your parameter is at its default value (“shader” – specified in the “Channels” tab of the parameter editor), the value is not output to the RIB stream.

If you change this default to something other than “shader”, it should work.

Oh, the H8 style includes (i.e. the Object pre-include, Object post-include) should be working in a more recent build of H9.0. Just not from the obsolete parameters – use the new ones :-)

Hope this helps.
User Avatar
Member
288 posts
Joined: July 2005
Offline
:?

can't get it to work….=.=! have to go back to H8.2 …… :shock:
^_^
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
ykcosmo , have you got it to work yet ? . I thought with cutter you might be able to reverse engineer your problem.

r
Gone fishing
User Avatar
Member
288 posts
Joined: July 2005
Offline
circusmonkey, thanks for help.

I havent got it yet…. I will try cutter. I turn back to houdini 8.2 now…=.=!
^_^
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Theres also a great new section to go through , shows you some details on setting up cutter to use your Prman shaders in houdini.

http://www.fundza.com/rman_shaders/surface/index.html [fundza.com]


R
Gone fishing
  • Quick Links