Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26116] Render Pipeline Raytraced Transparency does not seem to work.

Date:
2011-02-17 00:24
Priority:
3
State:
Closed
Submitted by:
ronan ducluzeau (zeauro)
Assigned to:
Nobody (None)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Render Pipeline Raytraced Transparency does not seem to work.
Detailed description
ubuntu 10.10 64bits rev34920

Render attached .blend.

Red Cube is not seen through Sphere as it would if Sphere use a raytraced transparency.

I created Material.001.
Then, I enabled Nodes.
And finally press "New" button on Material Node to create Material.002

Then, I just changed alpha in Transparency panel and trusted new Render Pipeline Options.

But in fact, newly created Material.002 have Transparency option disabled by default.

With new material properties, I have to change material or to create a new window to set inside material.

Before changing Material Properties, selecting a node was enough good to see all material settings.
Now, Transparency settings are not easier to understand; they are partially hidden.

Maybe Transparency panel should be renamed Node Transparency showing enable/disable box and Ztransparency/raytrace choice.
But material node options should be visible or render pipeline options should really overwrite corresponding options in node materials.



Followup

Message
  • Date: 2011-02-17 00:27
  • Sender: ronan ducluzeau
  • Don't delete this one with the .blend.
  • Date: 2011-02-17 15:32
  • Sender: Ton Roosendaal
  • Confirmed... will poke the developer of this change.
  • Date: 2011-02-21 16:46
  • Sender: Ervin Weber
  • Hi, found a solution :)

    Problem is that currently, for a node material to work ok, the base-material and the node-material must have the same transparency settings.
    If, as in your blend, the former use RAY_TRANSP and the latter Z_TRANSP, you get a wrong result.

    In the attached blend (nodi_01.blend) you can see the results produced by mixing transparency settings.
    The image 'before.png' was rendered with Blender trunk, 'after.png' with patched Blender.

    The patch makes sure that only the base-material transparency settings are used.
    So the results match those obtained by simple materials:

    * don't see through no-transparent nodemat
    * use Ztransp for Ztransp nodemat with RayTransp mat node
    * see through RayTransp nodemat with no-RayTransp mat node
    * get rid of wrong IOR in no-RayTransp nodemat with RayTransp mat node
    * no-transparent nodemat get mirrored solid instead of Ztransped
  • Date: 2011-02-21 16:50
  • Sender: Ervin Weber
  • ops, forgot the blend
  • Date: 2011-02-21 21:25
  • Sender: ronan ducluzeau
  • ubuntu 10.10 64bits rev 35039

    Sorry but I think the new render pipeline options needs still more in depth testing.

    I tried and did not manage to color transparent materials with nodes in nodi_01.blend.

    First, I simply change diffuse color in node.
    Then I tried with changing in base, and finally in both.

    After I tried with filter and I did not succeed with any material using nodes.
  • Date: 2011-02-21 21:29
  • Sender: ronan ducluzeau
  • I forgot to write that it is possible to obtain transparent colored material using nodes in 2.56a 34074 and 2.49.
  • Date: 2011-02-22 10:05
  • Sender: Ervin Weber
  • I tried and it seems to work here, take a look at attached blend and png.
    Can you post an image of your problem?
  • Date: 2011-02-22 13:33
  • Sender: ronan ducluzeau
  • ubuntu 10.10 64bits rev 35063

    No more problem.
    My material was not rendered colored but simply darker.

    But I can't reproduce problem anymore.

    I tested Materials mixed with texture and everything seems to be right, now.
  • Date: 2011-02-22 14:59
  • Sender: Ton Roosendaal
  • Yep fixes have been done here!
 

Attached Files:

Name Date Download
raytrace_nodes.blend 2011-02-17 00:24 Download
node-transp-render.diff 2011-02-21 16:46 Download
after.png 2011-02-21 16:46 Download
before.png 2011-02-21 16:46 Download
node-transp-render.diff 2011-02-21 16:46 Download
nodi_01.blend 2011-02-21 16:50 Download
nodi_color.blend 2011-02-22 10:05 Download
node-color.png 2011-02-22 10:05 Download

Changes:

Field Old Value Date By
status_idOpen2011-02-22 14:59ton
close_dateNone2011-02-22 14:59ton
StatusNew2011-02-22 14:59ton
File Added15103: nodi_color.blend2011-02-22 10:05lusque
File Added15104: node-color.png2011-02-22 10:05lusque
File Added15085: nodi_01.blend2011-02-21 16:50lusque
File Added15081: node-transp-render.diff2011-02-21 16:46lusque
File Added15082: before.png2011-02-21 16:46lusque
File Added15083: after.png2011-02-21 16:46lusque
File Added15084: node-transp-render.diff2011-02-21 16:46lusque
File Added15044: raytrace_nodes.blend2011-02-17 00:24zeauro

Changes:

Blender 2.x BF release: Blender 2.6 Bug Tracker
   [#26115] Render Pipeline Raytraced Transparency does not seem to work. (Relation: Duplicates)