2 Cameras in 1 Pic

Blitz3D Forums/Blitz3D Programming/2 Cameras in 1 Pic

Hi,
i want to pu 2 sourcepictures in 1 to create a Red/Green 3D Pic. I have try to use FASTWRITE, but it will not walk.

Need Help

Thanx

You mean merging them by finding the middle value of each pixel? For example if left upper corner pixel on pic 1 is 160,120,70, and the left upper corner pixel on pic 2 is 200,220,30, then the pixel written there will be: 180,170,50. And then with 2 For loops make do that with all pixels. You mean merging that way?

An anoter faster way might be loading each picture as a texture onto surfaces with one face, putting one infront, and one right back, create a camera infront, put their alpha values at 0.50 each, and render. Idunno if that would've worked as you want though.

Sorry if I explained bad :P.

Have a look at this in the Code Archives:

http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=695


I don't think it is what you want but it may give some clues.

IPete2.