<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>K-3D Forums &#187; Tag: yafray - Recent Posts</title>
		<link>http://www.k-3d.org/forums/tags/yafray</link>
		<description>Seven Degrees of Freedom</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 12:01:47 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-3d.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.k-3d.org/forums/rss/tags/yafray" rel="self" type="application/rss+xml" />

		<item>
			<title>dsmatthews on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2753</link>
			<pubDate>Thu, 03 Dec 2009 20:48:51 +0000</pubDate>
			<dc:creator>dsmatthews</dc:creator>
			<guid isPermaLink="false">2753@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;You may also wish to take a look at this, &#60;a href=&#34;http://freestyle.sourceforge.net/index.php&#34; rel=&#34;nofollow&#34;&#62;http://freestyle.sourceforge.net/index.php&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Timothy Shead on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2751</link>
			<pubDate>Thu, 03 Dec 2009 18:29:05 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">2751@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;You can see the command that gets executed in your console - we run the yafray executable, followed by the path to the world.xml file.&#60;/p&#62;
&#60;p&#62;Your sample script works fine here, I suspect you might have forgotten to set its execute flag.&#60;/p&#62;
&#60;p&#62;It does sound as if RenderEngineScript is what you really want, since a render script has access to the full K-3D scene, which is much richer than the contents of a Yafray XML file.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whale on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2749</link>
			<pubDate>Thu, 03 Dec 2009 09:48:05 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2749@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
 So I've added a new property to YafrayEngine, &#34;Executable&#34;, that defaults to yafray, but can be changed to anything that suits you. So you could use that to redirect rendering wherever you like. You'll have to build from the latest sources to get this change.&#60;br /&#62;
&#34;&#34;&#34;&#60;br /&#62;
Thanks for that Timothy &#60;/p&#62;
&#60;p&#62;could you tell me exactly what information is being sent to the binary so i know what to expect, does it send the full yafray xml, or the the direct location to the one created in /tmp?&#60;br /&#62;
I made a small python script to check, but it failed&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
#!/usr/bin/python&#60;br /&#62;
import sys&#60;br /&#62;
test = open('/home/radical/test.log','w')&#60;br /&#62;
for arg in sys.argv:&#60;br /&#62;
    test.write(arg+&#34;\n&#34;)&#60;br /&#62;
test.write(&#34;done&#34;)&#60;br /&#62;
test.close()&#60;br /&#62;
&#34;&#34;&#34;&#60;/p&#62;
&#60;p&#62;im trying to make a small toon renderer that will render out the frames with cairo &#60;a href=&#34;http://www.cairographics.org/samples/&#34; rel=&#34;nofollow&#34;&#62;http://www.cairographics.org/samples/&#60;/a&#62; i need to somehow get my hands on the coords of each object in each frame. any help is welcome, thanks in advance
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whale on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2747</link>
			<pubDate>Thu, 03 Dec 2009 08:50:54 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2747@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;i managed to get it to build but it wont start&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
radical@radical-desktop:/opt/k3d/bin$ ls&#60;br /&#62;
k3d  k3d-renderframe  k3d-renderjob  k3d-sl2xml  k3d-uuidgen&#60;br /&#62;
radical@radical-desktop:/opt/k3d/bin$ ./k3d&#60;br /&#62;
./k3d: error while loading shared libraries: libk3dsdk-half.so: cannot open shared object file: No such file or directory&#60;br /&#62;
radical@radical-desktop:/opt/k3d/bin$&#60;br /&#62;
&#34;&#34;&#34;&#60;br /&#62;
any ideas??&#60;/p&#62;
&#60;p&#62;EDIT: i just ran it from the build directory and it worked perfectly :). any advice for working with the RenderEngineScript plugin?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whale on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2745</link>
			<pubDate>Thu, 03 Dec 2009 08:16:28 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2745@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;thanks, i tried that and it compiled up to 59% then it failed&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
Scanning dependencies of target k3d-ngui-snap-tool&#60;br /&#62;
[ 59%] Building CXX object modules/ngui_snap_tool/CMakeFiles/k3d-ngui-snap-tool.dir/snap_tool_detail.cpp.o&#60;br /&#62;
[ 59%] Building CXX object modules/ngui_snap_tool/CMakeFiles/k3d-ngui-snap-tool.dir/tool.cpp.o&#60;br /&#62;
/home/radical/resources/projects/k3d/modules/ngui_snap_tool/tool.cpp: In function ‘std::_Ios_Fmtflags&#38;amp; std::operator&#38;amp;=(std::_Ios_Fmtflags&#38;amp;, std::_Ios_Fmtflags)’:&#60;br /&#62;
/home/radical/resources/projects/k3d/modules/ngui_snap_tool/tool.cpp:1006: internal compiler error: in get_expr_operands, at tree-ssa-operands.c:2072&#60;br /&#62;
Please submit a full bug report,&#60;br /&#62;
with preprocessed source if appropriate.&#60;br /&#62;
See &#38;lt;file:///usr/share/doc/gcc-4.4/README.Bugs&#38;gt; for instructions.&#60;br /&#62;
make[2]: *** [modules/ngui_snap_tool/CMakeFiles/k3d-ngui-snap-tool.dir/tool.cpp.o] Error 1&#60;br /&#62;
make[1]: *** [modules/ngui_snap_tool/CMakeFiles/k3d-ngui-snap-tool.dir/all] Error 2&#60;br /&#62;
make: *** [all] Error 2&#60;br /&#62;
&#34;&#34;&#34;&#60;/p&#62;
&#60;p&#62;if someone has already compiled this app why cant they just give me the binary?&#60;/p&#62;
&#60;p&#62;radical@radical-desktop:~/resources/projects/build$ uname -a&#60;br /&#62;
Linux radical-desktop 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 GNU/Linux
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsmatthews on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2743</link>
			<pubDate>Wed, 02 Dec 2009 13:14:18 +0000</pubDate>
			<dc:creator>dsmatthews</dc:creator>
			<guid isPermaLink="false">2743@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Assuming you have installed mecurial and that you use a directory called projects for your builds:&#60;/p&#62;
&#60;p&#62;cd projects&#60;br /&#62;
hg clone &#60;a href=&#34;http://k3d.hg.sf.net/hgweb/k3d/k3d&#34; rel=&#34;nofollow&#34;&#62;http://k3d.hg.sf.net/hgweb/k3d/k3d&#60;/a&#62;&#60;br /&#62;
mkdir k3d-build&#60;br /&#62;
cd k3d-build&#60;br /&#62;
ccmake ../k3d&#60;br /&#62;
# press c until you get the option to press g, it will then exit when finished&#60;br /&#62;
# note any missed dependencies and re run ccmake after you have added them.&#60;/p&#62;
&#60;p&#62;# on a 4 core CPU I then build with all cores like this.&#60;br /&#62;
# NB -j5 is one more than the number of cores you wish to use.&#60;/p&#62;
&#60;p&#62;make -j5&#60;/p&#62;
&#60;p&#62;# then if in ccmake you enabled testing you can then run the tests with,&#60;/p&#62;
&#60;p&#62;ctest -D Experimental&#60;/p&#62;
&#60;p&#62;# to run the application without installing it just,&#60;/p&#62;
&#60;p&#62;make run
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whale on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2741</link>
			<pubDate>Wed, 02 Dec 2009 07:57:12 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2741@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;can you explain step by step how i can get it and build it, ive never used mecurial before
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Timothy Shead on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2739</link>
			<pubDate>Wed, 02 Dec 2009 07:24:31 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">2739@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;No, you need the latest sources from Mercurial:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.k-3d.org/wiki/Code&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.org/wiki/Code&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whale on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2737</link>
			<pubDate>Wed, 02 Dec 2009 02:09:35 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2737@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;i thoroughly scraped the wiki for all info i could get before posting, i read about the RenderEngingeScript and it seemed like it did what i wanted (gave the output of the scene for rendering) but 0.7.10 and 0.7.11 configured perfectly but failed to build under latestbuntu karmic koala outputting something about end of file not being declared. &#60;/p&#62;
&#60;p&#62;i could always hack around the problem by retrieving the world.xml files from /tmp but i would prefer to be able to script a more intergrated solution.&#60;/p&#62;
&#60;p&#62;the error is posted below:&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
[  0%] Built target k3dsdk-parallel&#60;br /&#62;
[  0%] Built target k3dsdk-sgi-tesselator&#60;br /&#62;
[  0%] Built target k3dsdk-glew&#60;br /&#62;
[  0%] Built target toFloat&#60;br /&#62;
[  0%] Built target eLut&#60;br /&#62;
[  1%] Built target k3dsdk-half&#60;br /&#62;
[  1%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/gzstream.o&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:71: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp: In member function ‘virtual int k3d::filesystem::gzstreambuf::underflow()’:&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:114: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:123: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp: In member function ‘int k3d::filesystem::gzstreambuf::flush_buffer()’:&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:139: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp: In member function ‘virtual int k3d::filesystem::gzstreambuf::overflow(int)’:&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:146: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:147: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:151: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp: In member function ‘virtual int k3d::filesystem::gzstreambuf::sync()’:&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:161: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
make[2]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/gzstream.o] Error 1&#60;br /&#62;
make[1]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/all] Error 2&#60;br /&#62;
make: *** [all] Error 2&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Timothy Shead on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2735</link>
			<pubDate>Tue, 01 Dec 2009 18:55:16 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">2735@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;YafrayEngine renders scenes by creating the world.xml file, then running the executable &#34;yafray&#34; to render it.  There isn't any way to access world.xml through scripting (you can use scripting to &#60;em&#62;create&#60;/em&#62; new render engines, using the &#60;a href=&#34;http://www.k-3d.org/wiki/RenderEngineScript&#34;&#62;RenderEngineScript&#60;/a&#62; plugin, but that's a different use-case).  So I've added a new property to YafrayEngine, &#34;Executable&#34;, that defaults to yafray, but can be changed to anything that suits you.  So you could use that to redirect rendering wherever you like.  You'll have to build from the latest sources to get this change.&#60;/p&#62;
&#60;p&#62;Thanks for the heads-up on the broken link, I've setup a redirect so it shouldn't be a problem in the future.  All of the documentation is now hosted at k-3d.org.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsmatthews on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2733</link>
			<pubDate>Tue, 01 Dec 2009 18:19:57 +0000</pubDate>
			<dc:creator>dsmatthews</dc:creator>
			<guid isPermaLink="false">2733@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://www.k-3d.org/docs/epydoc/&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.org/docs/epydoc/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whale on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2731</link>
			<pubDate>Tue, 01 Dec 2009 15:21:00 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2731@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;hi there.&#60;br /&#62;
i noticed that when i render a preview in k3d the output is stored in /tmp, in particular the yafray 'world.xml' file is stored there. &#60;/p&#62;
&#60;p&#62;1. is there a way i could get k3d to send that file to an external executable ?&#60;br /&#62;
2. if not is there a way i could retrieve the same rendering information another way? (python script?)&#60;br /&#62;
3. can anyone point me in the direction of a mirror of k3d's python api,  &#60;a href=&#34;http://www.k-3d.com/docs/epydoc&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.com/docs/epydoc&#60;/a&#62; &#38;lt;-- this one appears to be down
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

