Git Product home page Git Product logo

Comments (5)

NikkyAI avatar NikkyAI commented on April 28, 2024 1

i hope i can help a little ..
i made myself a little table to understand how it works

as far as i understand you match the right side of the left piece and the left side of the right piece
the left piece can be rotated left by x the L x number pointing to where the side thats compared will end up
the right piece cna be rotated right by x and i marked it using R x

L 3 R 1
bridge L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
component L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
connection L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
corner L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
dskew L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
skew L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
substrate L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
t L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
track L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
transition L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
turn L 2 L 0 R 0 R 2
L 1 R 3
L 3 R 1
vias L 2 L 0 R 0 R 2
L 1 R 3

PS: i am working on a script that generates the neighbor entries based on which faces/connections a tile has.. it also supports things like (circuit example again) connection has to connect to component_internal, component_internal, can connect to components,
essentially circumeventing mini chips if i had only compare equality of face/connection names

i will share the script here probably

from wavefunctioncollapse.

selfsame avatar selfsame commented on April 28, 2024 1

@MatveyK I believe @mxgmn mentioned you have to call Propagate a few times after manually writing the wave coefficients? Interested in how to set this up as well :)

from wavefunctioncollapse.

mxgmn avatar mxgmn commented on April 28, 2024

Hi! After setting up the wave (=observing with predetermined results) you need to propagate the obtained information with while(Propagate());. See, for example, how I set up the ground constraint in OverlappingModel.Clear().

from wavefunctioncollapse.

mxgmn avatar mxgmn commented on April 28, 2024

@NikkyAI Yeah, the quickest way to setup adjacency data is just to label the edges of each tile. Then the settings xml files for each tileset would be very short. However, this works only with transitive adjacency data - if tile A can connect to tiles B and C then tiles B and C should also connect. Knots and Circles tilesets are transitive, the others - not.

from wavefunctioncollapse.

mxgmn avatar mxgmn commented on April 28, 2024

I explained how to handle constraints in more detail in this issue.

from wavefunctioncollapse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.