YafaRay texture alpha inverted respect to Blender texture alpha

Project:YafaRay
Component:YafaRay Core
Category:feature request
Priority:normal
Assigned:David Bluecame
Status:needs work
Description

I use both the blender renderer as well as yafaray, and it annoys me that every time I render in yafaray, I must first switch all of my alpha textures to negative in order to produce the same alpha effects as blender's renderer / game engine.

Comments

#1

it appears to be the same problem with bump mapping

#2

Category:bug report» task
Assigned to:Anonymous» DarkTide

i take a look at this for the next 0.1.2 release

Just Vampires Playing To Be Mortals...
---------{--<@

#3

Version:<none>»

I've made a simple scene illustrating the problem of negative alpha, thankshttp://www.emirage.org/attachements/alpha_problem.zip

AttachmentSize
alpha_problem.zip 550.01 KB

#4

This problem still remains in YafaRay 0.1.2 and Blender 2.5 exporter. Blender 2.5 scene below:

http://dl.dropbox.com/u/31120453/yafaray/bugs/alphamapping/alpha_problem...

My work · Grey18 workflow · Sampling strategy · [url=http://www.yafaray.org/node/816]SPPM

#5

Status:active» won't fix

I don't think we can change this at this time without severely breaking compatibility with previous yafaray scenes. It's unfortunate that these things were initially decided to be so different from Blender...

#6

Component:Blender Exporter» Code
Category:task» feature request
Assigned to:DarkTide» David Bluecame
Status:won't fix» active

Hello,

Thinking it again, perhaps a new global option "Texture alpha compatible with Blender" could be added that is "false" by default for backwards compatibility and that at the same time allows for new scenes to correct this behavior.

I will try to integrate this in a possible new expanded texturing system...

#7

Title:Alpha must be set to negative in blender to display properly in yafaray. » YafaRay texture alpha inverted respect to blender texture alpha

#8

Title:YafaRay texture alpha inverted respect to blender texture alpha» YafaRay texture alpha inverted respect to Blender texture alpha

#9

Hi David, if we change this I think we should do it as an oportunity to fix other things that could break backwards compatibility, like a serious mistake in the YafaRay render pipeline in Blender, or other compatibility issues, so we do it just once and not in every release. It would not be a trauma if we lose backwards compatibility because it won't be the first time, I think any YafaRay scene pre Blender 2.50 would have many compatibitity issues with current releases. Just my two cents.

My work · Grey18 workflow · Sampling strategy · [url=http://www.yafaray.org/node/816]SPPM

#10

Hmmm... it starts to sound like "upcoming v0.2.0"?  ;-))

#11

Version:» <none>
Component:Code» YafaRay Core
Status:active» needs work

I will add an option for "Blender Transparency style" compatibility in the upcoming YafaRay v4.x.x