thank you painkiller for giving me the idea.

I've made it to work using your code but need to modify it a bit.

this is what I got so far...

this is for lite c only, not yet tested in cscript.
Quote:

BMAP* mirror_bmap;
PANEL* mirror_panel;


VIEW* mirror_view =
{
layer = 10;
size_x = 400;
size_y = 150;
pos_x = 300;
pos_y = 20;
flags = VISIBLE;
}

function handle_mirror()
{
while (!player) {wait (1);}
camera.portal = mirror_view;

mirror_view.fog_start = 0.8 * camera.clip_far; // fog starts at 80% of clip range
mirror_view.fog_end = 0.9 * camera.clip_far; // total foggy at 90% of clip range
mirror_view.arc=90;
set(mirror_view, NOSHADOW|UNTOUCHABLE|VISIBLE);

while (1)
{
proc_kill(4);
mirror_view.genius = camera.genius;
mirror_view.aspect = camera.aspect;
mirror_view.arc = -camera.arc;
mirror_view.x = camera.x;
mirror_view.y = camera.portal_y - (abs(camera.portal_y - camera.y));
mirror_view.z = camera.z;
mirror_view.pan = -camera.pan;
mirror_view.tilt = camera.tilt;
mirror_view.roll = camera.roll;
wait(1);
}

}

function main()
{
level_load(mylevel)
wait(1);
handle_mirror();
}



and this is the output...




this will help out others too. thanks!

Last edited by jpxtreme; 01/24/11 11:20.