让我们把所有已知的东西都拿出来然后把它组合起来 这是 Let's take all that we know until now and combine it and this is
这将成为一些人的基础 Gonna be the basis for a few
设置 Setups.
所以 我刚刚给你设置了一个 So was just first set thee
就像我看到的那样 As I saw it to be an
二十面体 Icosahedron again
让我们删掉 Let's delete
所有这些都在这里所以我们被这个俄罗斯外贸银行困住了 All this down here so we're stuck with this vtb
从这里的多边形 From polygons here
让我们先放下a 因为 Let's drop down a no first because
我们稍后要做的是 What we want to do later is
把构建成求解程序的那个设置 Put that set up that which is building into a solver
所以这是 So this will be
我们从一个解算器中输入 Our input from a solver them that
上帝在 God is in
我想做的第一件事就是 And the first thing I want to do is dropped down
到 To,
我们会进行分析 We'd be analysis ups
复制这个 Just copy this one
然后调用一个 And call one
毕业生 Grads
梯度 Gradient.
另一个 And the other one
曲线 Curve
曲率 For curvature
输入线 Wire in the input
对两者都有 To both
让它变成这样 And lets it up this to be
辐射的 Radiant
当我们用鼠标在上面的按钮时 And when we middle mouse button on this,
我们看到 We see
这个体积叫做曲面 The volume is called surface
所以 So
它应该存储为灰色 而淫荡的名称则重新命名为 It should store are gray and the salacious renamed this
我们可以 We can
在这里选择一个自定义名称 Select a custom name here
就叫它吧 And just call it
梯度 Gradients.
让我们把这个vtb分析设置为 Let's set this vtb analysis are to
屈服 Yield
曲率 Curvature
还有 And also
我们把这个叫做 Let's call this
曲线 Curve.
现在 Now
我想要你 What I wanted you
想要使用 Would like to use the
物体的曲率 Curvature of my object
驾驶 To drive
力量 The strength
平流 Of the advection
因为 Because,
本质上 我想要构建的东西 In essence what I want to build.
和我们在这两个中所做的是一样的 Is the same setup as we did in the two
以前的项目 Previous projects.
但是现在我想要驱动感染 But now I want to drive the infection
通过曲率 By the curvature.
所以本质上我要做的就是将梯度和曲率相乘 So in essence what I need to do is only to multiply the gradient and the curvature
但是也要注意这些奇怪的值 曲率 But also have to take care of these weird values that curvature
有时 Yields sometimes,
所以我应该把它映射出来 So I should really map this
我们来做这些 And let's do all this
在一个 Within a
音量波波头 Volume bob
把它放下来 Drop that down in here.
在第一个槽口的炉篦上的管子 Pipe in the grate at the first slot the curvature
第二点 And the second
然后潜入水中 And then dive in there
以及音量调节 And the volume barber
和这个非常相似 Works really similar to the
点拱顶 Point vault
或者属性 Or the attribute
所以最后 So in the end,
我们想要输出的是 What we want to output,
用a With a
细出口 Fine export
是一个浮点数 Is a float
叫做梯度 Called gradient.
所以这是我们的输出 So this is gonna be our output,
我们想要对这两个字段进行采样 And we would like to sample those two fields coming in here
我们说 We say
井样 Well sample
A and a
球 Ball
样本向量 Sample vector,
所以 So the
样本矢量是指在三个输入中出现的梯度 Sample vector is for the gradient coming in three input one
和样本 And the sample
标量 Scalar
是为了 Is for the
曲率 Curvature
投入到 Come into input to
都吃了 And both ate the
货币块位置 Currency block's position
也就是p Which is p
不 No
警：我告诉过你 P I told you
像这样 Like this
这里也是一样 Same here
像这样现在我们来考虑重新映射 Like this now let's take care of re mapping that
曲率值 Curvature value
当我降落的时候是一个 And the firsthand when I dropped down is a
注脚 Footnote.
馈电范围 Feed range note
对于这里的曲率值 For piping that curvature value here,
并指定一个最小值和最大值 让我们 And specify a minimum and maximum value and let's just
武断地 Arbitrarily
从 Go from
零下十度 Minus ten
到10 这是一个值 To ten this is a value that in
以前的设置 Previous setups
有点工作 Kind of worked
对于大多数几何类型 For most geometry types
在我们做了这个之后 So after we'd done that
让我们往下掉 Let's drop down
A a
斜坡 Ramp
说这是一个脾脏斜坡 Said this to be a spleen ramp
所以它可以将曲率汇回 So it can remit the curvature
我们喜欢 As we like
最后 And finally
使两者相乘 Multiplied both
曲率 The curvature
梯度威士忌 The gradient whisky
玛莎种植 Martha planted
先把学位装上 Piping the degree in first
然后 And then
那 The
加度和拟合曲率 Ramped and fitted curvature
并且 And
输出这个 Output this
作为我们的新一代 As our new
梯度 Gradient here
我们 We
读入 Read in
梯度 The gradient
在 On the
单输入 One input
而另一个输入的曲率 And the curvature on the other input,
然后将曲率从-10到10 Then fitted the curvature from minus ten to ten
进入 Into
0的范围 The range of zero
一对一 To one
然后使用a And then use a
斜坡知道能够影响范围从0到1 Ramp know to be able to influence that range from zero to one
然后 And then
只是相乘 Just multiply
梯度 The gradient
有了这个价值 With that value
我们产生了 We generated
所以我们的规模 So we basically scale
长度 The length
在 Of the
向量 Vectors
在梯度中 In the gradient
好了 我们做完了之后 让我把我打倒 Ok after we've done that let's struck down me
真的是 Really be
又烦 Vexed again
管道在几何和这里 Piping are in coming geometry and here
我们刚刚创建的向量场 And our vector field that we just created
在这里 In here
让我们把鼠标放在上面的按钮上 Let's just middle mouse button on this to see
是的 这里有一个梯度场 Yes we have a gradient field coming through here
完美 Perfect.
我们以后可能会做的一件事是 One thing we might later do is
加 Add
光滑的 A smooth
在这里 In here
有些人没有 Too some without the
梯度 Gradient,
或者 Or
也许 Maybe
在我们分开之前出现 Appear before we divide
那 The
使成 Bdp into
俄罗斯外贸银行的两份分析报告指出 The two vtb analysis notes,
也许艾迪 Maybe eddie
改变音符 Reshaped note
扩张俄罗斯外贸银行 To dilate the vtb
但我们稍后会看到 But we can see that later
现在 For now
我们来强调一下 Let's just highlight
这个 This
我们马上就能看到 And we immediately see
我们的体积 That our volume
只会在这些地区上瘾 Only gets addicted around the areas
有曲率的地方 Where there's curvature
这正是我们所喜欢的 Which is exactly what we like
也在这里 Also within here
我们能做的是 We can do is
我们绘制曲率值 We map the curvature value
举个例子 So for example
当我拨通的时候 When I dial to send up to
有价值的说法 A value of say
十 Ten.
我现在可以看到我的向量是非常具有侵略性的 I can now see my be be add vectors really aggressive and
已经 Had already
截下 Truncates
其中一些值更少 Some of those values are less
鞠躬 Bowing
一直到 Down to
一 One
复制 Copy
这一堆笔记 This bunch of notes
并将其放入银中 And put it into a silver
我们的媒体豆 Wire in our media bean
粘贴在这里没有链 Paste are no chain here.
这个子突出了bd be效应 The sub highlight the bd be effect
然后突出太阳能 And then highlight the solar
隐藏游戏 And hid play
我们看到在某一点上 Well we see at a certain point this
产量 Yields
手工艺品 Artifacts
可以 Which can
看起来很有趣 Look interesting.
但是在第一个阶段我们看到 But during the first stages we see
这正是我们所怀疑的 Exactly what we suspect happening.
边缘的区域 The area around the edge gifts
受影响的 Affected
越来越多 More and more.
再一次 And again
之后 After
这个几何图形 This geometry
它再次被输入到求解程序中 Is created its again fed into the solver.
所以 So
现在我们有 Now we have
这里的曲率更大 More curvature on this area here
它产生了这个 Which is producing this
错综复杂的 Intricate
以及有趣的结构 And interesting structures.
让我们试着 Let's try and
下拉 Drop down a
光滑的 Smooth
在我们创建之后 After we created
那 The
梯度 Gradient here
盒子里的样式也会离开 The style in a box leave too and maybe
六次迭代 Six iterations
让它运行 And let that run
也许有点太平滑了 Maybe there was a bit too much smoothing although
让我们看看这是怎么做的 Let's see where this goes.
就让它运行吧 Just let it run.
让我们停止它 Let's stop that.
这是 That is
所以 So so
让我们试着调整一下 So let's try tweaking
在这里 In here.
暂时禁用它 Disable this for a while,
但我们也可以这样做 But we could also do is
光滑 Smooth.
结果 The resulting
国内生产总值 Gdp
这是一张dvd装饰的 That comes out a dvd bedecked
有状态 With state
媒体 Media be
平滑的sdf Smooth sdf
在这上面 While that up here,
让我们看看 Let's see
这是如何演变的 How that evolves.
这差不多是一样的 Well that's more or less the same so
让我们 Let's
别再这样了 Stop that as well.
试着找出一些合适的参数 And try finding some nice parameters for this
看起来有点像玉米棒子 Looks a bit like a corncob
也不太有趣 Not too interesting either
这也不是重点 That's not on point either
这看起来有点像突变了 That looks a bit like a mutated
足球 Soccer ball.
现在它变得更有趣了 Now it gets a bit more interesting.
井 Well
尽管如此 Nevertheless
那 The
在这个设置中你想要调整的主要参数 Main parameter that you'd like to tweak in this setup
在求解程序中 Are in the solver
在 In the volume of
实际上 Actually
这条曲线 This curve,
还有 And also
第五张 The fifth note
所以酱汁的最小和最大 So the sauce minimum and maximum as well
作为这个斜坡参数 As this ramp parameters
你要调整一下 That you gonna tweak
然后努力工作 And work your way through.
这可能看起来不太像 And this might not look like much,
但这将会是 But this is going to be the basis for
一些非常有趣的未来安排 A few very interesting future setups.
我们把这个清理一下 So let's just clean this up.
这是一个非常紧凑的 And it's a very compact
建立 Set up
所以 So
我们先把这个保存起来 Let's just save this for now
在这个基础上再建一些更先进的东西 And build something a bit more advanced on top of this.