• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

VaM 1.x Trigger to modify alpha

Threads regarding the original VaM 1.x

pingox

Member
Joined
Mar 18, 2024
Messages
50
Reactions
4
I am conducting some experiments to use with passthrough and cannot find the option to change the alpha of atoms (such as a chair, for example).

During the scene, I want there to be a button or slider to hide or show a chair, but I want to keep the physical properties of the chair even if it is not visible, so I think setting the alpha to zero is the option, but I want to do it through a trigger. Is this possible?

I could do it through atomControl / toggleOn, but then I lose the collision.

Thank you.
 
Solution
Thanks! Don't work for my kind of atom.
This chair must be another type of atom. Mine in this case is a simple cube, and I just noticed that I don't have that ‘material -> hide’ option.

I also tried setting the atom's alpha to zero using the timeline, but it conflicts with the other animations I have in the scene. I don't know if it's possible to create a new instance of the timeline, but I don't know how to do it.
I do see the hideMaterial property for a simple cube and I can manipulate it with a toggle as described above.

1768135599090.png


In case of the simple shapes, you can also access the alpha value:

1768135656275.png
Hi, you can do this with a UIToggle by manipulating the hideMaterial property of each material of the object. In the example of an AptChair (2 materials for the main seat and the legs) it looks like this:

1768132360913.png


1768132383570.png
1768132418112.png
 
Upvote 0
Thanks! Don't work for my kind of atom.
This chair must be another type of atom. Mine in this case is a simple cube, and I just noticed that I don't have that ‘material -> hide’ option.

I also tried setting the atom's alpha to zero using the timeline, but it conflicts with the other animations I have in the scene. I don't know if it's possible to create a new instance of the timeline, but I don't know how to do it.
 
Upvote 0
Thanks! Don't work for my kind of atom.
This chair must be another type of atom. Mine in this case is a simple cube, and I just noticed that I don't have that ‘material -> hide’ option.

I also tried setting the atom's alpha to zero using the timeline, but it conflicts with the other animations I have in the scene. I don't know if it's possible to create a new instance of the timeline, but I don't know how to do it.
I do see the hideMaterial property for a simple cube and I can manipulate it with a toggle as described above.

1768135599090.png


In case of the simple shapes, you can also access the alpha value:

1768135656275.png
 
Upvote 0
Solution
Thank you, that's right.
(I got stuck looking for the ‘Material’ option on the receiver and didn't even open ‘cubeMat’, which is the same thing).

I didn't use C.U.A. (chair) because they didn't have the alpha option to change manually during passthrough, and I was using basic cubes. But now I see there's a way around it.

Thank you.
 
Upvote 0
Back
Top Bottom