Summary

Title:Lucid Dynamics Plugin Does not Load, Dynamics Add Results in Crash
Category:Crash/Critical
Status:Closed
Posted By:baslack ( Benjamin Slack )
Date Created:22 April 2016

Problem

Description:

On Ornatrix startup the following message is displayed in the script editor:

// Warning: Ornatrix Warning: Lucid initialization failed: Failed to load dynamic library Ephere.Plugins.Lucid //

 Attempting to attach dynamics to the stack results in a repeatable crash because of the missing DLL. However, that plugin does exist in the install at this location:

 

C:\Program Files\Ephere\Ornatrix for Maya\bin

 

Maya: 2015 SP6

Windows: 7 SP 1

Ornatrix: 0.4.5.7235

API: 201500

Steps to Reproduce:

1. Load Ornatrix via Plugin Manager

2. Note Error/Warning in Script Editor.

3. Create>PolySphere

4. Add Hair to Selection from Ornatrix Shelf

5. Add Gravity Modifier from Ornatrix Shelf

6. Add Dynamics Modifier from Ornatrix Shelf

This results in a repeatable crash here.

Thank you for the report. The dynamics node is not yet operational.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

That would explain it. Is there a location of TODOs so I don't make false reports on things that aren't yet implemented?

-B

---

http://nimajneb.com

 

No immediate TODO, but we generally don't expose things until they're ready. This is one of the exceptions since I am testing this node quite a bit here and it is more convenient. Generally things covered in the docs, for example, are what's already in for good.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

I'm getting this error as well, but with a current build.

 

Error:

// GravityNode1 //
OxAddStrandOperator "" "DynamicsNode";
// Error: Ornatrix: ..\..\..\Lucid\Private\LucidHostBase.cpp(48): Could not load Lucid library: The specified procedure could not be found. (0x7f) //
// Error: Ornatrix: ..\..\..\Lucid\Private\LucidHostBase.cpp(48): Could not load Lucid library: The specified procedure could not be found. (0x7f) //
// DynamicsNode1 //
// Press the ESC key to stop playback.

 

system specs:

win7pro x64

maya 2015, ext1, sp6

Ornatrix_1.1.6.9785

 

my ornatrix.mod file:

+ MAYAVERSION:2015 Ornatrix 1.1.0.8822 //disks/nas0/CGI/_plugins/maya/2015/ephere/Ornatrix_1.1.6.9785
plug-ins: 2015
[r] scripts: scripts
MTOA_EXTENSIONS_PATH := 2015/extensions
ORNATRIX_ARNOLD_PROCEDURAL_PATH := 2015/procedurals/OrnatrixProcedural.dll
ORNATRIX_MAYA_GROOMS_DIR := Grooms
PATH +:=bin

 

solved.

First, I copied the glew32.dll into maya2015/bin, replacing the original.  Now when adding dynamics, I got an error that Lucid could not load the CUDA driver.  Sure enough, I couldn't get an IPR render from VRay with CUDA set either, so downloaded and installed CUDA toolkit (keeps my vid drivers, but updates CUDA), and lo, I could render VRay IPR with CUDA, and in ornatrix, dyamics now works.

 

Recap:

- replace maya 2015/bin/glew32.dll with ornatrix/bin/glew32.dll

- download CUDA toolkit and install to get latest CUDA drivers

 

Thank you.

 

-ctj

Thank you for the follow up, Janney.

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

Copying glew32.dll over the one in Maya 2015\bin should be done by the Ornatrix installer.

I just checked and found that it has been done in revision 8908. I don't have Maya 2015 installed and can't try it right now, but I think this should be working and you don't have to do it manually with recent releases.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Guys i have just downloaded tha latest demo build and im getting the same error???

 

Ornatrix Info: Ornatrix 2.1.7.16191 Release Demo initialized
Ornatrix Warning: Could not load Ephere.Plugins.Lucid.FlexAdapterCuda.dll, error: The specified module could not be found. (0x7e)

also i can find the dll that someone said that is fixing the problem, am i missing something?

We can't reproduce this.

Which is your Maya version?

Which is your Windows version?

Have you installed any Ornatrix version in the past?

Do you have an NVidia video card?

Can you list the contents of this directory: C:\Program Files\Ephere\Ornatrix for Maya\bin ?

Does the error appear immediately after you load Ornatrix, or you do something else? I think Lucid is only loaded the first time a DynamicsNode is added to the scene.

Even with that error, does Ornatrix work? And maybe even Lucid dynamics should work, because it can use Direct3D if CUDA is missing.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

same problem in 2020...years later!

"// Warning: Ornatrix: Could not load Ephere.Plugins.Lucid.FlexAdapterCuda.dll, error: The specified module could not be found. (0x7e)" - last 3xbuilds

Yes I had the demo version installed! any registry scums? (clean it anyways)

Nvidia 202ti on win10

tks