VRAY: setTransform transformation occurs in screen space

   1754   0   0
User Avatar
Member
3 posts
Joined: 2月 2009
Offline
Hi
I am writing a Mantra Vray Procedural.
while(condition)
{
modify(xform);
openGeometryObject();
setTransform(xform, 0.0);
addGeometry(gdp, 0.0);
closeObject();
// gdp does not change
}

The problem, transformation happening in screen space. At least I think so. It is absolutely not in world space. Even I tried using xform.translate(i,0,0); and incremented “i” each time,
just to check, and it is getting translated in screen space. How to make the transformation in world space? Please, help.
  • Quick Links