<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 118: segfault using rayinfo() in gather()</title><link>https://sourceforge.net/p/pixie/bugs/118/</link><description>Recent changes to 118: segfault using rayinfo() in gather()</description><atom:link href="https://sourceforge.net/p/pixie/bugs/118/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 12 Sep 2009 04:59:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pixie/bugs/118/feed.rss" rel="self" type="application/rss+xml"/><item><title>segfault using rayinfo() in gather()</title><link>https://sourceforge.net/p/pixie/bugs/118/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It appears Pixie crashes with a segfault when using rayinfo("depth",) inside a gather(){} loop, but only when a ray hits nothing. The attached example produces the problem, you can also comment out the rayinfo() in the shader to prevent the crash or swap comments in the RIB to fully enclose the reflection to prevent the crash. There also appears to be some discrepancy with this depending on whether Pixie is compiled for 32/64bit and possibly depending on build environment (although this could just be chance since I can't test for 64bit).&lt;/p&gt;
&lt;p&gt;I use this technique to simulate Blender's fade to sky/diffuse behavior with reflection/refraction and has been tested to work in 3Delight and Air. This bug has been reported by a user in my forum and could be related to one of the problems reported by the same user here &lt;a href="http://sourceforge.net/projects/pixie/forums/forum/200367/topic/3325597"&gt;http://sourceforge.net/projects/pixie/forums/forum/200367/topic/3325597&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><pubDate>Sat, 12 Sep 2009 04:59:36 -0000</pubDate><guid>https://sourceforge.net7c5af294e63eda0419146ac946a4efeb854548df</guid></item></channel></rss>