Use of setOption?

EagleEye

05-04-2006 23:41:54

I am using setOption("LoadNow", ...)

I'm not sure what the second parameter is used for. Does LoadNow need it?

Falagard

06-04-2006 00:10:50

Well, in the plm2 demo source code it passes the camera.

EagleEye

06-04-2006 08:22:52

Is that necessary for it to work?

The reason I'm asking is that I am loading my entire terrain file on my server for collision detection with the physics engine. I'm not even rendering a scene.

My question is, if I don't put a 2nd param there (I'm passing a null IntPtr right now), is it really loading the entire map?

tuan kuranes

06-04-2006 08:31:33

- Camera
- Null if you want to load all possible page set in Config file (maxpreloadpage must be higher or equal to width*height)