Search in sources :

Example 46 with OutputCapsule

use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.

the class LightProbe method write.

@Override
public void write(JmeExporter ex) throws IOException {
    super.write(ex);
    OutputCapsule oc = ex.getCapsule(this);
    oc.write(irradianceMap, "irradianceMap", null);
    oc.write(prefilteredEnvMap, "prefilteredEnvMap", null);
    oc.write(position, "position", null);
    oc.write(bounds, "bounds", new BoundingSphere(1.0f, Vector3f.ZERO));
    oc.write(ready, "ready", false);
}
Also used : BoundingSphere(com.jme3.bounding.BoundingSphere) OutputCapsule(com.jme3.export.OutputCapsule)

Example 47 with OutputCapsule

use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.

the class RadialBlurFilter method write.

@Override
public void write(JmeExporter ex) throws IOException {
    super.write(ex);
    OutputCapsule oc = ex.getCapsule(this);
    oc.write(sampleDist, "sampleDist", 1.0f);
    oc.write(sampleStrength, "sampleStrength", 2.2f);
}
Also used : OutputCapsule(com.jme3.export.OutputCapsule)

Example 48 with OutputCapsule

use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.

the class SSAOFilter method write.

@Override
public void write(JmeExporter ex) throws IOException {
    super.write(ex);
    OutputCapsule oc = ex.getCapsule(this);
    oc.write(sampleRadius, "sampleRadius", 5.1f);
    oc.write(intensity, "intensity", 1.5f);
    oc.write(scale, "scale", 0.2f);
    oc.write(bias, "bias", 0.1f);
}
Also used : OutputCapsule(com.jme3.export.OutputCapsule)

Example 49 with OutputCapsule

use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.

the class BloomFilter method write.

@Override
public void write(JmeExporter ex) throws IOException {
    super.write(ex);
    OutputCapsule oc = ex.getCapsule(this);
    oc.write(glowMode, "glowMode", GlowMode.Scene);
    oc.write(blurScale, "blurScale", 1.5f);
    oc.write(exposurePower, "exposurePower", 5.0f);
    oc.write(exposureCutOff, "exposureCutOff", 0.0f);
    oc.write(bloomIntensity, "bloomIntensity", 2.0f);
    oc.write(downSamplingFactor, "downSamplingFactor", 1);
}
Also used : OutputCapsule(com.jme3.export.OutputCapsule)

Example 50 with OutputCapsule

use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.

the class ComposeFilter method write.

@Override
public void write(JmeExporter ex) throws IOException {
    super.write(ex);
    OutputCapsule oc = ex.getCapsule(this);
}
Also used : OutputCapsule(com.jme3.export.OutputCapsule)

Aggregations

OutputCapsule (com.jme3.export.OutputCapsule)119 Vector3f (com.jme3.math.Vector3f)17 Matrix3f (com.jme3.math.Matrix3f)4 SafeArrayList (com.jme3.util.SafeArrayList)2 ArrayList (java.util.ArrayList)2 Generic6DofConstraint (com.bulletphysics.dynamics.constraintsolver.Generic6DofConstraint)1 BoundingSphere (com.jme3.bounding.BoundingSphere)1 BoxCollisionShape (com.jme3.bullet.collision.shapes.BoxCollisionShape)1 ChildCollisionShape (com.jme3.bullet.collision.shapes.infos.ChildCollisionShape)1 RotationalLimitMotor (com.jme3.bullet.joints.motors.RotationalLimitMotor)1 Plane (com.jme3.math.Plane)1 Quaternion (com.jme3.math.Quaternion)1 Vector2f (com.jme3.math.Vector2f)1 Mesh (com.jme3.scene.Mesh)1 ShaderNodeVariable (com.jme3.shader.ShaderNodeVariable)1 List (java.util.List)1