Summary

Title:Propagatin modifier badly inherits uwv's
Category:Crash/Critical
Status:Fixed
Posted By:frodo ( Martin Frodl )
Date Created:9 March 2017

Problem

Description:

Hello,

I have a gradient mapped feathers, but somehow due to Propagation modifier the uwvs are badly inheriten on left side of the model (no mirroring, same Ox system). On the right side everything is ok. Dont know why, but if I turn off Propagation modifier the gradient on remaining hairs is on both sides fine.

see the image

Steps to Reproduce:
 

Attached Files:
Image 1

Hi Frodo,

I'm looking into this, I'll get back to you soon.

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

I figured out that i has no connection to left or right side of the model. Its just a coincident that here it like this. In other situations the inheritance of mapping is just broken.

Can you share your scene? You can send it to my email: jeordanis.f@ephere.com 

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

It do the same with simple sphere too. Im using lates night buil.

Look at the file. There will be red blotches in the green area of gradient and when you turn off the Propagation modifier it will be ok. So it definitely related to Propagation modifier.


Attached Files:

>test.max (720896 bytes),

Hi Frodo,


Thank you for the scene, right now I can not test with vRay but I'm going to do it in the morning. I will keep you posted.

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

Hello,

any news in this topic?

Thanks

Hi Frodo,

Sorry for the late reply, I was having issues with my VRay license. I was able to reproduce your problem, there is definetely something going on in the Propagation modifier... I was able to fix the UVs by adding a MeshFromStrands modifier, unchecking Per-Strand UV coords and changing the mapping type to Per Segment, but maybe this is not a good solution for you because this will convert the hair to mesh.

We'll address this soon and get back to you as soon as possible. Thank you for the report.

 

 


Attached Files:
Image 1

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

Hello,

I jus found this solution yesterday too :) but still I'm not able to add a gradient per strand to have aditional detail. For example one gradient do drive the color of strands from top to bottom of the model and the secont to drive the color from root to tip of eaxh strand. With the correct behaviour of Propagation modifier it should be possible.

And I'm not sure if the converting hairs into mesh has a negative influence to performance.

Maybe this if a Vray bug because it seems that in viewport ist everything ok but in render not, maybe Propagation modifier passing some information badly to VrayOx modifier.

I don't think this is a VRay issue, I was able to reproduce this in Maya using Arnold. We are working on it, I´ll keep you posted.

one gradient do drive the color of strands from top to bottom of the model and the secont to drive the color from root to tip of eaxh strand. 


I belive you can do this by creating two UV sets in MeshFromStrands, I now how to do this in Maya but I'm not sure how this works in Max.

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

I don't think this is a VRay issue, I was able to reproduce this in Maya using Arnold. We are working on it, I´ll keep you posted.


Ok, so it looks you have a bug to fix :)

I belive you can do this by creating two UV sets in MeshFromStrands, I now how to do this in Maya but I'm not sure how this works in Max.

Aaaah, thats pretty cool I didn't know that. But it meas I need to convert all the feather/hairs to mesh to do this. And the main think is it didn't work with propagation modifier, because the propagated splines has its own uws along its own strand and not along the stem strand... 

I think in propagation modifier should have a checkbox to inherit uws along main strad. I need functionality from the left image on the right image, where you can see the propagated strands have its own uv along strand.


Attached Files:
Image 1

You are right, Strand Propagation should have his own UV controls, thanks for the suggestion!

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

I'm looking forward to integration of this new uv setting :)

Frodo, we fixed this bug in the latest nightly build. Please give it a try!


Attached Files:
Image 1

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

Nice! Thanks a lot, I will test it asap.

I give it a look and it seem it works but only partialy. Propagated strands inherits the color but only the root color so it can't fade to other color along the main strand, so the feather can have only one solid color.

As you can see on my image above it works absolutely fine without Propagation modifier. Feathers color vary along the model and also along each feathers strand.