Draw font to texture or render to texture possible?

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View previous topic View next topic Go down

Draw font to texture or render to texture possible?

Post  John on Tue Feb 24, 2009 12:45 am

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-24

View user profile

Back to top Go down

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

Post  sio2interactive on Tue Feb 24, 2009 1:59 am

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

Posts: 1524
Join date: 2008-08-26
Age: 30
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 Tue Feb 24, 2009 3:45 am

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-24

View user profile

Back to top Go down

View previous topic View next topic Back to top


This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Permissions of this forum:
You cannot reply to topics in this forum