RIB import or modification

Cross22Cross22 Posts: 66

In the advanced render tab I can have DAZ export to a RIB file (attached at bottom). I would like to get a 16 bit depthmap, which SHOULD be possible by inserting the following fragment in the RIB file:

Quantize 65535 0 65535 0
Display "render.tiff" "file" "rgbz" 

I do not want to run 3delight in stand-alone mode. Is there any way to alter the RIB that DAZ uses for rendering to inject the above statements? Or is it possible to tell DAZ to load my modified RIB and render it ?

Exported RIB:

##RenderMan RIB-Structure 1.0
##Creator 3Delight 11.0.47 darwin-x86_64 (Mar  8 2014) "Berto Durante"
##CreationDate Thu Sep  4 12:07:08 2014
Option "render" "bucketorder" [ "horizontal" ] 
Option "limits" "bucketsize" [ 16 16 ] 
Option "render" "integer standardatmosphere" [ 0 ] 
Option "trace" "maxdepth" [ 2 ] 
Attribute "trace" "maxdiffusedepth" [ 2 ] 
Attribute "trace" "maxspeculardepth" [ 2 ] 
Attribute "trace" "bias" [ 0.01 ] 
PixelFilter "sinc" 6 6 
Exposure 1 1 
ShadingRate 1 
PixelSamples 4 4 
Sides 2 
Display "render.tiff" "file" "rgba" 
Imager "background" 
  "color bgcolor" [ 0.4745098 0.5529412 0.6901961 ] 
Format 1143 857 1 
Post edited by Cross22 on

Comments

  • V3DigitimesV3Digitimes Posts: 3,150
    edited September 2014

    http://www.daz3d.com/batch-render-for-daz-studio-4-and-rib
    is your new friend :)

    Maybe it is possible to do without that, but I have never tried.

    Post edited by V3Digitimes on
  • Cross22Cross22 Posts: 66
    edited September 2014

    Thanks Kadix. It is definitely possible to do RIB renders without that script. There was a thread here last year about the required steps.
    Note that this product simply calls through to the 3delight standalone- since DAZ already contains 3delight it seems to me that it should be possible to render the RIB without installing the whole renderer a second time.

    Post edited by Cross22 on
  • V3DigitimesV3Digitimes Posts: 3,150
    edited December 1969

    Well... I do not know more about that, yet if you manage to have the method on how to do that, I'm also interested to know!

Sign In or Register to comment.