SIO2widget change in 1.4?
2 posters
SIO2widget change in 1.4?
Hi,
I'm having trouble rendering a widget with a pixmap (.png, .jpg).
Did anything about this change in v1.4?
I have tried hacking the newest version of tutorial07, but I can't seem to get a 2D pixmap widget to render there either.
Thanks!
I'm having trouble rendering a widget with a pixmap (.png, .jpg).
Did anything about this change in v1.4?
I have tried hacking the newest version of tutorial07, but I can't seem to get a 2D pixmap widget to render there either.
Thanks!
chondrite- Posts : 24
Join date : 2009-06-15
Re: SIO2widget change in 1.4?
Take a look at the garden source for more info, but basically the widgets are similar... no big changes...
Re: SIO2widget change in 1.4?
Thanks sio2interactive.
There is definitely something strange going on.
Can you please tell me why this code won't render the widget?
http://pastebin.com/m37db1db6
This code worked fine in v1.3.5.
Thank you!!
There is definitely something strange going on.
Can you please tell me why this code won't render the widget?
http://pastebin.com/m37db1db6
This code worked fine in v1.3.5.
Thank you!!
chondrite- Posts : 24
Join date : 2009-06-15
Re: SIO2widget change in 1.4?
where is your sio2TransformBindMatrix??? since you are calling sio2WidgetRender with SIO2_TRANSFORM_MATRIX_BIND?
Re: SIO2widget change in 1.4?
SIO2_TRANSFORM_MATRIX_BIND
Where is that set?
I do not want to apply the matrix transform. This is just a static background widget.
That code did work fine on 1.3.5.
Thanks!
Where is that set?
I do not want to apply the matrix transform. This is just a static background widget.
That code did work fine on 1.3.5.
Thanks!
chondrite- Posts : 24
Join date : 2009-06-15
Re: SIO2widget change in 1.4?
Simply call sio2TransformBindMatrix( _SIO2widget->_SIO2transform );
and then call sio2WidgetRender( _SIO2widget, SIO2_TRANSFORM_MATRIX_BIND );
then observe the magic
and then call sio2WidgetRender( _SIO2widget, SIO2_TRANSFORM_MATRIX_BIND );
then observe the magic
Re: SIO2widget change in 1.4?
Ah, that's better.
Thank you so much my friend.
By the way, for others reading this, sio2interactive forgot one parameter. The correct call is is:
sio2WidgetRender( bg_widget, sio2->_SIO2window, SIO2_TRANSFORM_MATRIX_BIND );
Thanks again!
Thank you so much my friend.
By the way, for others reading this, sio2interactive forgot one parameter. The correct call is is:
sio2WidgetRender( bg_widget, sio2->_SIO2window, SIO2_TRANSFORM_MATRIX_BIND );
Thanks again!
chondrite- Posts : 24
Join date : 2009-06-15
Re: SIO2widget change in 1.4?
ouppss! ma'bad, you're right... so many function prototype... can't remember them all heheh
glad its working now
Cheers!
glad its working now
Cheers!
Permissions in this forum:
You cannot reply to topics in this forum
|
|