Title: | Difference between Viewport Ornatrix and Vray render |
Category: | Workflow |
Status: | Open |
Posted By: | Eleze ( Ryan J. ) |
Date Created: | 29 July 2015 |
Title: | Difference between Viewport Ornatrix and Vray render |
Category: | Workflow |
Status: | Open |
Posted By: | Eleze ( Ryan J. ) |
Date Created: | 29 July 2015 |
Description: | 3ds Max 2014 Ornatrix 4.0.3 4140 Vray 3.20.02
Hello,
I have groomed long hair for a female character. My workflow is based on Andrew Hakim Lee's by using "subdivion" steps: Editing Guides then adding hair with the "Ox hair from guides" by hundred, then redoing an "Edit Guides", then again "Ox hair from guides" by hundred until I'm satisfied with +100k hair.
The problem is that when I render my scene to test my hair, I come with a different hairstyle than the one I stylized in my Viewport.
I thought it was a "remember root positions" problem, so I checked it in the base "Ox Guides from surface" and also in each "Ox Hair from Guides"; the problem was still there. Then I saw the firsts "Ox edit guides" and found that it was quite similar to the hairstyle in my test render.
I attached (in respective order): -Viewport screenshot with 60000 stylized hair and a test render with 60k stylized hair along; -Viewport screenshot with 300 stylized hair; -Pile of modifiers.
Thank you,
Ryan. |
Steps to Reproduce: | |
29 July 2015
#6359 | ||
The vray test render has been made with the 60k stylized hair. I should have notified it on my first post. I am new to Ornatrix, this could be a rookie mistake, if so, sorry for the inconvenience.
screenshots:
Viewport screenshot with 60000 stylized hair and a test render with 60k stylized hair along;
Viewport screenshot with 300 stylized hair;
Ryan.
| ||
31 July 2015
#6360 | ||
From the screenshot it appears that you are using edit guides on top of hair from guides modifier multiple times. Did you make sure that both view and render counts are the same inside the hair from guides modifier in all those cases? I can see the problem being that hair from guides modifier is changing the number of strands during rendering and your edit guides modifier is no longer applied correctly. Marsel Khadiyev (Software Developer, EPHERE Inc.) | ||
31 July 2015
#6361 | ||
If you could shoot us this scene or a simple scene that shows the same issue that would be great too. I will have a look at it. Thanks Michael | ||
31 July 2015
#6362 | ||
Hello Marsel and Michael, Thank you both for your replies.
Marsel, the "view count from render" is checked in the "Ox 60K Hair from Guides" modifier (set at 60000 on render). However it was unchecked in the others "Ox Hair from Guides" modifiers. Now I've checked every "view count from render" and put the exact same numbers I had in my Distribution "Viewport count". I test rendered it and resulted on the same state as the render in my first post.
Michael, you can download here the simple scene:
Thank you,
Ryan. | ||
3 August 2015
#6365 | ||
Hello, any news on this issue?
Ryan. | ||
3 August 2015
#6367 | ||
Hi Ryan, my apologies on the delay with this, we are still looking at this issue. Marsel Khadiyev (Software Developer, EPHERE Inc.) | ||
4 August 2015
#6368 | ||
Howdy Ryan, I tried to open your scene but got a crash on launch. We are looking into the crash first to see what may be causing that. If you could provide a simple scene (just a sphere with hair) with no maps etc that shows the issue that would be great. Thanks Michael | ||
4 August 2015
#6369 | ||
Hello Michael,
Thank you both for your answers. The scene I provided is a simple setup (pro-optimized character bust mesh), a hairscalp mesh and the Ornatrix setup for the hair. I opened the scene I provided on several PCs at work and on my home's and didn't get any crash on launch, all on Ornatrix 4.0.3 4140 using 3ds Max 2014.
Nonetheless, here's a second optimized scene to troubleshoot this case:
The file is named "Jori_ephereornatrix2.max",
I use Max 2014, Ornatrix 4.0.3. 4140, rendering with Vray 3.20.02.
Thank you, Ryan. | ||
5 August 2015
#6373 | ||
Thanks for the simpler scene. We are reserching the issue and well let you know when we have some progress. Thanks again Michael | ||
5 August 2015
#6374 | ||
Hello Michael,
Thank you for your reply. I'll keep an eye everyday on this post. Could it be a workflow issue? As said on my first post, my workflow is based on Andrew Hakim Lee's workflow, you can see it here: https://www.youtube.com/watch?v=kiEocmf2oHs Editing Guides then adding hair with the "Ox hair from guides" by hundred, then redoing an "Edit Guides", then again "Ox hair from guides" by hundred et cetera.
As it works when stylizing in the viewport, and also, I forgot to say it works on Vray RT but not in the Vray production mode rendering. Hope you'll fix this issue.
Ryan. | ||
8 August 2015
#6379 | ||
In our tests there were modifers that had different render count and view count. I think this is the issue. Maybe Vray RT is not taking one or the other into account. Can you try your scene and make 100% sure that all render and display counts in every modifer is the same? Thanks Michael | ||
9 August 2015
#6380 | ||
Hello Michael,
Thanks both for getting back and trying to resolve the problem.
I checked the render counts and put the same counts number on both in every modifier. I just re-rendered it, but I had the same result.
Vray RT takes in account every modifiers in the stack so it works in RT. But I have the strong feeling that in production mode, Vray is stuck on the first "Hair from guides modifier" hairstyle.
Let me explain my process from zero to problem (screenshots below):
step 1- I'll be processing by steps. I did the first "Ox Edit Guide", stylizing the hair straight, with straight fringe and backhair, to ease the process of hairstyling (like hairdressers do?). Then added an "Ox Hair from Guides" to add 300 individual hair (I called it "Ox Hair 300 from Guides"). (second screenshot: you can see in the viewport). step 2- Then, I add another "Ox Edit Guide" on top of the first "Ox Hair 300 from Guides" then readjusting the hairstyle a little more to acquire a more precise hairstyle, breaking the fringe and having some backhair on the shoulders and sideburns going backward, stranded behind the ears. Then I add another "Ox Hair 500 from Guides"("500" for 500 generated hair). step 3- I add another "Ox Edit Guides", stylizing a bit more the hairstyle. Again I add an "Ox Hair 3k from Guides" modifier (3000 hair). step n- Et cetera. Until I get to thousands of hair with the right hairstyle. But when I render the scene to test the hairstyle, I get this odd result I have shown you in the screenshots. I noticed huge differencies. In the render, I recognized the very first "Ox Edit Guides" hairstyle (from step 1) because of its fringe and backhair going straight to her back (and not showing hair on the shoulder, for example, like modeled in the viewport [see screenshot 1]). This was the only step I did it to get a straight look before brushing it later. You can see it in screenshot 2. That is why I think the render gets stuck to the first "Ox Hair from Guides" modifier...
screenshot 1 = Rendering the scene with the hairstyle shown in the viewport. Note how the hairs on the shoulder aren't there, featuring this f* ugly fringe as well:
screenshot 2 = Comparison between last render (from the screenshot above) and the viewport hairstyle with only the first "Ox Hair from Guides" modifier activated... quite similar! :
I don't know if how I processed it was the right approach, but I think it is quite a clean workflow as I evolve through my hairstyle, detailing it with steps (Hair from Guides). I wondered how this could work with animation, but I'm still stuck at the modelling stage for the moment...
By the way, Michael, I followed this workflow because you recommended viewing Andrew Hakim Lee's Ornatrix workflow on another post :-)
Michael, does the hairstyle work on your PC? Could there be any efficient workaround to have the hair working? I can't wait any longer because of deadlines.
Thank you,
Ryan.
_______________ Edit 1: I opened the scene on other PCs with 3ds Max 2014, Ornatrix 4.03 4140 and VRay 3.20.02. it does not work either (producing the same result as showed on my first post). Also, if this works on your pc, please could you upload the working scene?
Edit 2: this does not work on 3ds Max 2013, Ornatrix 4.03 4140 and Vray 2.40. Note that I applied the same creation pipeline on 2 other hairstyle and it didn't work either (on clean 3ds max instances). Could it be a modifier stack bug when using multiple "edit guides" along with "ox hair from guides" ? I didn't check with previous Ornatrix version as I don't own older versions.
Edit 3: Here are the differencies between Vray RT and Vray in production mode, using VRay 3.20.02: | ||
11 August 2015
#6382 | ||
Hello Marsel and Michael,
Any news on this?
A friend implied that this was a bug from Ornatrix when proceeding as I did (explained in previous post). He went exactly through the same stage I did, a couple of months ago, and he can't obtain a good; He suggested to convert to splines the last added Ox Hair from Guides (150 000 hair) and Grounding these to my scalp.
Have you tried repeating the steps (explained in previous post) to confirm if this is a bug? | ||
12 August 2015
#6383 | ||
Hello, Yes both Marsel and I tried your scene and got correct results when making sure the render and viewport Hair/Guide count was the same. In the scene you provided they were not all the same and that appread to be the issue. If you have a scene that shows the issue with Render and Display Hairs/Guides the same please post it and we will be happy to take another look. Thanks! Michael | ||
12 August 2015
#6384 | ||
What would be best to help us with debuging the scene is a simple scene with just a basic sphere with hair that shows the issue with as few modifers as possible. We appricate the moderatly stipped down scene you sent but please understand that there is always a good deal to debug and wade through with any production scene. We can see this with the confusion on how to setup and work with your scene. With that said the best way to get the issue identified and fixed is to create a simple scene with just a sphere with hair that shows the issue. If you can do that I am sure we can fix any issue strait away. Thanks so much Michael | ||
18 August 2015
#6406 | ||
Hello Michael,
This is fully functioning now. The issue was the Viewport Count / Render Count as stated before :) There was a bug when the Ox Hair from Guides modifiers wouldn't update but I fixed it by removing and re-adding one.
Ornatrix is a beaufitul plug-in, I'll recommend it in the future.
Thanks Michael and Marsel for the time spent, Ryan.
| ||
18 August 2015
#6407 | ||
Thank you for the kind words Ryan! Marsel Khadiyev (Software Developer, EPHERE Inc.) |