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
2392 2 0-
- cocopops69
- Member
- 4 posts
- Joined: May 2018
- Offline
-
- tamte
- Member
- 9380 posts
- Joined: July 2007
- Offline
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 - Jan. 28, 2020 11:54:53
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- jsmack
- Member
- 8177 posts
- Joined: Sept. 2011
- Offline
-
- Quick Links

