Current stable version: 0.1.1

Blender crash with blend materials

Project:YafaRay
Version:0.1.1
Component:Code
Category:bug report
Priority:minor
Assigned:subcomandante
Status:active
Description

Hi,

Blender crashes if i set up a ground plane with a sphere
ground plane has shinydiffuse grey
sphere has a blended mat with:
a non-emitting shinydiffuse with a texture
an emitting shinydiffuse
and a marble prcedural texture as mixture

Machine
Vista x86
Yafaray r302
Blender 2.48.1
python 2.5.2

AttachmentSize
aaaatest2.zip74.83 KB

Comments

#1

I can not reproduce the bug under windows XP sp3 32bits

Render attached

AttachmentSize
blendmat.png 19.46 KB

#2

Here is mine, it renders fine with two blend materials but crashes using three.

 

Ubuntu 8.10 64 bit

Yafaray r305

 

 

(ps - I can't use .7z compression as it not an allowed file extension ?  .7z - 75 kb  .zip - 105 kb)

AttachmentSize
glass_blend_bug.zip 103.1 KB

#3

Greetings, I'm using a blend material for my product package. It's using an alpha image to control the opacity of the serrated edge near the top of the product. The first material is a shiny diffuse with 100% transparency. The second material is a Coated Glossy Material with the color diffuse product texture.The composite material uses the alpha texture map to control the transparency.  It renders fine (but much slower) than a non blended material as long as I use Direct Lighting with AO and caustics.   If I try photon mapping with the Blended material, Blender crashes. Thanks for your help!

I'm using Blender 2.48a for Mac OS and Yafaray 0.1.305

Chris

AttachmentSize
LFRJoyOfCooking2.blend.zip 5.38 MB

#4

here is an extremly simple file: only one blend-mat, two shinydiff-mats mixed with a checker-te, crashing while render reaches the blended objekt in yafaray gui

win 32, yafaray 0.1.1

AttachmentSize
Blend_mat_bug.zip 55.54 KB

#5

Version:<none>» 0.1.1
Assigned to:Anonymous» subcomandante

I tried your scene and indeed it crash because blend mat cannot find the blend texture (at least here because you didn't packed the texture).

By the way, addind a check to blend mat to skip faulty textures without crashing would be better user experience ;D

Michele Castigliego
ALTASIS - http://www.altasis.it

#6

I also have some funky behaviour with blend material. These are my experiences so far:

- Blender crashes when I blend two materials with a texture mask (procedural or external) and both materials have a texture assigned to COL (other mappings are fine). The crash happens sometimes with the procedural texture (depending on the type it seems, I'm not sure - the behaviour is inconsistent here) and always with external image.

- It works (with texture mask) IF the first or both materials have no texture assigned to COL.

- (when the previous condition is satisfied) It does not render right if the texture mask is an non-procedural image. The target object renders with the second material, no matter the slider postion.

- If I don't use a texture mask, and just mix them with the slider, everything works fine.

 

These seem some nasty bugs to me. Maybe there's sometning wrong with my system?

Ubuntu 8.10 64 bit - Blender 2.49a (precompiled) - YafaRay 0.1.1 348M (compiled from source)

It would be fine if anyone with similar system as mine would try out the attached testing scene and report.

EDIT: It seems that the file was not attached. Here it is: http://www.zshare.net/download/6666521240deec47/

Linux Mint DE 64bit | Blender 2.6 | Yafaray 0.1.2 beta, [url=http://www.matejmo.deviantart.com]matejmo.deviantart[/url]

#7

Hi, I have the same problem.

Ubuntu 9.10, 64bits, Intel... Blender 2.49a.

The problem occurs only when I press some Yafaray button.

Are there any logs saved?

I have a full-screen mode. I guess I should execute blender in a windowed mode, of from shell?

[url]http://www.webdesignpatterns.org[/url]
How much wood would a woodchuck chuck if a woodchuck could chuck wood?