Thanks, this seems like a brilliant idea, but I must not be executing it right. I still get geometry overlap.

ENTITY* sky0;

VIEW* sky_view = {
layer = -9000;
flags = VISIBLE;
x = 0;
y= 0;
z= -20000;
}

function update_sky()
{
sky0.x = sky_view.x;
sky0.y = sky_view.y;
sky0.z = sky_view.z;
sky_view.pan = camera.pan;
sky_view.tilt = camera.tilt;
sky_view.roll = camera.roll;
}
function init_sky()
{
sky0 = ent_create("skygrad2.mdl",vector(sky_view.x,sky_view.y,sky_view.z),set(my,PASSABLE));
}


.... init_sky runs 1 time, update_sky is on a constant check. I feel I must still be missing something critical. Do I need to activate the view?



Last edited by deianthropus; 04/21/10 21:00.