Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Return Tile Position and Index ?

Advisor ,
Jun 30, 2023 Jun 30, 2023

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 ?

TOPICS
General , How to
411
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 01, 2023 Jul 01, 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-...

 

Dave

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jul 01, 2023 Jul 01, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 01, 2023 Jul 01, 2023
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines