hscriptinstance Procedurals and Deformational Motion Blur

   2063   0   0
User Avatar
Member
4271 posts
Joined: July 2005
Offline
Mantra question.

hscriptinstance procedurals don't have any support for deformational motion blur correct?

As a quick test I created a tube that bends 90 degrees over between frame 1 and 2.

The point attributes are being created correctly for the time step and the IFD looks “correct”. So the only thing I can assume is that the procedural only runs at the first time step.


# { Geometry definitions
ray_detail -s /obj/Procedural: stdin
PGEOMETRY V5
NPoints 3 NPrims 3
NPointGroups 0 NPrimGroups 0
NPointAttrib 1 NVertexAttrib 0 NPrimAttrib 0 NAttrib 1
PointAttrib
bend 3 float 0 0 0
-0.4549963 -0.2978811 3.33536 1 (0 0 0)
0.8893791 -0.3797666 -0.363663 1 (0 0 0)
-0.4047263 -0.2133082 0.9266185 1 (0 0 0)
Run 3 Sphere
0 0.05 0 0 0 0.05 0 0 0 0.05
1 0.05 0 0 0 0.05 0 0 0 0.05
2 0.05 0 0 0 0.05 0 0 0 0.05
DetailAttrib
varmap 1 index 1 “bend -> BEND”
(0)
beginExtra
endExtra

ray_detail -s /obj/Procedural: stdin
PGEOMETRY V5
NPoints 3 NPrims 3
NPointGroups 0 NPrimGroups 0
NPointAttrib 1 NVertexAttrib 0 NPrimAttrib 0 NAttrib 1
PointAttrib
bend 3 float 0 0 0
-0.4537929 -0.2953608 3.333916 1 (90 0 0)
0.8869405 -0.3814375 -0.3632262 1 (90 0 0)
-0.4049585 -0.2142536 0.9256009 1 (90 0 0)
Run 3 Sphere
0 0.05 0 0 0 0.05 0 0 0 0.05
1 0.05 0 0 0 0.05 0 0 0 0.05
2 0.05 0 0 0 0.05 0 0 0 0.05
DetailAttrib
varmap 1 index 1 “bend -> BEND”
(0)
beginExtra
endExtra



ray_object -i 0 /obj/Procedural /obj/Procedural: /obj/Procedural:
ray_transform 0.994973783304402 0.0232462651969325 0.0974001113516727 0 0.0232462163018139 0.892486189572535 -0.450475321022081 0 0.0974001230213475 -0.450475318498907 -0.887459972876938 0 -0.00681636293631624 0.031517852378153 19.3458945192016 1
ray_mtransform 0.994973783304402 0.0232462651969325 0.0974001113516727 0 0.0232462163018139 0.892486189572535 -0.450475321022081 0 0.0974001230213475 -0.450475318498907 -0.887459972876938 0 -0.00681636293631624 0.031517852378153 19.3458945192016 1
ray_stransform 1 0 -0 0 0 1 -0 0 0 0 -1 0 0 0 -0 1
ray_procedural hscriptinstance -S typeMorph -b 10 10 10 -o -O /home/jim/houdini8.0/otls/typeMorph.otl
if(coffees<2,round(float),float)
  • Quick Links