<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>python &#8211; WLGfx</title>
	<atom:link href="https://csnorwood.com/category/python/feed/" rel="self" type="application/rss+xml" />
	<link>https://csnorwood.com</link>
	<description>Programmers Website and Blog</description>
	<lastBuildDate>Tue, 30 Jan 2024 16:32:44 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://csnorwood.com/wp-content/uploads/2024/01/cropped-wlgfx-favicon-white-32x32.png</url>
	<title>python &#8211; WLGfx</title>
	<link>https://csnorwood.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Blender and Python and VLC</title>
		<link>https://csnorwood.com/2017/07/30/blender-and-python-and-vlc/</link>
		
		<dc:creator><![CDATA[csnorwood]]></dc:creator>
		<pubDate>Sun, 30 Jul 2017 20:17:29 +0000</pubDate>
				<category><![CDATA[Blender]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[VLC]]></category>
		<guid isPermaLink="false">http://wlgfx.com/?p=191</guid>

					<description><![CDATA[Since getting home on Friday after work, I had a plan. Figure out the animation and timeline in Blender. I&#8217;ve done this. I can now rotate, translate, scale and modify objects on the timeline. As well as texturing, particles and other things useful for animations. I&#8217;ve still yet to show video in a texture, but [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Since getting home on Friday after work, I had a plan.</p>
<ol>
<li>Figure out the animation and timeline in Blender. I&#8217;ve done this. I can now rotate, translate, scale and modify objects on the timeline. As well as texturing, particles and other things useful for animations. I&#8217;ve still yet to show video in a texture, but that looks a doddle.</li>
<li>Play animations (for testing) from the &#8216;.blend&#8217; file. This was a bit fiddly as I had to use the Blender Game Engine and all the animations I had done for each individual objects, I had to add in the &#8216;BGE&#8217;. The Blender player works fine with the &#8216;.blend&#8217; files with many exceptions. There&#8217;s a lot that Blender can do that the player doesn&#8217;t handle. A simple one is the morphing of an object. Which rules out a hell of a lot of Blenders stuff.</li>
<li>Blender rendering videos. Awesome this one. It will render videos to OGV format. All effects included, or at least I hope so. I&#8217;ve rendered a 15 second video many times on my laptop in the background (it is an i7) and I can still get on with other stuff. This will be much quicker on my PC, but my laptop is darn fast as is.</li>
<li>Use Bash or another scripting language to play the videos because the Blender player, although fast and smooth, doesn&#8217;t do everything. I&#8217;ve been successful with Python and the VLC plugin for it, so I now know I can use the VLC library to play these files. I&#8217;m still beginning with Python, but it did show me how easy the VLC library is to use.</li>
</ol>
<p>Although I&#8217;ve made sure I&#8217;ve put time out to get out this weekend just to keep myself in a good mood, this progress has been great.</p>
<p>It&#8217;s a long learning curve with Blender, but at the moment, I can make use of it to do 90% of what I need it for. 30 frames per second with a medium 3D scene was taking on my laptop 2.0 seconds per frame to render at 1920 x 1080. And 15 seconds of full quality is about 12Mb.</p>
<p>The framework around all of this will be a WIP from today and it is going to be so awesome even I can&#8217;t wait.</p>
<p>The next stage for me will be integrating custom engines to produce these animations better then the Blender player without the need to render video files.</p>
<p>Back to Blender&#8230; See y&#8217;all soon&#8230;</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
