SDK script and LightWave

From Kraytracing Wiki

Jump to: navigation, search

Kray script is also used in LightWave version of Kray. Many of Kray script commands used in LightWave version works with Kray library too. What is more, if you open LightWave scene file .lws with text editor you will see Kray script commands. Here is an example Kray code part of .lws

...
echo '*** Kray script generated by Kray plugin for LightWave';
echo '!** Render global `Raytrace Shadows`,`Raytrace Reflection`,`Raytrace Refraction` is off';
var pi,3.14159265;
var __ppscale,1.2;
var __ppstep,0;
var __ppstop,0;
var __precacheN,1;
...

However most of scene data in LightWave version is passed internally by Kray plugin, not through .lws file. .lws contains only some global scene settings exported from Kray.ls - graphical frontend for LightWave.

Powered by MediaWiki