Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Game programming

Change Camera output  [SOLVED]

All about the StoneScript

Change Camera output

Postby MrGamer » 09 Jul 2012, 12:59

hi
Please could anyone tell me how can i change camera output in code. I have a camera and i set its output to render map in the setting. Now i want to change it to Framebuffer and render map in runtime. Is there any function to change the camera output at runtime.:?:
Thanks
MrGamer
Expert Boarder
Expert Boarder
 
Posts: 137

Re: Change Camera output  [SOLVED]

Postby broozar » 10 Jul 2012, 06:16

i do not believe this is possible. however, you can predefine 2 cameras, one with the framebuffer target and one with the rendermap output, and switch between them (set active/deactivate).
User avatar
broozar
Platinum Boarder
Platinum Boarder
 
Posts: 3529
Location: Berlin - Germany

Re: Change Camera output

Postby MrGamer » 10 Jul 2012, 11:50

Thks for your answer. May be I need to think in different way. :D
MrGamer
Expert Boarder
Expert Boarder
 
Posts: 137


Return to Game programming