Forum: Poser - OFFICIAL


Subject: New Reality (lux render) Plugin over at Daz...time for Poser Plugin Update?

Ridley5 opened this issue on Jul 26, 2010 · 1724 posts


odf posted Tue, 10 August 2010 at 3:21 AM

The attached fragment describes how ADP's latest code has to be changed in order to get a correct field of view (fov) parameter for the Lux camera. I haven't done anything about the positioning of the camera, mind you, but this is a start.

Until we have something more automatic, here's a handy way of getting fairly good matches between Poser and Lux for light and camera positions:

1) IMPORTANT: Measure everything in Poser using native units.
2) Use the dolly camera. I'm not sure yet how the other cameras work.
3) Use spotlights.
4) For all lights and the camera, add an invisible object to the scene to point them at.
5) Compute the field of view from the camera's Focal parameter as follows (like in the attached code):
    fov = 360.0 * math.atan(12.0 / focal) / math.pi

  1. For each light, set the "from" parameter in Lux to the position of the light (in native Poser units; see above). Set the "to" parameter to the position of the object the light points at.
  2. Set the first three arguments of the "LookAt" command to the position of the camera, and the next three to the position of the object the camera points at.

Obviously, this is not perfect. But we'll get there eventually. :laugh:

-- I'm not mad at you, just Westphalian.