Navigation: Scripting Reference Manual > Functions & Subroutines > WriteRaysFromRayBufferToFRBSFile

 

WriteRaysFromRayBufferToFRBSFile

 

Contact Us: fredsupport@photonengr.com

 

Description

Writes ray data from the active ray buffer to a FredRayBufferSerialize file format.  Depending on the number of rays traced, it may be necessary to dimension ray index and ray counter variables as data type Huge_ instead of Long.  Please see Multi-threaded Raytracing for more information.

 

Syntax

count = WriteRaysFromRayBufferToFRBSFile ( fname )

 

Parameters

count (Long or Huge_)

Number of rays written to file.

 

fname As String

File name of ray file.

 

Remarks

Writes ray data from the active ray buffer to a FredRayBufferSerialize format. These rays are read back into FRED using the command ReadRaysFromFRBSFileToRayBuffer.

 

See Also

ReadRaysFromFRBSFileToRayBuffer

ReadBasicRayDataFromFile

WriteBasicRayDataToFCRFile

Ray Import

ReadSourceUserRays

ReadSourceUserRays2

SetSourcePosImported

 

 

 

 

 

 

Copyright © Photon Engineering, LLC