Skip to main content
StrongBeaver
Legend
July 1, 2023
Question

Return Tile Position and Index ?

  • July 1, 2023
  • 1 reply
  • 463 views

The Flood Fill to position node gets the position of each tile but when using this node with the Flood Fill to Index node, how can I along with the value processor get the position of the tile then if the tile position changes, using the Flood Fill to Index get the new tile position ?

 

Between the Shape Data Table and the Shape Data Table size, I don't know which would return the tile position before it changes so that this same tile position is recorded after it changes ?

 

In other words, if you have twenty tiles; index 0-20 and tile 13,14,15,16 position tile changes I want to record this change and what is it's new tile position and tile index ?

This topic has been closed for replies.

1 reply

davescm
Community Expert
Community Expert
July 1, 2023

The way the graphs work, if there is an update in a node, then it is reflected throughout the graph. At present there is no function to hold values in an array and keep them so they could be used in a comparison. It has been requested though. 

 

https://community.adobe.com/t5/substance-3d-designer-ideas/add-ability-to-store-and-sample-an-array-in-the-pixel-processor/idi-p/13890969

 

Dave

StrongBeaver
Legend
July 1, 2023

Since this is not available do you have any suggestion to complete this ?

davescm
Community Expert
Community Expert
July 1, 2023

The only way I can think of would be to run the graph with the first settings and output the values you want to store as an image which you can save as a bitmap.

Then make the changes and input that image again as a bitmap which you can sample and compare to the revised value settings.

Very awkward, but I can't think of another way.

 

Dave