C# Class Fractrace.PictureArt.PlasicRenderer

Gestaltlupe default Renderer.
Inheritance: Fractrace.PictureArt.ScienceRendererBase
Afficher le fichier Open project: trafassel/Gestaltlupe

Méthodes publiques

Méthode Description
PlasicRenderer ( Fractrace.DataTypes.PictureData pData ) : System

Initialisation.

Méthodes protégées

Méthode Description
CreateShadowInfo ( ) : void

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

CreateSharpShadow ( ) : void

Der Schlagschatten wird erzeugt.

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.

Method Details

CreateShadowInfo() protected méthode

Schatteninformationen, wenn das Licht von oben rechts kommen, werden erzeugt. Vorbereitet für weitere Lichtquellen.
protected CreateShadowInfo ( ) : void
Résultat void

CreateSharpShadow() protected méthode

Der Schlagschatten wird erzeugt.
protected CreateSharpShadow ( ) : void
Résultat void

CreateSmoothDeph() protected méthode

Lokale Tiefeninformationen werden erzeugt.
protected CreateSmoothDeph ( ) : void
Résultat void

CreateSmoothNormales() protected méthode

Die Oberflächennormalen werden abgerundet.
protected CreateSmoothNormales ( ) : void
Résultat void

CreateStatisticInfo() protected méthode

Creates boundingbox infos.
protected CreateStatisticInfo ( ) : void
Résultat void

DarkenPlane() protected méthode

Die Gestalt wird nach hinten abgedunkelt.
protected DarkenPlane ( ) : void
Résultat void

DrawPlane() protected méthode

Erzeugt das Bild im rgb-Format
protected DrawPlane ( ) : void
Résultat void

GetAmbientValue() protected méthode

Get the value, which is used in computing the field of view.
protected GetAmbientValue ( double ypos ) : double
ypos double
Résultat double

GetLight() protected méthode

Liefert die Farbe der Oberfläche entsprechend der Normalen.
protected GetLight ( Fractrace.Geometry.Vec3 normal ) : Fractrace.Geometry.Vec3
normal Fractrace.Geometry.Vec3
Résultat Fractrace.Geometry.Vec3

GetRgb() protected méthode

Get the color information of the bitmap at (x,y)
protected GetRgb ( int x, int y ) : Fractrace.Geometry.Vec3
x int
y int
Résultat Fractrace.Geometry.Vec3

GetRgbAt() protected méthode

Liefert die Farbe zum Punkt x,y
protected GetRgbAt ( int x, int y ) : Fractrace.Geometry.Vec3
x int
y int
Résultat Fractrace.Geometry.Vec3

IsInSharpShadow() protected méthode

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
Résultat int

NormalizePlane() protected méthode

Weißabgleich und Helligkeitskorrektur.
protected NormalizePlane ( ) : void
Résultat void

PlasicRenderer() public méthode

Initialisation.
public PlasicRenderer ( Fractrace.DataTypes.PictureData pData ) : System
pData Fractrace.DataTypes.PictureData
Résultat System

PreCalculate() protected méthode

Allgemeine Informationen werden erzeugt
protected PreCalculate ( ) : void
Résultat void

SetSmoothDeph() protected méthode

Tiefeninformationen werden weicher gemacht.
protected SetSmoothDeph ( double sdeph1, double sdeph2 ) : void
sdeph1 double
sdeph2 double
Résultat void

SmoothEmptyPixel() protected méthode

Bildpunkte, die auf Grund fehlender Informationen nicht geladen werden konnten, werden aus den Umgebungsinformationen gemittelt.
protected SmoothEmptyPixel ( ) : void
Résultat void

SmoothPlane() protected méthode

Compute field of view.
protected SmoothPlane ( ) : void
Résultat void