Examples of DOFBlurShape


Examples of org.jwildfire.create.tina.render.dof.DOFBlurShape

    }
    if ((hs = atts.get(ATTR_CAM_DOF_FADE)) != null) {
      pFlame.setCamDOFFade(Double.parseDouble(hs));
    }
    {
      DOFBlurShape shape = pFlame.getCamDOFShape().getDOFBlurShape();
      List<String> paramNames = shape.getParamNames();
      if (paramNames.size() > 0 && (hs = atts.get(ATTR_CAM_DOF_PARAM1)) != null) {
        pFlame.setCamDOFParam1(Double.parseDouble(hs));
      }
      if (paramNames.size() > 1 && (hs = atts.get(ATTR_CAM_DOF_PARAM2)) != null) {
        pFlame.setCamDOFParam2(Double.parseDouble(hs));
View Full Code Here

Examples of org.jwildfire.create.tina.render.dof.DOFBlurShape

    attrList.add(xb.createAttr(ATTR_CAM_DOF_SHAPE, pFlame.getCamDOFShape().toString()));
    attrList.add(xb.createAttr(ATTR_CAM_DOF_SCALE, pFlame.getCamDOFScale()));
    attrList.add(xb.createAttr(ATTR_CAM_DOF_ROTATE, pFlame.getCamDOFAngle()));
    attrList.add(xb.createAttr(ATTR_CAM_DOF_FADE, pFlame.getCamDOFFade()));
    DOFBlurShape shape = pFlame.getCamDOFShape().getDOFBlurShape();
    if (shape != null) {
      List<String> paramNames = shape.getParamNames();
      if (paramNames.size() > 0) {
        attrList.add(xb.createAttr(ATTR_CAM_DOF_PARAM1, pFlame.getCamDOFParam1()));
        if (paramNames.size() > 1) {
          attrList.add(xb.createAttr(ATTR_CAM_DOF_PARAM2, pFlame.getCamDOFParam2()));
          if (paramNames.size() > 2) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.