Title: Repeat along axis formula Post by: Erisian on February 17, 2012, 07:39:49 PM Tell me if I'm being silly but I had an idea for a Repeat along axis formula. The formula would allow you to repeat an object any number of times along an axis of your choosing. Is this possible?
Title: Re: Repeat along axis formula Post by: David Makin on February 17, 2012, 08:10:41 PM Tell me if I'm being silly but I had an idea for a Repeat along axis formula. The formula would allow you to repeat an object any number of times along an axis of your choosing. Is this possible? Yes - just include a modulus mapping such that the moduli used on each axis are centred/offset and scaled as the user wishes. This could be done as a simple transform of the render space or iteratively as part of the fractal formula. Of course naive implementation will produce discontinuities but there are various ways to avoid this - similar to the methods of avoiding discontinuities when applying folding etc. Title: Re: Repeat along axis formula Post by: DarkBeam on February 17, 2012, 08:19:21 PM Tell me if I'm being silly but I had an idea for a Repeat along axis formula. The formula would allow you to repeat an object any number of times along an axis of your choosing. Is this possible? This is already possible with the current formulas, play a bit with them before asking. Thank you. Title: Re: Repeat along axis formula Post by: DarkBeam on February 17, 2012, 08:58:05 PM Mandelbulb3Dv17{
W.....S....O/...0....2....UQuKEmamAB.nBaatNWVA5ECvfjzfAmF.Q4/HByaEGDziI1km1r65/k ................................MDgIdfqIDz1........A./..................y.2..... ................/M.0/....6Ep0...8.....E2.....6TtBqzCP8tD/..........m/dkpXm1....U z.EnAnYD12../..........wz..................................u1....y1...sD...../.. .w1...sDrM2i5Xaa0y1Q2Tzk6Oaiyqen3ySIR.tjGMwnNfFycrvDItzyvgdYzsOghII3wtfj3Axrk5J5 Ey13NlvFJkbfyIhccMAOO8sD......Y1..............kD.2....sD..kz.................... .............oAnAr1...sD....z.qRo4..sFP.UW5h/.ISo4.stFP..e5h/.mSo4....../....k1. ..................kz.wzzz1.U..6.P....M4...EB....W....k1....F....8/...I1.....SF52 ...U.qFG9yzb2zzzRYoWzz7lz16.mc..zXCc..k18XGQeGyD.sIRhrVAkz1..........2.28.kFrA0. .Ub96aAIVz9.1se7Umvxz0........../6U0.wzzz1................................E.0c.. zzzz.................................2U.8.kzzzD................................. /6U0.wzzz1...................................2CcN/UvNP6.eeWCNq0.yRii.EJJUk1f..XR S1.mx3CcN/UvNP6.QsLsUa3.ibhV..bTV1OK.sSq40.ly3CcN/UvNP6.MwLsUa3.ibhV.kqTV1OK.sSq 40.kz3CcN/UvNP6...EsUa3.eeWCNq0.IJ36wk8.wyLsUa3................................. E....6....E.....I....Y....UNjl4NdtqNdtaNtZYFH/...........................MU/4... ................................................................................ ...../.......................................................................... .....................2.....3....7....AKSgZaPYJaQ7NoI.65......................... .sU1......U.4.................zD........kz1........wz........................... ...wz0.............................wz........................................... ................................} Title: Re: Repeat along axis formula Post by: Erisian on February 18, 2012, 02:57:55 AM Thanks both. I'm always playing with the formulas and trying new things and I wouldn't have asked if I had any idea. Try to understand my position Darkbeam - I'm mathematically braindead and rely heavily on trial and error. Thanks anyway and thanks for your hard work on M3D.
Title: Re: Repeat along axis formula Post by: DarkBeam on February 18, 2012, 08:59:18 AM If you need to tile escapetime formulas use _boxtiling or _foldinginfy instead :dink:
Title: Re: Repeat along axis formula Post by: Erisian on February 18, 2012, 12:32:42 PM That's what I needed to know - thanks!
Title: Re: Repeat along axis formula Post by: DarkBeam on February 18, 2012, 01:01:09 PM Okay then :toast:
Title: Re: Repeat along axis formula Post by: Erisian on February 18, 2012, 05:27:38 PM :toast: |