Since I turned HT threading off, Shave and Hair3 have been fantastic. The softness and speed with Hair3 and GI are amazing.
I have a workflow issue I need some help with:
I need to write the hair into the .vrscene file for each frame. Our pipeline is based on writing out .vrscene files for the standalone. When I translate a scene, it writes the data to the .vrscene for the first frame, but is static from that point forward.
I tried putting shaveRender -frameStart; shaveRender -vrayKeyframe in the Pre Render Frame Mel, but no luck.
From looking at the .vrscene with shave hair, there seems to be a description of the hair node with the shader assignment:
And this looks like the generator for the hair. I assume the draData is the hair primitive description. (I've removed most of the data for this post)
I've also seen that there is a draFile option in the shaveGlobals, also written into the .vrscene file. I don't see an option to write that file, but shave/vray definitely tries to read it if you specify. Could that be a mechanism to store the data?
from looking at the .vrscene
the Node pSolidShape1 never gets updated.
here are the shaveRender available commands:
Ideas?
Thanks,
Zach
I have a workflow issue I need some help with:
I need to write the hair into the .vrscene file for each frame. Our pipeline is based on writing out .vrscene files for the standalone. When I translate a scene, it writes the data to the .vrscene for the first frame, but is static from that point forward.
I tried putting shaveRender -frameStart; shaveRender -vrayKeyframe in the Pre Render Frame Mel, but no luck.
From looking at the .vrscene with shave hair, there seems to be a description of the hair node with the shader assignment:
Code:
Node pSolidShape1@node { transform=Transform(Matrix(Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1)), Vector(0, 0, 0)); geometry=pSolidShape1@mesh2; material=VRayMtlHair31@mtlsingle; nsamples=1; visible=1; user_attributes=""; }
Code:
hairVRayShader pSolidShape1@mesh2 { stackId=0; instanced=0; ownshader=0; squirrel=0; tipfade=1; spectint=Color(1, 0.4029851, 0); spectint2=Color(0, 0, 0); draFile=""; libPath="K:\Public\Pipeline\vray_builds\deploy\Maya2012\vray\vrayplugins"; numFacesPerInst=0; numUVSets=0; uvs=List( ); draData=ListInt( 615018,-1476788224,......a bunch of stuff......0); draSize=76400; cameraVisibility=1; lightVisibility=1; GiVisibility=1; }
from looking at the .vrscene
Code:
// Frame at time 1
here are the shaveRender available commands:
Code:
Synopsis: shaveRender [flags] Flags: -q -query -cdf -createDRAFile String -ee -exportEnd -es -exportStart String -fe -frameEnd -fs -frameStart -occ -occlusionsInDRA -re -renderEnd -rs -renderStart -sw -swatch String UnsignedInt String -tr -targetRenderer UnsignedInt -vr -vrayKeyframe Command Type: Command
Ideas?
Thanks,
Zach
Comment