FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Draw font to texture or render to texture possible?

2 posters

Go down

Draw font to texture or render to texture possible? Empty Draw font to texture or render to texture possible?

Post  John Mon Feb 23, 2009 5:45 pm

I'm just getting my feet wet with Sio2 and like what I see so far, but curious if there is any way to have a texture the target of the window render operations or more specifically draw font runtime to a texture?

Thanks,

John

John

Posts : 9
Join date : 2009-02-23

Back to top Go down

Draw font to texture or render to texture possible? Empty Re: Draw font to texture or render to texture possible?

Post  sio2interactive Mon Feb 23, 2009 6:59 pm

If you mean render to texture, yeah sure but this is outside the scope of SIO2, however I could always write some function to make it easier...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Draw font to texture or render to texture possible? Empty Re: Draw font to texture or render to texture possible?

Post  John Mon Feb 23, 2009 8:45 pm

Thanks, but I don't expect you to do that for me. Your answer tells me what I need to know
(it doesn't already exist in Sio2), I've got a little more learning on OpenGL but suspect I can write a version of your font routine that could render the font to a texture.

John

Posts : 9
Join date : 2009-02-23

Back to top Go down

Draw font to texture or render to texture possible? Empty Re: Draw font to texture or render to texture possible?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum