C# 클래스 RhinoCyclesCore.Converters.BitmapConverter

파일 보기 프로젝트 열기: mcneel/RhinoCycles

공개 메소드들

메소드 설명
ApplyGammaToTextures ( float gamma ) : void
EnvironmentBitmapFromEvaluator ( Rhino.Render.RenderEnvironment rm, CyclesTextureImage teximg, float gamma, bool floatAsByte, bool planarProjection ) : void

Get environment bitmap from texture evaluator

ReadByteBitmapFromBitmap ( uint id, int pwidth, int pheight, Bitmap bm ) : ByteBitmap

비공개 메소드들

메소드 설명
InternalMaterialBitmapFromEvaluator ( CyclesShader shader, Rhino.Render.RenderTexture renderTexture, Rhino.Render.RenderMaterial textureType, Rhino rhinotfm, uint rId, Rhino.Render.TextureEvaluator actualEvaluator, TextureProjectionMode projectionMode, TextureEnvironmentMappingMode envProjectionMode ) : void
MaterialBitmapFromEvaluator ( CyclesShader &shader, Rhino.Render.RenderMaterial rm, Rhino.Render.RenderTexture renderTexture, Rhino.Render.RenderMaterial textureType ) : void

Get material bitmap from texture evaluator

ReadByteBitmapFromEvaluator ( int pwidth, int pheight, Rhino.Render.TextureEvaluator textureEvaluator, bool isEnvironment, bool planarProjection ) : byte[]
ReadFloatBitmapFromEvaluator ( int pwidth, int pheight, Rhino.Render.TextureEvaluator textureEvaluator, bool isEnvironment, bool planarProjection ) : float[]

Read image as float array from texture evaluator.

RetrieveBytesImg ( uint rId, int pwidth, int pheight, Rhino.Render.TextureEvaluator textureEvaluator, bool isEnv, bool planarProjection, bool isLinear ) : ByteBitmap
RetrieveFloatsImg ( uint rId, int pwidth, int pheight, Rhino.Render.TextureEvaluator textureEvaluator, bool isEnv, bool planarProjection, bool isLinear ) : FloatBitmap

메소드 상세

ApplyGammaToTextures() 공개 정적인 메소드

public static ApplyGammaToTextures ( float gamma ) : void
gamma float
리턴 void

EnvironmentBitmapFromEvaluator() 공개 정적인 메소드

Get environment bitmap from texture evaluator
public static EnvironmentBitmapFromEvaluator ( Rhino.Render.RenderEnvironment rm, CyclesTextureImage teximg, float gamma, bool floatAsByte, bool planarProjection ) : void
rm Rhino.Render.RenderEnvironment
teximg CyclesTextureImage
gamma float
floatAsByte bool
planarProjection bool
리턴 void

ReadByteBitmapFromBitmap() 공개 정적인 메소드

public static ReadByteBitmapFromBitmap ( uint id, int pwidth, int pheight, Bitmap bm ) : ByteBitmap
id uint
pwidth int
pheight int
bm System.Drawing.Bitmap
리턴 ByteBitmap