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


adp001 posted Sat, 31 July 2010 at 10:08 AM

Yuhu! We have a start!!! :)

Thanks so mutch, odf!

I assume you have had a look into the requirements (and differences) related to geometries we are talking about.

We need a class-method to get a simple object from poser (no normals or uv-coodinates yet), but triangulated.

If we have this and a plain camera/light, we can work on the required metrics/transformations before we go further and deal with normals/uv's and more complicated meshes.

I would prefer to do things object-orientated (classes and methods).
Maybe like this:

class PoserGeometry(Object):
    def __init__(self) :
      self.obj = []
      self.normals=[]
      self.uv=[]


    def getGeometry(self):
      return self.triangulateObj(self.obj)
    
    def getNormals(self) :
      return self.triangulateNormals(self.normals)

    def getUV(self):
      return self.triangulateUV(self.uv)

    def triangulateObj(self, data):
      pass

    def triangulateNormals(self, data):
      pass

    def triangulateUV(self, data):
      pass
<br></br><br></br>