Sorry for the beginners question … but i cant seem to find the correct syntax to call a detail paremeter within a BLAST node ..
Im trying to blast out the furthest point that is furthest away from all other points in a primitive.. promoting the highest value to detail (with maximum promotion method) and then pluging this node into a spare input in the blast node and calling it with -1 ( see pic below)
Im sure that there are other ways of doing this ..but I got fixated on trying to remember the correct syntax for this
If just type in detail(=1,“FAREST”,0) into the blast node i get the correct number .. so that part is set up correct .. I cant for the life of mew remember the correct syntax to input though ..
Im sure ive done this kind of operation multiple times before , but cant find the correct syntax anywhere on the internet.
(BEGINNER) how do I use "detail" inside a blast node
1131 2 0- cocopops69
- Member
- 4 posts
- Joined: 5月 2018
- Offline
- tamte
- Member
- 8551 posts
- Joined: 7月 2007
- Online
you need to enclose expressions in backticks
also if you are using float numbersyou should qive it some threshold as equivalency of floats can be tricky
@FAREST=`detail(-1, "FAREST", 0)`
@FAREST>`detail(-1, "FAREST", 0)-0.0001`
Edited by tamte - 2020年1月28日 11:54:53
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- jsmack
- Member
- 7770 posts
- Joined: 9月 2011
- Online
-
- Quick Links