move packages
parent
903ab1409b
commit
75c56c0032
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.colors;
|
package eu.jonahbauer.raytracing.render.color;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A pair of chromaticity coordinates in the xyY color space
|
* A pair of chromaticity coordinates in the xyY color space
|
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.colors;
|
package eu.jonahbauer.raytracing.render.color;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.math.IVec3;
|
import eu.jonahbauer.raytracing.math.IVec3;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
@ -1,9 +1,9 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.colors;
|
package eu.jonahbauer.raytracing.render.color;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.math.Matrix3;
|
import eu.jonahbauer.raytracing.math.Matrix3;
|
||||||
import eu.jonahbauer.raytracing.math.Vec3;
|
import eu.jonahbauer.raytracing.math.Vec3;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.spectrum.DenselySampledSpectrum;
|
import eu.jonahbauer.raytracing.render.spectrum.DenselySampledSpectrum;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.spectrum.Spectrum;
|
import eu.jonahbauer.raytracing.render.spectrum.Spectrum;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
@ -1,6 +1,6 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.colors;
|
package eu.jonahbauer.raytracing.render.color;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.render.spectral.spectrum.Spectra;
|
import eu.jonahbauer.raytracing.render.spectrum.Spectra;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.colors;
|
package eu.jonahbauer.raytracing.render.color;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.math.IVec3;
|
import eu.jonahbauer.raytracing.math.IVec3;
|
||||||
import eu.jonahbauer.raytracing.math.Vec3;
|
import eu.jonahbauer.raytracing.math.Vec3;
|
@ -1,6 +1,6 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.colors;
|
package eu.jonahbauer.raytracing.render.color;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.render.spectral.spectrum.Spectrum;
|
import eu.jonahbauer.raytracing.render.spectrum.Spectrum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A function of the form {@code s(p(x))} where {@code p} is a polynomial of second degree and {@code s} is the sigmoid
|
* A function of the form {@code s(p(x))} where {@code p} is a polynomial of second degree and {@code s} is the sigmoid
|
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.colors;
|
package eu.jonahbauer.raytracing.render.color;
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.colors;
|
package eu.jonahbauer.raytracing.render.color;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.math.Matrix3;
|
import eu.jonahbauer.raytracing.math.Matrix3;
|
||||||
import eu.jonahbauer.raytracing.math.Vec3;
|
import eu.jonahbauer.raytracing.math.Vec3;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.spectrum.Spectrum;
|
import eu.jonahbauer.raytracing.render.spectrum.Spectrum;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
public final class BlackbodySpectrum implements Spectrum {
|
public final class BlackbodySpectrum implements Spectrum {
|
||||||
/**
|
/**
|
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A constant spectrum.
|
* A constant spectrum.
|
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorSpace;
|
import eu.jonahbauer.raytracing.render.color.ColorSpace;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.SigmoidPolynomial;
|
import eu.jonahbauer.raytracing.render.color.SigmoidPolynomial;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorRGB;
|
import eu.jonahbauer.raytracing.render.color.ColorRGB;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
public final class RGBAlbedoSpectrum implements Spectrum {
|
public final class RGBAlbedoSpectrum implements Spectrum {
|
@ -1,8 +1,8 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorSpace;
|
import eu.jonahbauer.raytracing.render.color.ColorSpace;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.SigmoidPolynomial;
|
import eu.jonahbauer.raytracing.render.color.SigmoidPolynomial;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorRGB;
|
import eu.jonahbauer.raytracing.render.color.ColorRGB;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,8 +1,8 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorSpace;
|
import eu.jonahbauer.raytracing.render.color.ColorSpace;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.SigmoidPolynomial;
|
import eu.jonahbauer.raytracing.render.color.SigmoidPolynomial;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorRGB;
|
import eu.jonahbauer.raytracing.render.color.ColorRGB;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
public final class RGBUnboundedSpectrum implements Spectrum {
|
public final class RGBUnboundedSpectrum implements Spectrum {
|
@ -1,10 +1,9 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.math.IVec;
|
import eu.jonahbauer.raytracing.math.IVec;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorSpace;
|
import eu.jonahbauer.raytracing.render.color.ColorSpace;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorXYZ;
|
import eu.jonahbauer.raytracing.render.color.ColorXYZ;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.spectrum.Spectrum;
|
import eu.jonahbauer.raytracing.render.color.ColorRGB;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorRGB;
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
@ -1,8 +1,6 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorXYZ;
|
import eu.jonahbauer.raytracing.render.color.ColorXYZ;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.spectrum.Spectra;
|
|
||||||
import eu.jonahbauer.raytracing.render.spectral.spectrum.Spectrum;
|
|
||||||
import org.jetbrains.annotations.Contract;
|
import org.jetbrains.annotations.Contract;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorXYZ;
|
import eu.jonahbauer.raytracing.render.color.ColorXYZ;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
@ -1,12 +1,10 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import eu.jonahbauer.raytracing.math.Ray;
|
import eu.jonahbauer.raytracing.math.Ray;
|
||||||
import eu.jonahbauer.raytracing.math.Vec3;
|
import eu.jonahbauer.raytracing.math.Vec3;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorSpace;
|
import eu.jonahbauer.raytracing.render.color.ColorSpace;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorXYZ;
|
import eu.jonahbauer.raytracing.render.color.ColorXYZ;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.SampledSpectrum;
|
import eu.jonahbauer.raytracing.render.color.ColorRGB;
|
||||||
import eu.jonahbauer.raytracing.render.spectral.SampledWavelengths;
|
|
||||||
import eu.jonahbauer.raytracing.render.spectral.colors.ColorRGB;
|
|
||||||
import eu.jonahbauer.raytracing.render.texture.Texture;
|
import eu.jonahbauer.raytracing.render.texture.Texture;
|
||||||
import eu.jonahbauer.raytracing.scene.HitResult;
|
import eu.jonahbauer.raytracing.scene.HitResult;
|
||||||
import eu.jonahbauer.raytracing.scene.SkyBox;
|
import eu.jonahbauer.raytracing.scene.SkyBox;
|
@ -1,4 +1,4 @@
|
|||||||
package eu.jonahbauer.raytracing.render.spectral.spectrum;
|
package eu.jonahbauer.raytracing.render.spectrum;
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
Loading…
Reference in New Issue