C# Класс Fractrace.PictureArt.FastPreviewRenderer

Gestaltlupe default Renderer for fast previews.
Наследование: Fractrace.PictureArt.ScienceRendererBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FastPreviewRenderer ( Fractrace.DataTypes.PictureData pData ) : System

Initialisation.

Защищенные методы

Метод Описание
CreateShadowInfo ( ) : void

Schatteninformationen, wenn das Licht von oben rechts kommen, werden erzeugt. Vorbereitet für weitere Lichtquellen.

CreateSmoothDeph ( ) : void

Lokale Tiefeninformationen werden erzeugt.

CreateSmoothNormales ( ) : void

Die Oberflächennormalen werden abgerundet.

CreateStatisticInfo ( ) : void

Creates boundingbox infos.

DarkenPlane ( ) : void

Die Gestalt wird nach hinten abgedunkelt.

DrawPlane ( ) : void

Erzeugt das Bild im rgb-Format

GetAmbientValue ( double ypos ) : double

Get the value, which is used in computing the field of view.

GetLight ( Fractrace.Geometry.Vec3 normal ) : Fractrace.Geometry.Vec3

Liefert die Farbe der Oberfläche entsprechend der Normalen.

GetRgb ( int x, int y ) : Fractrace.Geometry.Vec3

Get the color information of the bitmap at (x,y)

GetRgbAt ( int x, int y ) : Fractrace.Geometry.Vec3

Liefert die Farbe zum Punkt x,y

IsInSharpShadow ( Fractrace.Geometry.Vec3 point, Fractrace.Geometry.Vec3 ray, double rayLenght, bool inverse, int maxIntersections, int steps ) : int

Test, if the given point is inside the sharp shadow. Returns the number of intersection with the ray and the fractal, but not more than maxIntersections.

NormalizePlane ( ) : void

Weißabgleich und Helligkeitskorrektur.

PreCalculate ( ) : void

Allgemeine Informationen werden erzeugt

SetSmoothDeph ( double sdeph1, double sdeph2 ) : void

Tiefeninformationen werden weicher gemacht.

SmoothEmptyPixel ( ) : void

Bildpunkte, die auf Grund fehlender Informationen nicht geladen werden konnten, werden aus den Umgebungsinformationen gemittelt.

SmoothPlane ( ) : void

Compute field of view.

Описание методов

CreateShadowInfo() защищенный Метод

Schatteninformationen, wenn das Licht von oben rechts kommen, werden erzeugt. Vorbereitet für weitere Lichtquellen.
protected CreateShadowInfo ( ) : void
Результат void

CreateSmoothDeph() защищенный Метод

Lokale Tiefeninformationen werden erzeugt.
protected CreateSmoothDeph ( ) : void
Результат void

CreateSmoothNormales() защищенный Метод

Die Oberflächennormalen werden abgerundet.
protected CreateSmoothNormales ( ) : void
Результат void

CreateStatisticInfo() защищенный Метод

Creates boundingbox infos.
protected CreateStatisticInfo ( ) : void
Результат void

DarkenPlane() защищенный Метод

Die Gestalt wird nach hinten abgedunkelt.
protected DarkenPlane ( ) : void
Результат void

DrawPlane() защищенный Метод

Erzeugt das Bild im rgb-Format
protected DrawPlane ( ) : void
Результат void

FastPreviewRenderer() публичный Метод

Initialisation.
public FastPreviewRenderer ( Fractrace.DataTypes.PictureData pData ) : System
pData Fractrace.DataTypes.PictureData
Результат System

GetAmbientValue() защищенный Метод

Get the value, which is used in computing the field of view.
protected GetAmbientValue ( double ypos ) : double
ypos double
Результат double

GetLight() защищенный Метод

Liefert die Farbe der Oberfläche entsprechend der Normalen.
protected GetLight ( Fractrace.Geometry.Vec3 normal ) : Fractrace.Geometry.Vec3
normal Fractrace.Geometry.Vec3
Результат Fractrace.Geometry.Vec3

GetRgb() защищенный Метод

Get the color information of the bitmap at (x,y)
protected GetRgb ( int x, int y ) : Fractrace.Geometry.Vec3
x int
y int
Результат Fractrace.Geometry.Vec3

GetRgbAt() защищенный Метод

Liefert die Farbe zum Punkt x,y
protected GetRgbAt ( int x, int y ) : Fractrace.Geometry.Vec3
x int
y int
Результат Fractrace.Geometry.Vec3

IsInSharpShadow() защищенный Метод

Test, if the given point is inside the sharp shadow. Returns the number of intersection with the ray and the fractal, but not more than maxIntersections.
protected IsInSharpShadow ( Fractrace.Geometry.Vec3 point, Fractrace.Geometry.Vec3 ray, double rayLenght, bool inverse, int maxIntersections, int steps ) : int
point Fractrace.Geometry.Vec3
ray Fractrace.Geometry.Vec3
rayLenght double
inverse bool
maxIntersections int
steps int
Результат int

NormalizePlane() защищенный Метод

Weißabgleich und Helligkeitskorrektur.
protected NormalizePlane ( ) : void
Результат void

PreCalculate() защищенный Метод

Allgemeine Informationen werden erzeugt
protected PreCalculate ( ) : void
Результат void

SetSmoothDeph() защищенный Метод

Tiefeninformationen werden weicher gemacht.
protected SetSmoothDeph ( double sdeph1, double sdeph2 ) : void
sdeph1 double
sdeph2 double
Результат void

SmoothEmptyPixel() защищенный Метод

Bildpunkte, die auf Grund fehlender Informationen nicht geladen werden konnten, werden aus den Umgebungsinformationen gemittelt.
protected SmoothEmptyPixel ( ) : void
Результат void

SmoothPlane() защищенный Метод

Compute field of view.
protected SmoothPlane ( ) : void
Результат void