CorvusCroax
![]() |
Hey: know what I really want for FF? A 'make a bunch of pipes' node, based on tiles.
Was thinking that it could just have 4 types of tiles: 1 straight piece 'I' 2 elbow 'L' 3 3-way joint 'T' 4 4-way joint '+' The trick would be how to make them stick together linearly, and not just random scattering. Has anyone tried to make such a thing using scripting? -CCX |
|||||||||
Posted: December 11, 2010 12:54 pm | ||||||||||
Sphinx.
![]() |
Hmm.. interesting challenge.. IIRC ubersev made something like this once (for FF1), it must be somewhere on the forum (called Pipes or Pipe IIRC)
I guess the trick is to figure out neighbour compatibility. For a given cell, you look at what the neighbour cells support (should give you a set of tile types) and then pick a random... |
|||||||||
Posted: December 14, 2010 8:17 am | ||||||||||
ronviers
![]() |
On the off-chance that you use maya, I have some python scripts that make tubes. You can find it here: http://ronviers.blogspot.com/ If you do use maya: Paste these scripts into your script editor or use them as functions. You know the routine, grad the control and scrub the atters. Also, there is a friendly gui under the 'extra attributes' section of the control handle attributes. Note: start with the coil script because it loads the python modules. @ronviers |
|||||||||
Posted: December 15, 2010 4:51 am | ||||||||||
Sphinx.
![]() |
||||||||||
Posted: December 15, 2010 5:27 am | ||||||||||
Sphinx.
![]() |
||||||||||
Posted: December 15, 2010 5:28 am | ||||||||||
Sphinx.
![]() |
||||||||||
Posted: December 15, 2010 5:28 am | ||||||||||
Sphinx.
![]() |
The script is quite fast, but there are some issues like seamless tiling and size slider adaption I need to solve before I publish it.. also I'd like to give the overall design some thought.. there is too many lines for such a simple rendering
![]() |
|||||||||
Posted: December 15, 2010 5:30 am | ||||||||||
CorvusCroax
![]() |
Hey hey! That's great Sphinx!
I was thinking that it might be good to add some kind of range for how many straight pieces one gets in a row. (Maybe a high value and a low value) That might help with having lots of re-entrant loops, like on the circular example above. ie more longer runs: ┌──────┤ └───────┘ and less shorter loops: ┌─┤┌─┌─┤ ┌â”└┘┼─ (hope that makes sense) |
|||||||||
Posted: December 15, 2010 8:05 pm | ||||||||||
Sphinx.
![]() |
Yes, I agree. I thought about making some sort of chance control (like in the bomber) for each piece type.. but I need to redesign things to make that work (i.e. store all compatible parts for a cell and select the actual one based on chance).
Btw - the three images above are all the same pipeline scheme, the circular + piece is just not connected in the center.. One main problem about the current design is that it relies on a pre-calculated cell grid, with info about the current piece type. This creates a repeated pipeline design (not seamless atm, but that is easy to fix). I'd like to find a generic solution so you can render unique pipeline design "endlessly".. not sure if it is possible, since pieces are picked in a relative manner: Consider a 4x4 grid First I pick a random piece and put that at 1,1
then I populate the rest of the first row with compatible Right = Left facings:
after that I populate the first column (Bottom = Top):
and finally I fill out the rest with a double compatibility check (R = L and B = T)
note: i have a fifth piece type: "no piece" It is this part of the script I don't fancy too much.. I'd like to be able to look up a piece anywhere in a "endless" grid.. EDIT: uh.. view these with monospaced font.. FF when do you add code formatting blocks in the forum? Just plain monospaced font formatting would do it... EDIT2: Thanks GMM!! |
|||||||||
Posted: December 16, 2010 3:22 am | ||||||||||
Sphinx.
![]() |
||||||||||
Posted: December 19, 2010 10:36 am | ||||||||||
Indigo Ray
![]() |
Looks like circuit board on that last one. I'd like to see more of this pipe-work.
![]() |
|||||||||
Posted: December 19, 2010 3:58 pm | ||||||||||
CFandM
![]() |
+1 on that....Its looking very cool Sphinx.. Stupid things happen to computers for stupid reasons at stupid times! |
|||||||||
Posted: December 24, 2010 4:49 am | ||||||||||
CorvusCroax
![]() |
ooo... nice Sphinx!
|
|||||||||
Posted: December 24, 2010 12:00 pm | ||||||||||
ThreeDee
![]() |
||||||||||
Posted: December 27, 2010 6:18 am | ||||||||||
ThreeDee
![]() |
It's mostly tiles with some binary logic as to whether there should be a connection between the tiles or not.
PipeNoScript.ffxml |
|||||||||
Posted: December 27, 2010 6:21 am | ||||||||||
ThreeDee
![]() |
The only controls are Repeat and Vertical/Horizontal balance. The result kinda seems closer to a maze than pipes since I didn't bother to round the corners...
|
|||||||||
Posted: December 27, 2010 6:25 am | ||||||||||
Sphinx.
![]() |
Cool Stuff ThreeDee!
Here is Ubersev´s old pipe filter - I really like the logical part of that one, very nice thinking! It supports some of the connector types mentioned earlier Pipes (2).ffxml |
|||||||||
Posted: December 27, 2010 8:25 am | ||||||||||
Sphinx.
![]() |
And here is my old attempt, which is very simple, but also create some unwanted dots. I just updated it with a quick dot removal hack..
The cool thing about this one is that it is very easy to "inject" custom shapes (I just used the randomizer in the Tiles components here, it could be any shape) Pipes C1.ffxml |
|||||||||
Posted: December 27, 2010 8:28 am | ||||||||||
ThreeDee
![]() |
Wow, that's inventive. If one were to pile a couple of these on top of each other it would be just about perfect. Maybe there is a simple way to avoid those circular loops. And with bombers one could easily do custom shapes for the pipe elements. |
|||||||||
Posted: December 28, 2010 5:58 am | ||||||||||
ThreeDee
![]() |
||||||||||
Posted: December 28, 2010 7:44 am | ||||||||||
SpaceRay
![]() |
Please, Sphinx would be possible to know how you have done this mix of different sized rectangles and squares pattern?
It would be cool if this could be used: * to fill some of the rectangles or squares with different solid colors, * or with photo textures, * or like image overlay like in this Wire imprint filter by vwg * or make this as a model huge multiframes and make it in high resolution and put inside many mini photos
Also from this thread I like and are well done these other examples
Cool and beautiful circuit board style graphic Also like too this kind of maze graphic
Also interesting other interesting pipes and maze like experiments ![]() |
|||||||||
Posted: March 15, 2013 12:02 pm | ||||||||||
Skybase
![]() |
Come to think of it, this makes for a great FilterForge homework exercise.
![]() |
|||||||||
Posted: March 16, 2013 6:30 am | ||||||||||
SpaceRay
![]() |
well, I could try to make it and figure out only if this can be done without using any kind of scripts, as I can´t script, so I was asking and confirm this and this is done without script or does not any complex math with FF components (as you say that it could be quite a brain teaser ![]() |
|||||||||
Posted: March 16, 2013 6:52 am | ||||||||||
Sphinx.
![]() |
||||||||||
Posted: March 16, 2013 7:54 am | ||||||||||
SpaceRay
![]() |
After having seen this thread, I wonder if this suggestion shown on this thread bellos could be possible to make
Theo Van Doesburg grid or maze like compositions made inside FF? Would it be needed a script to be able to make this? |
|||||||||
Posted: November 1, 2013 3:23 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,533 Posts
+38 new in 30 days!
15,348 Topics
+73 new in year!
22 unregistered users.