Community
Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to show mesh infomation into "Type" or "Maya text"?

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
g2m.agent
762 Views, 4 Replies

How to show mesh infomation into "Type" or "Maya text"?

in After Effects, there is a simple way to show "Value" to a text layer.

 

i think Bifrost should be more powerful than that. question is how?

 

maya_bbEqZVq7n6s.jpg

Tags (1)
Labels (2)
4 REPLIES 4
Message 2 of 5
g2m.agent
in reply to: g2m.agent

i tried some more but got the error message.

 

this is Bifrost Graph: output the face number of the cube as a string.

try output a stringtry output a string

 

this is Node Editor: connect "Type" to show that face number:

maya_08j0SHe22b.png

 

then i got warning:

connectAttr -f bifrostGraph1.string type1.textInput;
// Result: Connected bifrostGraph1.string to type1.textInput. //
// Warning: No valid input. Check the Script Editor for more info. //
// Warning: Can't perform polySoftEdge1 on selection //

 

and the viewport show nothing.

 

this is the result I expected:

maya_tlo57la3Kv.png

Message 3 of 5
mspeer
in reply to: g2m.agent

Hi!

 

The Text input of the Type node requires hexadecimal code,

if you want to create a "6" you need to output the value "36".

In your example add "30" and it will work for face numbers from 0 to 9.

For higher values the node network in Bifrost will become more complex, but it can be done.

Message 4 of 5
Bruce.Lee.
in reply to: g2m.agent

Check out the demo: https://www.youtube.com/watch?v=sTFIfTzd500

The method is that you need to set the type to Python, and then connect the characters output by Bifrost to the python Expression port.

Message 5 of 5
mspeer
in reply to: Bruce.Lee.

Hi!

 

To be a bit more specific you can set in the Type node the attribute "Generator" to "Python".

Then the Python Expression (input) will be used.

This is of course much better than using the Text Input.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums