Hi Zhaoyang,
DIVA for Grasshopper includes an Octree component for this purpose. The Octree that it builds will contain both the Rhino geometry and the sky defined with DIVA for Grasshopper's Sky component. The Octree component should update the geometry and sky in the octree as you make changes to them, which will be reflected live in AcceleradRT.
The camera coordinates can be transferred to AcceleradRT when you start it up. This can be done in Grasshopper C# is as follows:
RhinoViewport vp = Rhino.RhinoDoc.ActiveDoc.Views.ActiveView.ActiveViewport;
Vector3d direction = vp.CameraDirection;
Point3d location = vp.CameraLocation;
string args = string.Format("-vta -vh 180 -vv 180 -vp {0} {1} {2} -vd {3} {4} {5} -vu 0 0 1 -ab 3 -aa 0 -ad 1 -as 0 -lr 4 -lw .002 -x 512 -y 512 -s 10000 -log 3 -m 0.1 scene.oct",
location.X, location.Y, location.Z, direction.X, direction.Y, direction.Z);
ProcessStartInfo processInfo = new ProcessStartInfo("AcceleradRT", args);
processInfo.CreateNoWindow = true;
processInfo.UseShellExecute = false;
Process process = Process.Start(processInfo);
There is already a Grasshopper file that does all of this for you. I can send it to you by private message.
Nathaniel