Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Can't get 'draw to camera' to work :s

Author
Message
SamKM
15
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 23rd Jul 2015 04:04
Hey people,
Just spent a while trying to find a way to map 2D objects displayed onscreen to an image, the same way that set camera to image maps a 3d display to an image. It looked to me like the simplest way to do that was to use set camera to image on camera zero, then use draw to camera to redirect all 2D to that image - apparently it doesn't work in practice though



Maybe I'm totally misunderstanding how the command works here, but shouldn't the red sprite show up on the plain when you press control? :/
Thanks for any help

The code never bothered me anyway...
WickedX
16
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 23rd Jul 2015 05:33
Set Current Bitmap with the negative camera ID you're using to render the image from.

Login to post a reply

Server time is: 2025-05-12 07:43:11
Your offset time is: 2025-05-12 07:43:11