Page 1 of 1

Create invisible IAnimatedMeshSceneNode

Posted: Wed Jul 31, 2013 1:10 am
by ledgarl
Hello everyone!

I want to create invisible IAnimatedMeshSceneNode .
I can not use "node-> setInvisible" because I need to have active the child nodes (joints bones and other nodes)

How I can create a invisibly node without having to disable it? I can create an Invisible material?

very thank!

Re: Create invisible IAnimatedMeshSceneNode

Posted: Wed Jul 31, 2013 8:18 am
by CuteAlien
Do you ever need the mesh? Otherwise you can clear the vertices + indices in the meshbuffers.

Re: Create invisible IAnimatedMeshSceneNode

Posted: Wed Jul 31, 2013 1:35 pm
by vivekSivamRP
you can set shaders for the animated node and in fragment shader set its alpha value to 0.

Re: Create invisible IAnimatedMeshSceneNode

Posted: Wed Aug 14, 2013 4:19 pm
by ledgarl
thanks for the comments ;)
I decided to apply a material type transparentAddColor,
this because I need to quickly switch on / off the visibility of the mesh

Re: Create invisible IAnimatedMeshSceneNode

Posted: Sat Aug 24, 2013 10:52 am
by sudi
why not use a dummyScenenode

Re: Create invisible IAnimatedMeshSceneNode

Posted: Wed Aug 28, 2013 6:54 am
by lumirion
why not node->setVisibility(false) ?