Page MenuHome

Dupli Mapping Issue Cycles
Closed, DuplicatePublic

Description

Wacom Mobile Studio Pro 16
Operating system: Windows 10
Graphics card: NVidia Quadro M 1000M

Blender Version
Broken: Blender 2.80 , 2018-12-02 04:09, Hash: 925380050d0

Worked: 2.79b official release.

Short description of error
In cycles when using particles object you can set the visible color to be one of the emitter object by using the From Dupli check box in the material node for UVs. It works great in 2.79b for cycles rendering (although it doesn't in the viewport) which is great for making feathers.

However it doesn't work in 2.8 at all (cycles & viewport) and I think it'd be nice to have that still in cycles in 2.8 but would also be awesome to have in the viewport eevee too.

Exact steps for others to reproduce the error
Create a new blend scene and set to cycles, delete the default cube and add a plane, reset the UVs and add a material, name the object and the material object. Assign a simple colored checker texture.

Create another plane and reset the UVs, scale it down in edit mode on the X axis and move the pivot to the base (in edit mode move all verts in the positive Y axis). Assign a new material and call it feather as well as the object.

Setup a simple transparent feather material using a Texture coordinate node plugged into the mix value (you can use the textures packed in the .blends that are attached) and then create another Texture coordinate, set the object to the object plane and check the From Dupli checkbox, assign the checker texture to that UV and plug into color.

Now add particle hair to the object plane and set the scale to 1 set the render to objects and choose the feather object and play with the scale and random settings, can also use the Rotation check box and set it to normals and add a bit of random as well as phase randomness.

It doesn't work in the viewport in 2.79b, nor in 2.80 eevee. But it does work in the cycles render in 2.79b and not in 2.8.

Please see attached files.

Details

Type
Bug

Event Timeline

Jeannot Landry (Jeannot) updated the task description. (Show Details)
Jeannot Landry (Jeannot) updated the task description. (Show Details)

Also tested in the latest 2.8 version Hash: cf18eb2de39 re;eased on 2018-12-02 at 21:35

Still didn't work :(

Also tried the latest hash: a205493426b

still not working...

Philipp Oeser (lichtwerk) triaged this task as Confirmed priority.Mon, Dec 3, 1:27 PM

T57922 is related (and there the basic case was working, so this probably broke somewhere along the way...)

checking again when that broke...

Thank you for checking into this Philipp, I have a model I've been working very hard for the past 3 - 4 months on, and I'd love for that to work in 2.8 (everything works but the feathers due to that). It'd be nice to also work in Eevee, not just cycles (eevee is so awesome and fast to render with!!!)

After checking again, it seems to work on F12 render (cycles). I doesnt work for rendered viewport though (cycles).

Now that was already stated in T57922, see my comment

regarding 2.8 and viewport rendering: UVs are only calculated if we are in DAG_EVAL_RENDER mode (see here), but we are in DAG_EVAL_VIEWPORT (even if set to cycles viewport rendering)

regarding the Eevee support of the dupli in UV:
this is a known limitation, see https://docs.blender.org/manual/en/dev/render/eevee/materials/nodes_support.html#other-nodes-support

That leaves us with the "non-viewport-render" issue, but that is part of T57922.
I think we can close this (feel free to continue discussion in T57922...)