Package org.jwildfire.create.tina.variation

Examples of org.jwildfire.create.tina.variation.FlameTransformationContext


  private FlameTransformationContext flameTransformationContext = null;

  private FlameTransformationContext getFlameTransformationContext() {
    if (flameTransformationContext == null) {
      flameTransformationContext = new FlameTransformationContext(getFlameRenderer(), RandomGeneratorFactory.getInstance(prefs, RandomGeneratorType.getDefaultValue()), 1);
      flameTransformationContext.setPreview(getFlameRenderer().isPreview());
    }
    return flameTransformationContext;
  }
View Full Code Here


    flame = pFlame;
    prefs = pPrefs;
    withAlpha = pWithAlpha;
    preview = pPreview;
    randGen = RandomGeneratorFactory.getInstance(prefs, prefs.getTinaRandomNumberGenerator());
    flameTransformationContext = new FlameTransformationContext(this, randGen, flame.getFrame());
    flameTransformationContext.setPreserveZCoordinate(pFlame.isPreserveZ());
    flameTransformationContext.setPreview(pPreview);
  }
View Full Code Here

    randGen = RandomGeneratorFactory.getInstance(pPrefs, pPrefs.getTinaRandomNumberGenerator(), pThreadId);
    slices = pSlices;
    sliceThicknessMod = pSliceThicknessMod;
    sliceThicknessSamples = pSliceThicknessSamples;
    prefs = pPrefs;
    ctx = new FlameTransformationContext(pRenderer, randGen, pRenderPackets.get(0).getFlame().getFrame());
    ctx.setPreserveZCoordinate(pRenderPackets.get(0).getFlame().isPreserveZ());
    ctx.setPreview(renderer.isPreview());
  }
View Full Code Here

TOP

Related Classes of org.jwildfire.create.tina.variation.FlameTransformationContext

Copyright © 2018 www.massapicom. 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.