Property | Type | Description | |
---|---|---|---|
DisplayLock | object | ||
RenderedSamples | int | ||
Session | Session | ||
TimeString | string |
Property | Type | Description | |
---|---|---|---|
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 |
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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 CreateFloat4 ( |
||
color | ||
return | float4 |
public static CreateFloat4 ( byte x, byte y, byte z, byte w ) : float4 | ||
x | byte | |
y | byte | |
z | byte | |
w | byte | |
return | float4 |
public static CreateFloat4 ( double x, double y, double z ) : float4 | ||
x | double | |
y | double | |
z | double | |
return | 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 | |
return | Scene |
protected Database_FilmUpdateTagged ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
protected Database_LightShaderChanged ( object sender, LightShaderUpdatedEventArgs e ) : void | ||
sender | object | |
e | LightShaderUpdatedEventArgs | |
return | void |
protected Database_LinearWorkflowChanged ( object sender, LinearWorkflowChangedEventArgs e ) : void | ||
sender | object | |
e | LinearWorkflowChangedEventArgs | |
return | void |
protected Database_MaterialShaderChanged ( object sender, MaterialShaderUpdatedEventArgs e ) : void | ||
sender | object | |
e | MaterialShaderUpdatedEventArgs | |
return | void |
public DisplayBuffer ( uint sessionId, uint tx, uint ty, uint tw, uint th ) : void | ||
sessionId | uint | |
tx | uint | |
ty | uint | |
tw | uint | |
th | uint | |
return | void |
public static LoggerCallback ( string msg ) : void | ||
msg | string | |
return | void |
public RenderEngine ( Guid pluginId, CreatePreviewEventArgs previewEventArgs, bool interactive ) : System | ||
pluginId | Guid | |
previewEventArgs | CreatePreviewEventArgs | |
interactive | bool | |
return | System |
public RenderEngine ( Guid pluginId, uint docRuntimeSerialnumber, ViewInfo view, ViewportInfo vp, bool interactive ) : System | ||
pluginId | Guid | |
docRuntimeSerialnumber | uint | |
view | ViewInfo | |
vp | ViewportInfo | |
interactive | bool | |
return | System |
public RenderEngine ( Guid pluginId, uint docRuntimeSerialNumber, bool interactive ) : System | ||
pluginId | Guid | |
docRuntimeSerialNumber | uint | |
interactive | bool | |
return | System |
public SaveRenderedBuffer ( int sample ) : void | ||
sample | int | |
return | void |
public SetFloatTextureAsByteTexture ( bool floatAsByte ) : void | ||
floatAsByte | bool | |
return | void |
public SetProgress ( RenderWindow rw, string msg, float progress ) : void | ||
rw | RenderWindow | |
msg | string | |
progress | float | |
return | void |
public static SetProjectionMode ( Shader shader, |
||
shader | Shader | |
texture | ||
image_node | ImageTextureNode | |
texture_coordinates | TextureCoordinateNode | |
return | void |
public TriggerSamplesChanged ( int samples ) : void | ||
samples | int | |
return | void |
public TriggerStatusTextUpdated ( StatusTextEventArgs e ) : void | ||
e | StatusTextEventArgs | |
return | 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 | |
return | 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 | |
return | void |
protected CreatePreviewEventArgs PreviewEventArgs | ||
return | CreatePreviewEventArgs |
protected CSycles.DisplayUpdateCallback m_display_update_callback | ||
return | CSycles.DisplayUpdateCallback |
protected CSycles.TestCancelCallback m_test_cancel_callback | ||
return | CSycles.TestCancelCallback |
protected CSycles.UpdateCallback m_update_callback | ||
return | CSycles.UpdateCallback |
protected CSycles.RenderTileCallback m_update_render_tile_callback | ||
return | CSycles.RenderTileCallback |