Summary

Title:MeshFromStrandsNode - map channel error
Category:Crash/Critical
Status:Open
Posted By:engineeringa52 ( Kevin Bass )
Date Created:22 September 2016

Problem

Description:

I am getting an error when trying to create a second mapping channel using the MeshFromStrand node.  I mentioned it in the other thread, but am adding it here so you catch it.

1. make sphere

2. apply feather preset

3. change mapping channel

4. error

 

Andy

Steps to Reproduce:

screen grab


Attached Files:
Image 1

Thanks for the screen grab, we'll investigate.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

I cannot reproduce this. Just to be sure we're on the same page: created sphere, put quick hair (feathers), and in MeshFromStrands changed "Selected Map Channel" to 1. Does not error for me. Which ornatrix version are you using?

build 1.0.9.8686

see attache video


Attached Files:

>mapChannelError.mp4 (2653584 bytes),

Maya 2015 ext 1 sp 6

Error log:

OxAddHairToSelection;

// Result: Feathers1 //

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (9): NearEqual( dir.length(), Real( 1 ), 0.001f ) //

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (8): NearEqual( dir.length(), Real( 1 ), 0.001f ) //

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (7): NearEqual( dir.length(), Real( 1 ), 0.001f ) //

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (4): NearEqual( dir.length(), Real( 1 ), 0.001f ) //

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (3): NearEqual( dir.length(), Real( 1 ), 0.001f ) //

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (5): NearEqual( dir.length(), Real( 1 ), 0.001f ) //

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (3): NearEqual( dir.length(), Real( 1 ), 0.001f ) //

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (6): NearEqual( dir.length(), Real( 1 ), 0.001f ) //

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed: NearEqual( dir.length(), Real( 1 ), 0.001f )

Stack trace:

uninitializePlugin

uninitializePlugin

uninitializePlugin

uninitializePlugin

uninitializePlugin

uninitializePlugin

uninitializePlugin

tbb::interface7::internal::task_arena_base::internal_initialize

tbb::interface7::internal::task_arena_base::internal_initialize

tbb::interface7::internal::task_arena_base::internal_initialize

tbb::interface7::internal::task_arena_base::internal_initialize

tbb::interface7::internal::task_arena_base::internal_initialize

uninitializePlugin

uninitializePlugin

THdependNode::computePlug

TdependNode::dbEvaluate

TdependNode::mpSafeDbEvaluate

TdependNode::processEval

TfastTrack::debugMe

Tplug::evalConnectionValue

Tplug::evaluateValue

TdataBlockDG::value

TmeshShape::computeObject

TdependNode::dbEvaluate

TdagObject::dbEvaluate

TdependNode::mpSafeDbEvaluateWithSet

Tplug::processEval

Tplug::evaluateValue

TdataBlockDG::value

TmeshShape::meshGeomDataRef

TmeshShape::boundingBox

TfrustumCullTraversal::cull

TfrustumCullTraversal::traverse

TfrustumCullTraversal::traverseChildren

TdrawTraversal::processThisObject

TdrawTraversal::processObject

TfrustumCullTraversal::cull

TfrustumCullTraversal::traverse

TfrustumCullTraversal::traverseChildren

TdrawTraversal::processThisObject

//

select -cl ;

select -r SurfaceCombNode1 ;

OxEditSurfaceCombSink -a -p 0.665291 0.555116 0.49271 -d 0.225894 -0.679081 0.355374 -f 513 -c 0.0302492 0.244177 0.725574 -typ 2 ;

OxEditSurfaceCombSink -a -p 0.12408 0.543305 0.816622 -d 0.14424 -0.554282 0.316819 -f 509 -c 0.537374 0.332452 0.130175 -typ 2 ;

// Warning: Selected object needs to be a SurfaceCombNode! //

select -r GuidesFromMeshNode1 ;

// Error: file: //disks/nas0/CGI/_plugins/maya/2015/ephere/Ornatrix_1.0.9.8686/scripts/AEOrnatrix.mel line 167: Object 'SurfaceCombNodedetachRoots' not found. //

setAttr "GuidesFromMeshNode1.length" 1;

setAttr "GuidesFromMeshNode1.length" 0.1;

// Warning: Selected object needs to be a SurfaceCombNode! //

select -r MeshFromStrandsNode1 ;

setAttr -type Int32Array MeshFromStrandsNode1.mappingTypes 1 0 ;

// Warning: Selected object needs to be a SurfaceCombNode! //

select -r RenderSettingsNode1 ;

setAttr "RenderSettingsNode1.radius" 0.0131579;

select -cl ;

// Warning: Selected object needs to be a SurfaceCombNode! //

select -r MeshFromStrandsNode1 ;

setAttr "MeshFromStrandsNode1.mapChannelCount" 2;

// Error: Ornatrix: Private\TriangleMeshAccess.cpp(779): Assert failed: fnMesh.assignUVs( textureChannelAfterEditing.uvCounts, textureChannelAfterEditing.uvIds, &textureChannelAfterEditing.name ): (kInvalidParameter): No element at given index

Stack trace:

uninitializePlugin

uninitializePlugin

uninitializePlugin

uninitializePlugin

uninitializePlugin

uninitializePlugin

uninitializePlugin

uninitializePlugin

THdependNode::computePlug

TdependNode::dbEvaluate

TdependNode::mpSafeDbEvaluate

TdependNode::processEval

TfastTrack::debugMe

Tplug::evalConnectionValue

Tplug::evaluateValue

TdataBlockDG::value

TmeshShape::computeObject

TdependNode::dbEvaluate

TdagObject::dbEvaluate

TdependNode::mpSafeDbEvaluateWithSet

Tplug::processEval

Tplug::evaluateValue

TdataBlockDG::value

TmeshShape::meshGeomDataRef

TmeshShape::boundingBox

TfrustumCullTraversal::cull

TfrustumCullTraversal::traverse

TfrustumCullTraversal::traverseChildren

TdrawTraversal::processThisObject

TdrawTraversal::processObject

TfrustumCullTraversal::cull

TfrustumCullTraversal::traverse

TfrustumCullTraversal::traverseChildren

TdrawTraversal::processThisObject

TdrawTraversal::processObject

TfrustumCullTraversal::cull

TfrustumCullTraversal::traverse

TfrustumCullTraversal::traverseDag

TdrawTraversal::traverseView

TdrawProcess::mpRefresh

//

select -cl ;

file -f -new;

// Result: untitled //

// Warning: Turtle is not loaded. //

// Warning: Zero unknown plugins have been found in your scene. //

polySphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1;

// Result: pSphere1 polySphere1 //

select -cl ;

OxAddHairToSelection;

select -r pSphere1 ;

OxAddHairToSelection;

// Result: Feathers1 //

select -r SurfaceCombNode1 ;

OxEditSurfaceCombSink -a -p 0.552607 0.623672 0.534617 -d 0.25401 -0.516065 0.361647 -f 552 -c 0.167928 0.531312 0.30076 -typ 2 ;

OxEditSurfaceCombSink -a -p 0.58947 0.496802 -0.618446 -d 0.2794 -0.404408 -0.0667584 -f 482 -c 0.121249 0.558775 0.319976 -typ 2 ;

SelectToolOptionsMarkingMenu;

dR_SelectToolMarkingMenuPopDown;

select -r GuidesFromMeshNode1 ;

// Error: file: //disks/nas0/CGI/_plugins/maya/2015/ephere/Ornatrix_1.0.9.8686/scripts/AEOrnatrix.mel line 167: Object 'SurfaceCombNodedetachRoots' not found. //

setAttr "GuidesFromMeshNode1.lengthRandomness" 0.1;

select -r MeshFromStrandsNode1 ;

select -r RenderSettingsNode1 ;

setAttr "RenderSettingsNode1.radius" 0.1;

select -r GuidesFromMeshNode1 ;

// Error: file: //disks/nas0/CGI/_plugins/maya/2015/ephere/Ornatrix_1.0.9.8686/scripts/AEOrnatrix.mel line 167: Object 'SurfaceCombNodedetachRoots' not found. //

setAttr "GuidesFromMeshNode1.length" 1.123595;

OxEnableOperator RotateNode1 0;

select -r RotateNode1 ;

OxEnableOperator RotateNode1 1;

select -r RotateNode1 ;

setAttr "RotateNode1.globalAngle" 3.141593;

select -r MeshFromStrandsNode1 ;

setAttr "MeshFromStrandsNode1.mapChannelCount" 2;

// Error: Ornatrix: Private\TriangleMeshAccess.cpp(779): Assert failed (2): fnMesh.assignUVs( textureChannelAfterEditing.uvCounts, textureChannelAfterEditing.uvIds, &textureChannelAfterEditing.name ): (kInvalidParameter): No element at given index //

 

Strange, I'm doing the exact same steps you did and cannot reproduce it still. Can you please try with a newer build (nightly 1.0.9.8745 for example). If you are able to test with maya 2016, that would be great too.

I iwll try a new build.. but I cannot try 2016 as we are skipping that here and moving to 2017 but we do not have 2017 prepped for our pipeline yet.

standy by.

 

A

same thing in 2015 and 2017 (nightly 1.0.9.8745)

 

2017 error:

// Error: Ornatrix: Private\TriangleMeshAccess.cpp(779): Assert failed: fnMesh.assignUVs( textureChannelAfterEditing.uvCounts, textureChannelAfterEditing.uvIds, &textureChannelAfterEditing.name ): (kInvalidParameter): No element at given index
Stack trace:
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
THdependNode::computePlug
TdependNode::dbEvaluate
TdependNode::mpSafeDbEvaluate
TdependNode::processEval
TfastTrack::debugMe
Tplug::evalConnectionValue
Tplug::evaluateValue
TdataBlockDG::value
TmeshShape::computeObject
TdependNode::dbEvaluate
TdagObject::dbEvaluate
TdependNode::mpSafeDbEvaluateWithSet
Tplug::processEval
Tplug::evaluateValue
TdataBlockDG::value
TmeshShape::meshGeomDataRef
TmeshShape::boundingBox
OGSMayaDagObjectEvaluator::doDGBoundingBox
OGSMayaDagObjectEvaluator::PushBoundsFromDG
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
tbb::interface7::internal::task_arena_base::internal_initialize
tbb::task_scheduler_init::initialize
tbb::task_scheduler_init::initialize
tbb::internal::thread_sleep_v3
_TBB_machine_is_in_transaction
_TBB_machine_is_in_transaction
BaseThreadInitThunk
RtlUserThreadStart
//


Attached Files:
Image 1

any progress in re-producing it?

we are on Windows 7/ Maya 2015 ext1 sp 6 and i've tried with the latest stable and latest nightly.

thanks

Andy

still trying. Will report here when I have something.

Hi Andy,

I notice in the video you are doing a lot of extra steps besides what you wrote in the original description of the video. If you just set the napping channel count to 2 right after applying the Feathers preset do you still get the error? I've been trying to reproduce this here without any luck.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

yeah still happens.  I have a funny feeling that it might be a hardware issue as I feel that this worked in earlier build on a different machine.  I was reciently upgraded.  I am trying to get on a different machine and test it.

this was litterly 3 steps.

create sphere

click feather preset

change map channel.


Attached Files:
Image 1

Strange indeed. I checked the code where this assertion happens and it seems given the same steps it should produce correct results. Being able to reproduce this would certainly help a lot.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

different machines... also we do not have a local install we are using a module with the unzipped archive.

+ MAYAVERSION:2015 Ornatrix 1.0.7.8346 //disks/nas0/CGI/_plugins/maya/2015/ephere/Ornatrix_1.0.7.8346
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

hope this helps...  in a few mintues i'll install locally and see if that fixes the problem.

Andy

 

I'm also getting an odd behaviour with the surface comb node as there are no created feathers until i put a few sinks there....

 

i seem to get a proper extra map channel when i:

delete the surface comb, MeshFromStrands

create new MeshfromStrands

change map channel.

this is a local install now but i saw the same behaviour with the network install.

thoughts?  it feels like there is something wrong with the surface combNode??


Attached Files:

>mapChannelError_02.mp4 (6597027 bytes),

I'm finally getting it to work but I also had to click "remember root" positions in the HairFromGuidesNode node.... is that a requirement for the map channels to work?

nope... not working... (Ornatrix_nightly_1.0.9.8762)

here is the latest error when I create the furball

 

// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (7): NearEqual( dir.length(), Real( 1 ), 0.001f ) //
// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (5): NearEqual( dir.length(), Real( 1 ), 0.001f ) //
// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (4): NearEqual( dir.length(), Real( 1 ), 0.001f ) //
// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (2): NearEqual( dir.length(), Real( 1 ), 0.001f ) //
// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (9): NearEqual( dir.length(), Real( 1 ), 0.001f ) //
// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (3): NearEqual( dir.length(), Real( 1 ), 0.001f ) //
// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (8): NearEqual( dir.length(), Real( 1 ), 0.001f ) //
// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed (6): NearEqual( dir.length(), Real( 1 ), 0.001f ) //
// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed: NearEqual( dir.length(), Real( 1 ), 0.001f )
Stack trace:
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
tbb::interface7::internal:initialize
tbb::task_scheduler_init::initialize
tbb::task_scheduler_init::initialize
tbb::internal::thread_sleep_v3
_TBB_machine_is_in_transaction
_TBB_machine_is_in_transaction
BaseThreadInitThunk
RtlUserThreadStart
//
// Error: Ornatrix: c:\teamcity\buildagent\work\80d53d29806f4192\ephere\geometry\native\Matrix.inl(240): Assert failed: NearEqual( dir.length(), Real( 1 ), 0.001f )
Stack trace:
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
uninitializePlugin
tbb::interface7::internal::task_arena_base::internal_initialize
tbb::task_scheduler_init::initialize
tbb::task_scheduler_init::initialize
tbb::iask_scheduler_init::initialize
_TBB_machine_is_in_transaction
_TBB:internal::thread_sleep_v3
BaseThreadInitThunk
RtlUserThreadStart
//

maybe you have some unexported dependancies... " c:\teamcity\buildagent\" on your local builds.

A

Very strange, it is almost as though the preset is different or something is being evaluated differently. I will test with the exact same build and let you know what I find.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

im having the exact same problem.   Total dealbreaker :(

Marcel,  Just checking in.  Any headway?

Thanks

Andy

I am still unable to reproduce this, but I am trying on Maya 2016. Do you have another version of Maya to try by a chance?

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Just tried it again on Maya 2017 and still cannot reproduce. Please let me know if this is still a problem for you.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

hey just installed 2017, i've been busy on other stuff but I finally had time to come back to this.  again... still getting a map channel error.  

simpley create sphere.

use feather preset

change map channel count

no uvs in either channel when checking per-strand node.

 

here is the error

Ornatrix Info: Ornatrix 1.2.0.10425 Release initialized
Ornatrix Error: Assert failed: fnMesh.assignUVs( textureChannelAfterEditing.uvCounts, textureChannelAfterEditing.uvIds, &textureChannelAfterEditing.name ): (kInvalidParameter): No element at given index
Stack trace:
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
THdependNode::computePlug
TdependNode::dbEvaluate
TdependNode::mpSafeDbEvaluate
TdependNode::processEval
TfastTrack::debugMe
Tplug::evalConnectionValue
Tplug::evaluateValue
TdataBlockDG::value
TmeshShape::computeObject
TdependNode::dbEvaluate
TdagObject::dbEvaluate
TdependNode::mpSafeDbEvaluateWithSet
Tplug::processEval
Tplug::evaluateValue
TdataBlockDG::value
TmeshShape::meshGeomDataRef
TmeshShape::boundingBox
OGSMayaDagObjectEvaluator::doDGBoundingBox
OGSMayaDagObjectEvaluator::PushBoundsFromDG
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
tbb::interface7::internal::task_arena_base::internal_initialize
tbb::task_scheduler_init::initialize
tbb::task_scheduler_init::initialize
tbb::internal::thread_sleep_v3
_TBB_machine_is_in_transaction
_TBB_machine_is_in_transaction
BaseThreadInitThunk
RtlUserThreadStart
Ornatrix Error: Assert failed (2): fnMesh.assignUVs( textureChannelAfterEditing.uvCounts, textureChannelAfterEditing.uvIds, &textureChannelAfterEditing.name ): (kInvalidParameter): No element at given index

 

version Ornatrix_1.2.0.1045

we are running  it from the zip archive

 

I am going to try a local install next.  :(  this makes a feather pipeline a non starter for us. :(

yep same issue with local install of the latest bill in maya 2017

 

Ornatrix Info: Ornatrix 1.2.0.10425 Release initialized
Ornatrix Error: Assert failed: fnMesh.assignUVs( textureChannelAfterEditing.uvCounts, textureChannelAfterEditing.uvIds, &textureChannelAfterEditing.name ): (kInvalidParameter): No element at given index
Stack trace:
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
initephere_ornatrix
THdependNode::computePlug
TdependNode::dbEvaluate
TdependNode::mpSafeDbEvaluate
TdependNode::processEval
TfastTrack::debugMe
Tplug::evalConnectionValue
Tplug::evaluateValue
TdataBlockDG::value
TmeshShape::computeObject
TdependNode::dbEvaluate
TdagObject::dbEvaluate
TdependNode::mpSafeDbEvaluateWithSet
Tplug::processEval
Tplug::evaluateValue
TdataBlockDG::value
TmeshShape::meshGeomDataRef
TmeshShape::boundingBox
OGSMayaDagObjectEvaluator::doDGBoundingBox
OGSMayaDagObjectEvaluator::PushBoundsFromDG
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
OGSMayaParameterMappingPtrList::iterator_impl<OGSMayaParameterMapping * __ptr64 const>::is_convertible<OGSMayaParameterMapping * __ptr64 const * __ptr64,OGSMayaParameterMapping * __ptr64 const * __ptr64>::operator=
tbb::interface7::internal::task_arena_base::internal_initialize
tbb::task_scheduler_init::initialize
tbb::task_scheduler_init::initialize
tbb::internal::thread_sleep_v3
_TBB_machine_is_in_transaction
_TBB_machine_is_in_transaction
BaseThreadInitThunk
RtlUserThreadStart
Ornatrix Error: Assert failed (2): fnMesh.assignUVs( textureChannelAfterEditing.uvCounts, textureChannelAfterEditing.uvIds, &textureChannelAfterEditing.name ): (kInvalidParameter): No element at given index

The error you're getting now is different from the one in the past. But I could not reproduce it (Maya 2017 on Windows). After opening Maya I created a sphere, added a Feathers groom to it, clicked the MeshFromStrandsNode in the stack and changed Map Channel Count to 2. Here's the log from the Script Editor:

CreatePolygonSphere;
polySphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1;
// Result: pSphere1 polySphere1 //
OxAddHairToSelection;
// Ornatrix: Ornatrix 1.2.0.10430 Release initialized //
select -r MeshFromStrandsNode1 ;
setAttr -type Int32Array MeshFromStrandsNode1.mappingTypes 1 0 ;
setAttr "MeshFromStrandsNode1.mapChannelCount" 2;

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

yeah we just tried it on another machine... and have the same no good result.  i am at a loss....

any ideas on how to trouble shoot or get a better log to you guys?  can you get me a debug build so i can give you more information?

thanks

Andy

Problem solved.  We selected a different mapping type then back to the first one... and it works.  but only if you have Per-Strand Coordinates checked for the first mapping channel otherwise the mapping for the unlying surface gets garbled onto the feathers.

looks like there is an underlying refresh of the node that i not working correctly.

Andy

 


Attached Files:
Image 1

Also the base channel index is randomly getting different values automatically put there... FYI