<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 118: segfault using rayinfo() in gather()</title><link href="https://sourceforge.net/p/pixie/bugs/118/" rel="alternate"/><link href="https://sourceforge.net/p/pixie/bugs/118/feed.atom" rel="self"/><id>https://sourceforge.net/p/pixie/bugs/118/</id><updated>2009-09-12T04:59:36Z</updated><subtitle>Recent changes to 118: segfault using rayinfo() in gather()</subtitle><entry><title>segfault using rayinfo() in gather()</title><link href="https://sourceforge.net/p/pixie/bugs/118/" rel="alternate"/><published>2009-09-12T04:59:36Z</published><updated>2009-09-12T04:59:36Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net7c5af294e63eda0419146ac946a4efeb854548df</id><summary type="html">&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;</summary></entry></feed>