Draw font to texture or render to texture possible?

Go down

Draw font to texture or render to texture possible?

Post  John on 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

View user profile

Back to top Go down

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

Post  sio2interactive on 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...
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

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

Post  John on 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

View user profile

Back to top Go down

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