<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Welcome!</title>
	<atom:link href="http://dword.dk/blog/2006/07/welcome/feed/" rel="self" type="application/rss+xml" />
	<link>http://dword.dk/blog/2006/07/welcome/</link>
	<description>Software development, 3d graphics, open source, and other stuff...</description>
	<pubDate>Mon, 21 May 2012 00:15:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: DWORD</title>
		<link>http://dword.dk/blog/2006/07/welcome/#comment-10413</link>
		<dc:creator>DWORD</dc:creator>
		<pubDate>Fri, 29 Feb 2008 17:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://dword.dk/blog/?p=15#comment-10413</guid>
		<description>Hi Hassen,

What you execute is just a script for jumping to the correct folder before execution of the binary itself. You can do this manually by going to the bin folder of gtkogre and executing ../src/gtkogre from there.

I'm not really maintaining this widget, and I still think there are some problems with it. But maybe you'll find some of it useful.

Best regards</description>
		<content:encoded><![CDATA[<p>Hi Hassen,</p>
<p>What you execute is just a script for jumping to the correct folder before execution of the binary itself. You can do this manually by going to the bin folder of gtkogre and executing ../src/gtkogre from there.</p>
<p>I&#8217;m not really maintaining this widget, and I still think there are some problems with it. But maybe you&#8217;ll find some of it useful.</p>
<p>Best regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hassen</title>
		<link>http://dword.dk/blog/2006/07/welcome/#comment-10412</link>
		<dc:creator>hassen</dc:creator>
		<pubDate>Fri, 29 Feb 2008 14:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://dword.dk/blog/?p=15#comment-10412</guid>
		<description>Hi,

Thank you for sharing your ideas.

when executing gtkogre i have this error message (installation is ok):

./gtkogre: 2: pushd: not found
./gtkogre: 3: ../src/gtkogre: not found
./gtkogre: 4: popd: not found

Thank you!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for sharing your ideas.</p>
<p>when executing gtkogre i have this error message (installation is ok):</p>
<p>./gtkogre: 2: pushd: not found<br />
./gtkogre: 3: ../src/gtkogre: not found<br />
./gtkogre: 4: popd: not found</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfmanfx</title>
		<link>http://dword.dk/blog/2006/07/welcome/#comment-20</link>
		<dc:creator>Wolfmanfx</dc:creator>
		<pubDate>Sun, 13 Aug 2006 13:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://dword.dk/blog/?p=15#comment-20</guid>
		<description>I must say that the expose with a parent eventbox dont work good because it only calls the expose event of the parent when the windows resizes otherwise no call and it work like before....</description>
		<content:encoded><![CDATA[<p>I must say that the expose with a parent eventbox dont work good because it only calls the expose event of the parent when the windows resizes otherwise no call and it work like before&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ocelot</title>
		<link>http://dword.dk/blog/2006/07/welcome/#comment-18</link>
		<dc:creator>Ocelot</dc:creator>
		<pubDate>Fri, 11 Aug 2006 17:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://dword.dk/blog/?p=15#comment-18</guid>
		<description>I don't know what a problem you have with expose event, but if you talk about lack of repainting when ogre widget is cover by menu or other gtk widget, I've resolve it by adding expose event function to the parent widget.
e.g.
box - container for the gtkOgre
mOgre - Ogre widget 
g_signal_connect(G_OBJECT(box), "expose_event", G_CALLBACK(on_expose_event), mOgre);
and function:
gboolean WinMain::on_expose_event(GtkWidget *pWidget, GdkEventExpose *pEvent, gpointer pUserData){
 gdk_window_invalidate_rect(GTK_WIDGET(pUserData)-&#62;window, &#38;GTK_WIDGET(pUserData)-&#62;allocation, FALSE);
 return FALSE;
};

PS. DWORD do you try resolve problems with other signals, especially with button_press?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know what a problem you have with expose event, but if you talk about lack of repainting when ogre widget is cover by menu or other gtk widget, I&#8217;ve resolve it by adding expose event function to the parent widget.<br />
e.g.<br />
box - container for the gtkOgre<br />
mOgre - Ogre widget<br />
g_signal_connect(G_OBJECT(box), &#8220;expose_event&#8221;, G_CALLBACK(on_expose_event), mOgre);<br />
and function:<br />
gboolean WinMain::on_expose_event(GtkWidget *pWidget, GdkEventExpose *pEvent, gpointer pUserData){<br />
 gdk_window_invalidate_rect(GTK_WIDGET(pUserData)-&gt;window, &amp;GTK_WIDGET(pUserData)-&gt;allocation, FALSE);<br />
 return FALSE;<br />
};</p>
<p>PS. DWORD do you try resolve problems with other signals, especially with button_press?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfmanfx</title>
		<link>http://dword.dk/blog/2006/07/welcome/#comment-17</link>
		<dc:creator>Wolfmanfx</dc:creator>
		<pubDate>Fri, 11 Aug 2006 00:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://dword.dk/blog/?p=15#comment-17</guid>
		<description>I have found it or maybe not its some kind of a hack i have thought of our problem that the window doesnt repaint it was quite simple cause ogre renders only one frame like a screenshot in each widget now when u overlap a ogre widget it doest repaint cause noone is calling the ogre renderloop only when we resize the window a new screenshot is made.
To overcome this i added a idle function to gtk main loop

gtk_idle_add((GtkFunction)onFrame,0);

static gboolean onFrame()
{
	 Ogre::Root::getSingletonPtr()-&#62;renderOneFrame();
	return TRUE;
}

it was only for testing now the widget work the way i like :)(of course it eats some cpu time but this we can easy overcome with a frame break)

So what do u think about this?

best regards....its time for some sleeping :)</description>
		<content:encoded><![CDATA[<p>I have found it or maybe not its some kind of a hack i have thought of our problem that the window doesnt repaint it was quite simple cause ogre renders only one frame like a screenshot in each widget now when u overlap a ogre widget it doest repaint cause noone is calling the ogre renderloop only when we resize the window a new screenshot is made.<br />
To overcome this i added a idle function to gtk main loop</p>
<p>gtk_idle_add((GtkFunction)onFrame,0);</p>
<p>static gboolean onFrame()<br />
{<br />
	 Ogre::Root::getSingletonPtr()-&gt;renderOneFrame();<br />
	return TRUE;<br />
}</p>
<p>it was only for testing now the widget work the way i like :)(of course it eats some cpu time but this we can easy overcome with a frame break)</p>
<p>So what do u think about this?</p>
<p>best regards&#8230;.its time for some sleeping <img src='http://dword.dk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfmanfx</title>
		<link>http://dword.dk/blog/2006/07/welcome/#comment-16</link>
		<dc:creator>Wolfmanfx</dc:creator>
		<pubDate>Thu, 10 Aug 2006 22:04:13 +0000</pubDate>
		<guid isPermaLink="false">http://dword.dk/blog/?p=15#comment-16</guid>
		<description>Hi,
Yep i work under WinXP i have uploaded a VC8 version from ur widget
http://stud3.tuwien.ac.at/~e0126198/gtkogre-0.1.0_added_vc8.rar

I will try to get expose event cause i want to port my CeGUI editor to GTK cause in the work we have made app in GTK and everything was fine :)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Yep i work under WinXP i have uploaded a VC8 version from ur widget<br />
<a href="http://stud3.tuwien.ac.at/~e0126198/gtkogre-0.1.0_added_vc8.rar" rel="nofollow">http://stud3.tuwien.ac.at/~e0126198/gtkogre-0.1.0_added_vc8.rar</a></p>
<p>I will try to get expose event cause i want to port my CeGUI editor to GTK cause in the work we have made app in GTK and everything was fine <img src='http://dword.dk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DWORD</title>
		<link>http://dword.dk/blog/2006/07/welcome/#comment-15</link>
		<dc:creator>DWORD</dc:creator>
		<pubDate>Thu, 10 Aug 2006 19:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://dword.dk/blog/?p=15#comment-15</guid>
		<description>Hi Wolfmanfx,

I haven't looked at it for a while, and I don't know if and when I'll get back to it, but please let me know if you figure out something. I know these expose events are a pain in the butt, because I spent about 3 days getting it working as much (or little) as it does now in Linux. Such waste of time is partly the reason I didn't get further with it. ;)

Are you running it on Windows, because I never got around to trying that? But I know for sure that WM_PAINT et al events are a good deal easier to get working right, especially with Ogre.</description>
		<content:encoded><![CDATA[<p>Hi Wolfmanfx,</p>
<p>I haven&#8217;t looked at it for a while, and I don&#8217;t know if and when I&#8217;ll get back to it, but please let me know if you figure out something. I know these expose events are a pain in the butt, because I spent about 3 days getting it working as much (or little) as it does now in Linux. Such waste of time is partly the reason I didn&#8217;t get further with it. <img src='http://dword.dk/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Are you running it on Windows, because I never got around to trying that? But I know for sure that WM_PAINT et al events are a good deal easier to get working right, especially with Ogre.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfmanfx</title>
		<link>http://dword.dk/blog/2006/07/welcome/#comment-13</link>
		<dc:creator>Wolfmanfx</dc:creator>
		<pubDate>Thu, 10 Aug 2006 18:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://dword.dk/blog/?p=15#comment-13</guid>
		<description>Hi,
i love ur widget but the expose bug is very bad :((( 
have u find the bug i have tried to make some hack but no luck...
Are still working on it?

best regards</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i love ur widget but the expose bug is very bad :(((<br />
have u find the bug i have tried to make some hack but no luck&#8230;<br />
Are still working on it?</p>
<p>best regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>

