Summary

Title:VRay 3.6 can't render hair
Category:Crash/Critical
Status:Open
Posted By:jsnferns ( Jason Fernandes )
Date Created:19 April 2018

Problem

Description:

Vray can't even begin rendering. Crashes immediately with Vray Exception Error above.

Please note, it works if I convert strands to mesh, but that is undesirable.

This problem is happening in VRay 3.6 with Max 2018.

I have tested my installer as well as the same scene setup in VRay 3.4 with Max 2017 and everything works great.

Also I don't have the Ornatrix toolbar showing in Max 2018 and neither are the icons showing for the modifiers.

Steps to Reproduce:

Just create hair, render in Vray 3.6 for Max 2018 not working.

 

 

Attached Files:

>modifiers_steps.PNG (5238 bytes), >vray_exception.PNG (48437 bytes),

Vray Log attached


Attached Files:

>vraylog.txt (7230 bytes),

Hi,

What build of Ornatrix are you using?

Use the following command in MaxScript listener to add Ornatrix toolbar:

-- Adds Ornatrix toolbar to 3ds Max  OxAddToolbar()

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

Hi,

I am using Ornatrix 6.0.5.14700

Ok for some reason the cuix editor.dll and authorizer.dll didn't get copied over. But now that I have copied them to the Max folder, the rendering problem still persists.

Also when I try the OxAddToolbar().. it opens the script editor and highlights at : Line 708

    ( OxGetCuixEditor() ).AddToolbar (OxGetMaxIntegerVersion()) (GetDir #maxData) (OxGetToolbarRemovePattern()) "[ \\t]*" toolbarText

OxAddToolbar()
-- Error occurred in anonymous codeblock; filename: C:\Program Files\Autodesk\3ds Max 2018\scripts\startup\OrnatrixUtils.ms; position: 28656; line: 707
-- Runtime error: .NET runtime exception: Access to the path 'C:\Users\Jason\AppData\Local\Autodesk\3dsMax\2018 - 64bit\ENU\en-US\UI\Workspaces\Workspace1.cuix' is denied.
-- MAXScript callstack:
--    thread data: threadID:9844

.....

--        Externals:-- Error occurred in anonymous codeblock; filename: C:\Program Files\Autodesk\3ds Max 2018\scripts\startup\OrnatrixUtils.ms; position: 28656; line: 707
-- Runtime error: .NET runtime exception: Access to the path 'C:\Users\Jason\AppData\Local\Autodesk\3dsMax\2018 - 64bit\ENU\en-US\UI\Workspaces\Workspace1.cuix' is denied.
-- MAXScript callstack:
--    thread data: threadID:9844

Ornatrix Warning: Main parameter map is not initialized

 

Thanks

I was able to get the ornatrix toolbar back through loading DefaultUI from Customize User Interface Toolbar tab Icons are working as well. However rendering in vray still isn't working. Same error: 

error: UNHANDLED EXCEPTION: Preparing instances  Last marker is at ./src/vrayrenderer.cpp, line 4130: Preparing camera sampler

Hi, sorry for the delay. I see you are using V6, please have in mind that this version is still in beta and is recommended for testing only. To solve the rendering issue make sure you are using RenderSettings modifier to change the thickness of the hair strands instead of ChangeWidth modifier, this one is not compatible with VRay yet (Will be soon).

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

I've been using the Render Settings Modifier not changeWidth.