How to make a Hi Res Camera or Screenshot

Posted By: 48th_Ronin

How to make a Hi Res Camera or Screenshot - 02/28/10 15:10

I am trying to build a level and i need the ability to create a camera high above the level and take a screenshot of the level with a high resolution.

Thanks for any help
Posted By: Espér

Re: How to make a Hi Res Camera or Screenshot - 02/28/10 15:37

uhm...
just move the camera up, above the level, turn it down...

And with:
file_for_screen("name",0);


You make a screenshot.

example:
vec_set(camera.x, vector(0,0,5000));
vec_set(camera.pan, vector(0,-90,0));
file_for_screen("levelshot.png",0);
Posted By: 48th_Ronin

Re: How to make a Hi Res Camera or Screenshot - 02/28/10 15:48

is there a way to adjust the size of the screen shot so i can make it 3000 x 3000 pixels. If I take the screen shot its only monitor res and cant get the detail i need when zoomed in in photoshop. I want to be able to take a large screenshot and bring it in photoshop and at 100% get great detail of the different parts of map at screen res you can't zoom in and do that on a large map.
Posted By: muffel

Re: How to make a Hi Res Camera or Screenshot - 02/28/10 16:13

I would set the screen resolution for this screenshot high using video_window(VECTOR* pos,VECTOR* size,var style,STRING* title)

muffel
Posted By: Germanunkol

Re: How to make a Hi Res Camera or Screenshot - 03/02/10 13:35

Hm. Isn't the problem that the engine can't render more pixels than the screen's wide/high?

So on a 1280*1024 screen, I can't have a 3000*3000 window, can I?

You can try rendering to a bmap, though I've never done it (try muffel's method first). If his method doesn't work, I think I'd start with looking at view.bmap in the manual. You may need "bmap_zbuffer"...
Posted By: Nidhogg

Re: How to make a Hi Res Camera or Screenshot - 03/02/10 13:44

Can't you take seperate snapshots from an above angle and then paste them in photoshop. A longer way around I know but it may be easier than trying to write a function.
Posted By: Germanunkol

Re: How to make a Hi Res Camera or Screenshot - 03/02/10 13:50

Good point. Forget what I wrote, use Nidhogg's idea tongue
© 2023 lite-C Forums