C# 클래스 Radegast.Rendering.SceneWindow

상속: RadegastTabControl
파일 보기 프로젝트 열기: radegastdev/radegast 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CacheDecodedTextures bool
RenderingEnabled bool
UseMultiSampling bool
Viewport int[]
Wireframe bool
glControl OpenTK.GLControl
invisi1 UUID
invisi2 UUID

공개 메소드들

메소드 설명
CreateReflectionTexture ( float waterHeight, int textureSize ) : void
CreateRefractionDepthTexture ( float waterHeight, int textureSize ) : void
DownloadTexture ( TextureLoadItem item, bool force ) : void
GLHUDBegin ( ) : void
GLHUDEnd ( ) : void
RegisterTabEvents ( ) : void
RenderWater ( ) : void
SceneWindow ( RadegastInstance instance ) : ThreadPoolUtil
SetupGLControl ( ) : void
StartShiny ( ) : void

Select shiny shader as the current shader

TryGetTextureInfo ( UUID textureID, TextureInfo &info ) : bool
TryPick ( int x, int y, object &picked, int &faceID ) : bool
TryPick ( int x, int y, object &picked, int &faceID, Vector3 &worldPos ) : bool
UnregisterTabEvents ( ) : void
UpdateCamera ( ) : void

보호된 메소드들

메소드 설명
KillObjectHandler ( object sender, PacketReceivedEventArgs e ) : void

비공개 메소드들

메소드 설명
Abs ( float p ) : float
AddAvatarToScene ( Avatar av ) : void
Appearance_AppearanceSet ( object sender, AppearanceSetEventArgs e ) : void
Application_Idle ( object sender, EventArgs e ) : void
AvatarAnimationChanged ( object sender, OpenMetaverse.AvatarAnimationEventArgs e ) : void
AvatarDataInitialzied ( ) : void
Avatars_AvatarAppearance ( object sender, OpenMetaverse.AvatarAppearanceEventArgs e ) : void
CalculateBoundingBox ( RenderPrimitive rprim ) : void
CheckKeyboard ( float time ) : void
ControlLoaded ( object sender, EventArgs e ) : void
DisposeInternal ( ) : void
DrawWaterQuad ( float x, float y, float z ) : void
FindClosestDistanceSquared ( Vector3 calcPos, SceneObject p ) : float

Finds the closest distance between the given pos and an object (Assumes that the object is a box slightly)

GenerateSculptOrMeshPrim ( RenderPrimitive rprim, Primitive prim ) : GenericTask
GenericTaskRunner ( ) : void
GetSceneObject ( uint localID ) : SceneObject
GluPerspective ( float fovy, float aspect, float zNear, float zFar ) : void
InitAvatarData ( ) : void
InitCamera ( ) : void
InitShaders ( ) : void
InitWater ( ) : void
IsAttached ( uint parentLocalID ) : bool

Gets attachment state of a prim

LODFactor ( float distance, float radius ) : float
LoadCurrentPrims ( ) : void
LoadTexture ( UUID textureID, Image &texture, bool removeAlpha ) : bool
MainRenderLoop ( ) : void
MeshPrim ( RenderPrimitive rprim ) : void
Netcom_ClientDisconnected ( object sender, DisconnectedEventArgs e ) : void
Network_SimChanged ( object sender, SimChangedEventArgs e ) : void
Objects_AvatarUpdate ( object sender, AvatarUpdateEventArgs e ) : void
Objects_ObjectUpdate ( object sender, PrimEventArgs e ) : void
Objects_TerseObjectUpdate ( object sender, TerseObjectUpdateEventArgs e ) : void
PrimPos ( Primitive prim ) : Vector3
PrimPosAndRot ( SceneObject obj, Vector3 &pos, Quaternion &rot ) : void

Calculates finar rendering position for objects on the scene

RadegastTab_TabAttached ( object sender, EventArgs e ) : void
RadegastTab_TabClosed ( object sender, EventArgs e ) : void
RadegastTab_TabDetached ( object sender, EventArgs e ) : void
Render ( bool picking ) : void
RenderAvatars ( RenderPass pass ) : void
RenderAvatarsSkeleton ( RenderPass pass ) : void
RenderBoundingBox ( SceneObject prim ) : void
RenderObjects ( RenderPass pass ) : void
RenderOccludedObjects ( ) : void
RenderSphere ( float cx, float cy, float cz, float r, int p ) : void
RenderStats ( ) : void
RenderText ( RenderPass pass ) : void
SetPerspective ( ) : void
SetSun ( ) : void
SetWaterPlanes ( ) : void
SortCullInterpolate ( ) : void
Terrain_LandPatchReceived ( object sender, LandPatchReceivedEventArgs e ) : void
TextureThread ( ) : void
TryEndTouchObject ( ) : void
TryTouchObject ( RenderPrimitive LeftclickedObject ) : void
UpdateAvatarAnimations ( RenderAvatar av ) : void
UpdatePrimBlocking ( Primitive prim ) : void
animRecievedCallback ( AssetDownload transfer, Asset asset ) : void
btnReset_Click ( object sender, EventArgs e ) : void
btnSay_Click ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button_driver_Click ( object sender, EventArgs e ) : void
button_vparam_Click ( object sender, EventArgs e ) : void
cbMisc_CheckedChanged ( object sender, EventArgs e ) : void
comboBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void
comboBox_morph_SelectedIndexChanged ( object sender, EventArgs e ) : void
ctxObjects_Opening ( object csender, System ce ) : void

Dynamically construct the context menu when we right click on the screen

gbZoom_Enter ( object sender, EventArgs e ) : void
glControl_Disposed ( object sender, EventArgs e ) : void
glControl_Load ( object sender, EventArgs e ) : void
glControl_MouseDown ( object sender, MouseEventArgs e ) : void
glControl_MouseMove ( object sender, MouseEventArgs e ) : void
glControl_MouseUp ( object sender, MouseEventArgs e ) : void
glControl_MouseWheel ( object sender, MouseEventArgs e ) : void
glControl_Paint ( object sender, EventArgs e ) : void
glControl_Resize ( object sender, EventArgs e ) : void
glControl_UnhookEvents ( ) : void
hsAmbient_Scroll ( object sender, ScrollEventArgs e ) : void
hsDiffuse_Scroll ( object sender, ScrollEventArgs e ) : void
hsLOD_Scroll ( object sender, ScrollEventArgs e ) : void
hsSpecular_Scroll ( object sender, ScrollEventArgs e ) : void
textBox_vparamid_TextChanged ( object sender, EventArgs e ) : void
textBox_y_TextChanged ( object sender, EventArgs e ) : void
textBox_z_TextChanged ( object sender, EventArgs e ) : void
txtChat_KeyDown ( object sender, KeyEventArgs e ) : void
txtChat_TextChanged ( object sender, EventArgs e ) : void
updateAVtes ( RenderAvatar ra ) : void

메소드 상세

CreateReflectionTexture() 공개 메소드

public CreateReflectionTexture ( float waterHeight, int textureSize ) : void
waterHeight float
textureSize int
리턴 void

CreateRefractionDepthTexture() 공개 메소드

public CreateRefractionDepthTexture ( float waterHeight, int textureSize ) : void
waterHeight float
textureSize int
리턴 void

DownloadTexture() 공개 메소드

public DownloadTexture ( TextureLoadItem item, bool force ) : void
item TextureLoadItem
force bool
리턴 void

GLHUDBegin() 공개 메소드

public GLHUDBegin ( ) : void
리턴 void

GLHUDEnd() 공개 메소드

public GLHUDEnd ( ) : void
리턴 void

KillObjectHandler() 보호된 메소드

protected KillObjectHandler ( object sender, PacketReceivedEventArgs e ) : void
sender object
e PacketReceivedEventArgs
리턴 void

RegisterTabEvents() 공개 메소드

public RegisterTabEvents ( ) : void
리턴 void

RenderWater() 공개 메소드

public RenderWater ( ) : void
리턴 void

SceneWindow() 공개 메소드

public SceneWindow ( RadegastInstance instance ) : ThreadPoolUtil
instance RadegastInstance
리턴 ThreadPoolUtil

SetupGLControl() 공개 메소드

public SetupGLControl ( ) : void
리턴 void

StartShiny() 공개 메소드

Select shiny shader as the current shader
public StartShiny ( ) : void
리턴 void

TryGetTextureInfo() 공개 메소드

public TryGetTextureInfo ( UUID textureID, TextureInfo &info ) : bool
textureID UUID
info TextureInfo
리턴 bool

TryPick() 공개 메소드

public TryPick ( int x, int y, object &picked, int &faceID ) : bool
x int
y int
picked object
faceID int
리턴 bool

TryPick() 공개 메소드

public TryPick ( int x, int y, object &picked, int &faceID, Vector3 &worldPos ) : bool
x int
y int
picked object
faceID int
worldPos Vector3
리턴 bool

UnregisterTabEvents() 공개 메소드

public UnregisterTabEvents ( ) : void
리턴 void

UpdateCamera() 공개 메소드

public UpdateCamera ( ) : void
리턴 void

프로퍼티 상세

CacheDecodedTextures 공개적으로 프로퍼티

Cache images after jpeg2000 decode. Uses a lot of disk space and can cause disk trashing
public bool CacheDecodedTextures
리턴 bool

RenderingEnabled 공개적으로 프로퍼티

Is rendering engine ready and enabled
public bool RenderingEnabled
리턴 bool

UseMultiSampling 공개적으로 프로퍼티

Use multi sampling (anti aliasing)
public bool UseMultiSampling
리턴 bool

Viewport 공개적으로 프로퍼티

Size of OpenGL window we're drawing on
public int[] Viewport
리턴 int[]

Wireframe 공개적으로 프로퍼티

Rednder in wireframe mode
public bool Wireframe
리턴 bool

glControl 공개적으로 프로퍼티

The OpenGL surface
public OpenTK.GLControl glControl
리턴 OpenTK.GLControl

invisi1 공개적으로 정적으로 프로퍼티

public static UUID invisi1
리턴 UUID

invisi2 공개적으로 정적으로 프로퍼티

public static UUID invisi2
리턴 UUID