POV-Ray : Newsgroups : povray.beta-test : Crash when assigning materials Server Time
19 Apr 2024 13:35:23 EDT (-0400)
  Crash when assigning materials (Message 1 to 2 of 2)  
From: Vaclav Cermak
Subject: Crash when assigning materials
Date: 30 Aug 2006 09:47:38
Message: <44f596fa$1@news.povray.org>
Hi,

  this simple scene fails to parse with Linux 3.7.0.beta14a:

#declare Mat1 = material {
   texture {
     pigment {color red 1}
     finish {diffuse 0.8}
   }
}

#declare Mat2 = Mat1

The result is:

<snip>
Parser Options
   Input file: test02.pov
   Remove bounds........On
   Split unions.........Off
   Library paths:
     /usr/local/share/povray-3.7/include
==== [Parsing...] =======================================
Killed

with no any explaining error message.

When I remove the last line, everything is fine.

Not tested with windows version.

Best regards

Vaclav


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Crash when assigning materials
Date: 30 Aug 2006 10:47:37
Message: <44f5a509$1@news.povray.org>
> ==== [Parsing...] =======================================
> Killed

	Confirmed.  This is a problem with the interior definition, will be fixed
for the next beta.  A workaround for now is to do:


#declare Mat1 = material {
   texture {
     pigment {color red 1}
     finish {diffuse 0.8}
   }
   interior{}  // workaround
}

#declare Mat2 = Mat1


	Thanks for reporting,
	- NC


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.