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.

sio2ResourceRender and Transforms

2 posters

Go down

sio2ResourceRender and Transforms Empty sio2ResourceRender and Transforms

Post  sctm81 Tue May 19, 2009 1:35 am

I am transforming multiple objects separately using push and pop matrix commands in my render thread function. Is it possible to still use the sio2ResourceRender command with this scenario?

sctm81

Posts : 29
Join date : 2009-04-24

Back to top Go down

sio2ResourceRender and Transforms Empty Re: sio2ResourceRender and Transforms

Post  sio2interactive Tue May 19, 2009 1:59 pm

You can only call GL function within a valid GL context. When you are creating another thread this thread doesn't have no context... you can of course create one and share resources with the main one. This is ideal for loading objects or texture or doing other GL calls.

Google a bit on that you'll find some examples.
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Back to top


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