Свойство | Тип | Описание | |
---|---|---|---|
DisplayLock | object | ||
RenderedSamples | int | ||
Session | Session | ||
TimeString | string |
Свойство | Тип | Описание | |
---|---|---|---|
PluginId | Guid | ||
PreviewEventArgs | CreatePreviewEventArgs | ||
m_display_update_callback | CSycles.DisplayUpdateCallback | ||
m_doc_serialnumber | uint | ||
m_flush | bool | ||
m_test_cancel_callback | CSycles.TestCancelCallback | ||
m_update_callback | CSycles.UpdateCallback | ||
m_update_render_tile_callback | CSycles.RenderTileCallback | ||
m_view | ViewInfo | ||
m_write_render_tile_callback | CSycles.RenderTileCallback |
Метод | Описание | |
---|---|---|
CheckFlushQueue ( ) : void |
Check if we should change render engine status. If the changequeue has notified us of any changes Flush will be true. If we're rendering then move to State.Halted and cancel our current render progress.
|
|
ColorClamp ( int ch ) : int |
Clamp color so we get valid values for system bitmap
|
|
Continue ( ) : void | ||
CreateFloat4 ( |
||
CreateFloat4 ( byte x, byte y, byte z, byte w ) : float4 | ||
CreateFloat4 ( double x, double y, double z ) : float4 | ||
CreateWorld ( ) : void |
Tell our changequeue instance to initialise world.
|
|
DegToRad ( float ang ) : float | ||
DisplayBuffer ( uint sessionId, uint tx, uint ty, uint tw, uint th ) : void |
Update the RenderWindow or RenderBitmap with the updated tile from Cycles render progress.
|
|
FlushIt ( ) : void |
Flush
|
|
IsPreview ( ) : bool |
True if rendering for preview
|
|
LoggerCallback ( string msg ) : void |
Callback for debug logging facility. Will be called only for Debug builds of ccycles.dll
|
|
Pause ( ) : void | ||
RenderEngine ( Guid pluginId, CreatePreviewEventArgs previewEventArgs, bool interactive ) : System | ||
RenderEngine ( Guid pluginId, uint docRuntimeSerialnumber, ViewInfo view, ViewportInfo vp, bool interactive ) : System | ||
RenderEngine ( Guid pluginId, uint docRuntimeSerialNumber, bool interactive ) : System | ||
SaveRenderedBuffer ( int sample ) : void | ||
SetFloatTextureAsByteTexture ( bool floatAsByte ) : void |
OpenCL doesn't properly support HDRi textures in the environment, so read them as byte textures instead.
|
|
SetProgress ( RenderWindow rw, string msg, float progress ) : void |
Set progress to RenderWindow, if it is not null.
|
|
SetProjectionMode ( Shader shader, |
Set image texture node and link up with correct TextureCoordinateNode output based on texture ProjectionMode. This may add new nodes to the shader!
|
|
StopRendering ( ) : void |
Called when user presses the stop render button.
|
|
TestCancel ( uint sid ) : void | ||
TriggerChangesReady ( ) : void | ||
TriggerSamplesChanged ( int samples ) : void | ||
TriggerStatusTextUpdated ( StatusTextEventArgs e ) : void |
Tell engine to fire StatusTextEvent with given arguments
|
|
UpdateCallback ( uint sid ) : void |
Handle status updates
|
|
UpdateRenderTileCallback ( uint sessionId, uint x, uint y, uint w, uint h, uint depth, int startSample, int numSamples, int sample, int resolution ) : void |
Handle update render tile callback
|
|
WriteRenderTileCallback ( uint sessionId, uint x, uint y, uint w, uint h, uint depth, int startSample, int numSamples, int sample, int resolution ) : void |
Handle write render tile callback
|
Метод | Описание | |
---|---|---|
CreateScene ( Client client, Device render_device, |
create a ccl.Scene
|
|
Database_FilmUpdateTagged ( object sender, EventArgs e ) : void | ||
Database_LightShaderChanged ( object sender, LightShaderUpdatedEventArgs e ) : void | ||
Database_LinearWorkflowChanged ( object sender, LinearWorkflowChangedEventArgs e ) : void | ||
Database_MaterialShaderChanged ( object sender, MaterialShaderUpdatedEventArgs e ) : void | ||
SetCallbacks ( ) : void |
Register the callbacks to the render engine session
|
|
UploadData ( ) : bool |
Main entry point for uploading data to Cycles.
|
Метод | Описание | |
---|---|---|
CreateCyclesShaderFromRhinoV6BasicMat ( |
||
CreateCyclesShaderFromXml ( |
||
CreateMaterialShader ( |
||
CreateSimpleEmissionShader ( |
||
HasSceneChanges ( ) : bool |
Return true if any change has been received through the changequeue
|
|
ReCreateSimpleEmissionShader ( |
||
RecreateBackgroundShader ( |
||
RecreateCyclesShaderFromRhinoV6BasicMat ( |
||
RecreateCyclesShaderFromXml ( |
||
RecreateMaterialShader ( |
||
RegisterEventHandler ( ) : void | ||
SetTextureImage ( EnvironmentTextureNode envnode, |
||
SetTextureImage ( ImageTextureNode imnode, |
||
StopTheRenderer ( ) : void |
public static ColorClamp ( int ch ) : int | ||
ch | int | |
Результат | int |
public static CreateFloat4 ( |
||
color | ||
Результат | float4 |
public static CreateFloat4 ( byte x, byte y, byte z, byte w ) : float4 | ||
x | byte | |
y | byte | |
z | byte | |
w | byte | |
Результат | float4 |
public static CreateFloat4 ( double x, double y, double z ) : float4 | ||
x | double | |
y | double | |
z | double | |
Результат | float4 |
protected static CreateScene ( Client client, Device render_device, |
||
client | Client | Client to create scene for |
render_device | Device | Render device to use |
cycles_engine | Engine instance to create for | |
Результат | Scene |
protected Database_FilmUpdateTagged ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
Результат | void |
protected Database_LightShaderChanged ( object sender, LightShaderUpdatedEventArgs e ) : void | ||
sender | object | |
e | LightShaderUpdatedEventArgs | |
Результат | void |
protected Database_LinearWorkflowChanged ( object sender, LinearWorkflowChangedEventArgs e ) : void | ||
sender | object | |
e | LinearWorkflowChangedEventArgs | |
Результат | void |
protected Database_MaterialShaderChanged ( object sender, MaterialShaderUpdatedEventArgs e ) : void | ||
sender | object | |
e | MaterialShaderUpdatedEventArgs | |
Результат | void |
public static DegToRad ( float ang ) : float | ||
ang | float | |
Результат | float |
public DisplayBuffer ( uint sessionId, uint tx, uint ty, uint tw, uint th ) : void | ||
sessionId | uint | |
tx | uint | |
ty | uint | |
tw | uint | |
th | uint | |
Результат | void |
public static LoggerCallback ( string msg ) : void | ||
msg | string | |
Результат | void |
public RenderEngine ( Guid pluginId, CreatePreviewEventArgs previewEventArgs, bool interactive ) : System | ||
pluginId | Guid | |
previewEventArgs | CreatePreviewEventArgs | |
interactive | bool | |
Результат | System |
public RenderEngine ( Guid pluginId, uint docRuntimeSerialnumber, ViewInfo view, ViewportInfo vp, bool interactive ) : System | ||
pluginId | Guid | |
docRuntimeSerialnumber | uint | |
view | ViewInfo | |
vp | ViewportInfo | |
interactive | bool | |
Результат | System |
public RenderEngine ( Guid pluginId, uint docRuntimeSerialNumber, bool interactive ) : System | ||
pluginId | Guid | |
docRuntimeSerialNumber | uint | |
interactive | bool | |
Результат | System |
public SaveRenderedBuffer ( int sample ) : void | ||
sample | int | |
Результат | void |
public SetFloatTextureAsByteTexture ( bool floatAsByte ) : void | ||
floatAsByte | bool | |
Результат | void |
public SetProgress ( RenderWindow rw, string msg, float progress ) : void | ||
rw | RenderWindow | |
msg | string | |
progress | float | |
Результат | void |
public static SetProjectionMode ( Shader shader, |
||
shader | Shader | |
texture | ||
image_node | ImageTextureNode | |
texture_coordinates | TextureCoordinateNode | |
Результат | void |
public TriggerSamplesChanged ( int samples ) : void | ||
samples | int | |
Результат | void |
public TriggerStatusTextUpdated ( StatusTextEventArgs e ) : void | ||
e | StatusTextEventArgs | |
Результат | void |
public UpdateRenderTileCallback ( uint sessionId, uint x, uint y, uint w, uint h, uint depth, int startSample, int numSamples, int sample, int resolution ) : void | ||
sessionId | uint | |
x | uint | |
y | uint | |
w | uint | |
h | uint | |
depth | uint | |
startSample | int | |
numSamples | int | |
sample | int | |
resolution | int | |
Результат | void |
public WriteRenderTileCallback ( uint sessionId, uint x, uint y, uint w, uint h, uint depth, int startSample, int numSamples, int sample, int resolution ) : void | ||
sessionId | uint | |
x | uint | |
y | uint | |
w | uint | |
h | uint | |
depth | uint | |
startSample | int | |
numSamples | int | |
sample | int | |
resolution | int | |
Результат | void |
protected CreatePreviewEventArgs PreviewEventArgs | ||
Результат | CreatePreviewEventArgs |
protected CSycles.DisplayUpdateCallback m_display_update_callback | ||
Результат | CSycles.DisplayUpdateCallback |
protected CSycles.TestCancelCallback m_test_cancel_callback | ||
Результат | CSycles.TestCancelCallback |
protected CSycles.UpdateCallback m_update_callback | ||
Результат | CSycles.UpdateCallback |
protected CSycles.RenderTileCallback m_update_render_tile_callback | ||
Результат | CSycles.RenderTileCallback |