Hair From Mesh Strips Wrong Direction

 
 
 
Posted by:FlowS
Data created:9 December 2022
Hello guys.
I'm currently experiencing a new issue with Ornatrix V3 in the "Hair From Mesh Strips".

Indeed, the direction of my stripes is sometime wrong, despite of a good and verified geometry direction.

As you can see below, I use these PROXY in a "Guides From Curves".
The white part is the root and the black one is the tip.
Setting appart the issue I pointed in another thread concerning the "Mesh From Strands Direction Issue", you can see that everything is OK until I bake it.
BUG-HairsFromStripes_Direction
 
 
But when I use the baked mesh in "Hair From Mesh Strips", some stripes are inverted :
Hair From Mesh Strips - Result
This enoying because it's random, so each time I change my Strips, I need to reinverse some of them manually.
But the most strange and boring issue is that sometime, the stripes are automatically reinverted when I render the scene, so I can't fix it definitively.

Attached Files:
Image 1Image 2
>Hair+From+Mesh+Strips+-+Result.JPG (144402 bytes),

Here is the scene in case of ...


Attached Files:

>BUG-HairsFromStripes_Direction-Send.c4d (6930950 bytes),

Hi,

Sorry for the delayed reply, I missed this one. 

Are you rotating the strips using the Rotate Strands/Rotate Selected Strands button in Hair from Mesh Strips? 

I'm using the UV Flow Down option to rotate all the strips at the same time. This will set the direction from root to tip based on the UV direction in the strips.

This seems to work fine. Rendering the scene doesn't change the direction of the strips, though I don't know how you scene is setup because it renders all black for me(In the picture viewer).

I tried both, Picture Viewer Redshift Render View, using C4D R26.107 and the latest build of Ornatrix V3 and V2. 

Finally I tried adding a polygon plane as mesh strips but none of them change direction. 

 

Are you in the latest nightly build of Ornatrix?

What exact version of C4D are you on? 

 

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

<div style="color: #000000; font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium;"> <div><span style="color: #fa7a00;"> Are you rotating the strips using the Rotate Strands/Rotate Selected Strands button in Hair from Mesh Strips? </span>
-->Exactly
</div>
 
 I'm using the UV Flow Down option 
--> My bad, I discovered this option after my post, and It work pretty well.
 
Are you in the latest nightly build of Ornatrix?
--> Yes, V3, 22 september
 
What exact version of C4D are you on? 
<div>--> I use Ornatrix V3, 22 septembre build
Win 10 Pro version 22H2, OS build 19045.2364
And, depending of my C4D  license renwal and issues with Ornatrix, I use C4D R23.110 or R26.107 (The problem with the R26 display of Ornatix is that it can take a lot of VRAM, and Redshift cannot compute anymore if the scene is oppened. So no IPR use possible)
</div>
 
And I can't reproduce the wrong direction at render time anymore, so, I'm sorry because I can't help.
It just happen one day, and after restarting the computer, nothing anymore.
 
So I think we cane close the thread.
 
Thank you
</div>

I can't reprocuce the bug voluntarily, but I observe a lot of "Hair From Mesh Strips" enoying and not wanted resetings, and i think I know what "can" cause the issue.

Indeed, in several scene, I have Procedural Meshes (Loft nurbs for example) that I often manipulate to ajust the final hair comb using"Hair From Mesh Strips" .

I also regulary duplicate my Hair objects to test altrnative versions ... And Ornatrix doesn't like that.

Neither the mesh manipulation, nor the duplication.

It regulary Reset the parameters of Other "Hair From Mesh Strips" in my scene, even if they are disable.

By reseting I mean reseting the strand rotations and per strand groups.

The resulting is that my comb "Shoots Out" and some effect apply to some group obviously don't anymore.

This is a bit enoying, because I have to check several time a day if nothing change without my agreement.

 

The problem with the R26 display of Ornatix is that it can take a lot of VRAM, and Redshift cannot compute anymore if the scene is oppened. So no IPR use possible

You can set a lower viewport hair count and use the IPR to render the full hair. As shown here

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

Neither the mesh manipulation, nor the duplication.

Oh! Right. If you mesh strips are procedural or are being proceduraly manipulated, maybe the UVs of those strips is changing when you manipulate them. Also, probably some modifiers could modify them at render-time. This could be a problem if the hair strip direction rely on the UVs. To help us debug the issue, try with a single mesh strip and perform some of your usual manipulations. 

It regulary Reset the parameters of Other "Hair From Mesh Strips" in my scene, even if they are disable. By reseting I mean reseting the strand rotations and per strand groups.

Yes. This would be the case if the mesh strips UVs are constantly changing it's topology.

Please check if any of the modifiers that you applied to the mesh strips are modifying its topology(vertices or UVs).

 

 

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

Me :
>Neither the mesh manipulation, nor the duplication.
>It regulary Reset the parameters of Other "Hair From Mesh Strips" in my scene, even if they are disable. By reseting I mean reseting the strand rotations and per strand groups.
You :
>>Oh! Right. If you mesh strips are procedural or are being proceduraly manipulated, maybe the UVs of those strips is changing when you manipulate them.
>>Yes. This would be the case if the mesh strips UVs are constantly changing it's topology.

For the mesh UV, you're right and I post the complete explaination of my issue in this thread :
https://ephere.com/plugins/maxon/c4d/ornatrix/forums/general/thread_14416.html

Concerning the dupplication, I've made these one video to shaw you what happen with some manipulations in the "Hair From Mesh Strips" operator which lead to a bug that I can easily reproduce.
As you can see, when I dupplicate my hairs system and when I manipulate the "Hair From Mesh Strips" operator, some display bug appears and the groups I have assigne to each strips reset to 0.

PS :
You :
>>You can set a lower viewport hair count and use the IPR to render the full hair. As shown here.
I use this fonction all the time, I'm always between 10% and 50%, but at some point we need a minimum of hairs to see what we exacly do, and some function like Normalize are pretty heavy.
I think the most RAM consuming option, setting appart the hair number,  is the display of the thikness in the viewport.
But, whatever, I need to change my Graphic Card and It was'nt really the subject of the thread and I won't bore you with it now :-)

For the before-last replie, maybe it's more simple to continue the conversation in this dedicated thread :-)

https://ephere.com/plugins/maxon/c4d/ornatrix/forums/general/thread_14418.html