# Pen模式背景

**URL:** <https://cn.discourse.mcneel.com/t/pen/432>\
**Category:** Rhino for Windows\
**Created:** [2014年十月11日 03:14 UTC](https://cn.discourse.mcneel.com/t/pen/432 "2014-10-11T03:14:37Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon667555](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/anon667555/32/3067_2.png) [@anon667555](https://cn.discourse.mcneel.com/u/anon667555)\
**Post date:** [2014年十月11日 03:14 UTC](https://cn.discourse.mcneel.com/t/pen/432/1 "2014-10-11T03:14:38Z")

</div>

@kelvin

Pen模式里那个背景选项是开着的还是…??  
我怎么只能在Display里调整？ 请帮我看下。  
我印象当中这个好像是固定不能修改。。

![](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/440/d52ec9df78890aa6.png)

![](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/441/a127c549cf82d3db.png)

---

<div class="post-metadata">

**Author:** ![KelvinC](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/kelvinc/32/3391_2.png) [@KelvinC](https://cn.discourse.mcneel.com/u/KelvinC)\
**Post date:** [2014年十月11日 05:00 UTC](https://cn.discourse.mcneel.com/t/pen/432/2 "2014-10-11T05:00:23Z")

</div>

Hi Kev,

那裡是故意鎖住不給俢改的，請從 Pen Mode 建立複本，複本裡才能修改。

---

<div class="post-metadata">

**Author:** ![anon667555](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/anon667555/32/3067_2.png) [@anon667555](https://cn.discourse.mcneel.com/u/anon667555)\
**Post date:** [2014年十月11日 05:06 UTC](https://cn.discourse.mcneel.com/t/pen/432/3 "2014-10-11T05:06:25Z")

</div>

@Kelvin

对，创建复本后就可以改了。

我的目的是要创建这样的效果。 虽然是白膜渲染，我试了很多次不能渲染出这样的效果。  
这个是V-ray渲染的，我不知道Rhino或者Neon加起来能不能渲染出这个效果。

![](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/442/603e62d4a899a95a.jpg)

像这种。除了黑色边线，模型是V-ray渲染出来的。不知道能不能在Rhino里渲染出。

![](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/443/ff29bcd24ad256cc.jpg)

---

<div class="post-metadata">

**Author:** ![KelvinC](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/kelvinc/32/3391_2.png) [@KelvinC](https://cn.discourse.mcneel.com/u/KelvinC)\
**Post date:** [2014年十月11日 10:00 UTC](https://cn.discourse.mcneel.com/t/pen/432/4 "2014-10-11T10:00:48Z")

</div>

> [@anon667555](#):
>
> 我不知道Rhino或者Neon加起来能不能渲染出这个效果。

Rhino Render 就做得到了，把 Skylight 打開。

Render 後調 Tone Mapping。

> [@anon667555](#):
>
> 像这种。除了黑色边线，模型是V-ray渲染出来的。不知道能不能在Rhino里渲染出。

這個是我在 Render 前把物件全選做 MeshOutline，Render 後再把 Curve 打開，外框線沒有反鋸齒。  
我記得前不久有看到我們的工程師好像要把視圖裡的線疊在 Render 的影像上，因為作業視窗裡曲線有反鋸齒。

---

<div class="post-metadata">

**Author:** ![KelvinC](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/kelvinc/32/3391_2.png) [@KelvinC](https://cn.discourse.mcneel.com/u/KelvinC)\
**Post date:** [2014年十月11日 10:09 UTC](https://cn.discourse.mcneel.com/t/pen/432/5 "2014-10-11T10:09:24Z")

</div>

這個是用 MeshOutline 的線加上 ApplyCurvePiping，然後把線的材質設為黑色的效果，這樣黑線就有反鋸齒了。

![](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/452/789a4fa70de9b053.png)

---

<div class="post-metadata">

**Author:** ![SimonChen\_](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/simonchen_/32/30_2.png) [@SimonChen\_](https://cn.discourse.mcneel.com/u/SimonChen_)\
**Post date:** [2014年十月11日 10:12 UTC](https://cn.discourse.mcneel.com/t/pen/432/6 "2014-10-11T10:12:24Z")

</div>

感謝提供教學~~效果很不錯哦！

---

<div class="post-metadata">

**Author:** ![anon667555](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/anon667555/32/3067_2.png) [@anon667555](https://cn.discourse.mcneel.com/u/anon667555)\
**Post date:** [2014年十月11日 17:16 UTC](https://cn.discourse.mcneel.com/t/pen/432/7 "2014-10-11T17:16:08Z")

</div>

@Kelvin

哈哈~~ 就是这个效果，非常感谢提供教程。 真厉害。

你帮我大忙了: D

---

<div class="post-metadata">

**Author:** ![anon667555](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/anon667555/32/3067_2.png) [@anon667555](https://cn.discourse.mcneel.com/u/anon667555)\
**Post date:** [2014年十月11日 19:51 UTC](https://cn.discourse.mcneel.com/t/pen/432/8 "2014-10-11T19:51:08Z")

</div>

@kelvin

这个我刚测试了，效果很不错。  
提到反锯齿，我想到这一部分。 我一直不知道他们到底是干什么的。 Anisotropic filtering好像是把远处的物体显示清晰？ 我可能错了。 能否解释一下？ 这个选项设置里的内容，有没有wiki之类的可以查到？ 很多选项，我都不知道干什么的。  
 ![](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/454/df5c3a7ed2ee94fa.png)

接着原来话题，这个渲染里Curve上面加反锯齿的功能，是不是在V6里会有改善？  
你出这个教程之前，我用了pen显示模式然后viewcapture。 显示模式里的边线显示很不干净，不知道这个会不会有改善。

---

<div class="post-metadata">

**Author:** ![KelvinC](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/kelvinc/32/3391_2.png) [@KelvinC](https://cn.discourse.mcneel.com/u/KelvinC)\
**Post date:** [2014年十月12日 05:44 UTC](https://cn.discourse.mcneel.com/t/pen/432/9 "2014-10-12T05:44:53Z")

</div>

Mip Map Filtering 和 Anisotropic Filtering 這兩項設定與作業視窗裡材質貼圖的顯示有關。

**Mip Map Filtering**  
例如在作業視窗裡一張 1024x1024 的貼圖因為視圖拉遠時在螢幕上只占 512x512 個像素，再拉遠到只占 256x256 個像素…甚至這張貼圖在螢幕上只占一個像素，這個像素應該是什麼顏色?  
Mip Map Filtering 啟用時，Rhino 會預先把這張 1024x1024 的貼圖儲存成不同的版本 (512x512, 256x256, 128x128, 64x64, 32x32, 16x16, 8x8, 4x4, 2x2, 1x1)，再依據這張貼圖在螢幕上所占的像素多寡挑選最接近的尺寸的貼圖來顯示。我用棋盤格貼圖做例子，注意視圖拉遠時有沒有使用 Mip Map Filtering 的差別 **(請用 HD 品質觀看)**：

[![](https://img.youtube.com/vi/GqbNhVSAk-A/maxresdefault.jpg "Mipmap filtering") ](https://www.youtube.com/watch?v=GqbNhVSAk-A)

參考文件：  
[http://docs.mcneel.com/rhino/5/help/en-us/options/view/opengl.htm](http://docs.mcneel.com/rhino/5/help/en-us/options/view/opengl.htm)

> **[Mipmap](https://en.wikipedia.org/wiki/Mipmap)**
>
> In computer graphics, mipmaps (also MIP maps) or pyramids are pre-calculated, optimized sequences of images, each of which is a progressively lower resolution representation of the previous. The height and width of each image, or level, in the mipmap is a factor of two smaller than the previous level. Mipmaps do not have to be square. They are intended to increase rendering speed and reduce aliasing artifacts. A high-resolution mipmap image is used for high-density samples, such as for o Since mi...

**Anisotropic Filtering**  
是用在改善不同視角顯示貼圖時的問題。

參考文件：  
[http://docs.mcneel.com/rhino/5/help/en-us/options/view/opengl.htm](http://docs.mcneel.com/rhino/5/help/en-us/options/view/opengl.htm)

> **[Anisotropic filtering](https://en.wikipedia.org/wiki/Anisotropic_filtering)**
>
> In 3D computer graphics, anisotropic filtering (abbreviated AF) is a method of enhancing the image quality of textures on surfaces of computer graphics that are at oblique viewing angles with respect to the camera where the projection of the texture (not the polygon or other primitive on which it is rendered) appears to be non-orthogonal (thus the origin of the word: "an" for not, "iso" for same, and "tropic" from tropism, relating to direction; anisotropic filtering does not filter the sam Like ...

> [@anon667555](#):
>
> 这个渲染里Curve上面加反锯齿的功能，是不是在V6里会有改善？

我是兩個星期前的會議記錄看到 Rhino 的顯示工程師 Jeff 說了這段話：  
I added minor tweaks to the curve and wire render overlays I was working on last week…the defaults are now coming from the Rendered mode settings…  
我也不是很確定這個和在 Render 影像顯示曲線有關，我還要確認。

> [@anon667555](#):
>
> 我用了pen显示模式然后viewcapture。 显示模式里的边线显示很不干净，不知道这个会不会有改善。

因為 Pen Mode 的邊線 (輪廓線) 是 Render Mesh 的輪廓，所以和物件的 Render mesh 精細度有關。這個是 Render 粗細對 Pen Mode 輪廓線品質的比較：

你可以從 Document Properties \> Mesh 去調整 (Render mesh 全域調細會讓模型變的很大，視圖操作會變慢，要避免這個問題可以針對有"曲線輪廓"的物件做調整 (Object properties \> Custom Mesh)。

---

<div class="post-metadata">

**Author:** ![anon667555](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/anon667555/32/3067_2.png) [@anon667555](https://cn.discourse.mcneel.com/u/anon667555)\
**Post date:** [2014年十月12日 06:13 UTC](https://cn.discourse.mcneel.com/t/pen/432/10 "2014-10-12T06:13:47Z")

</div>

@Kelvin

所以结论是不是–建模时开Mip Map Filtering 和 Anisotropic Filtering 是没用的。  
是不是 Mip Map Filtering 做大场景渲染时，不开最好？ 因为开了后远处的物体贴图也要逼真的渲染出来，渲染时间也会增加？ 感觉 Anisotropic Filtering也类似。

我感觉Jeff说的是直接把曲线以矢量（vector）出图。 如果真是那样就好了。 我刚看到SU可以直接导出模型边线。 我一会录制一段视频给你看下。 （不需要make2d之类的）

Pen mode，原来是这样。 我再尝试尝试。

Kelvin，多谢了。

---

<div class="post-metadata">

**Author:** ![anon667555](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/anon667555/32/3067_2.png) [@anon667555](https://cn.discourse.mcneel.com/u/anon667555)\
**Post date:** [2014年十月12日 06:21 UTC](https://cn.discourse.mcneel.com/t/pen/432/11 "2014-10-12T06:21:00Z")

</div>

还有就是， 台湾人看简体文字费劲不费劲？？ 我看繁体琢磨半天，有时还要去转为简体再读。  
I’m just curious… lol

还有就是，我看Kelvin英文也说的好，不知道是不是在其他国家呆过，或者长大的？

---

<div class="post-metadata">

**Author:** ![KelvinC](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/kelvinc/32/3391_2.png) [@KelvinC](https://cn.discourse.mcneel.com/u/KelvinC)\
**Post date:** [2014年十月12日 08:09 UTC](https://cn.discourse.mcneel.com/t/pen/432/12 "2014-10-12T08:09:58Z")

</div>

> [@anon667555](#):
>
> 所以结论是不是–建模时开Mip Map Filtering 和 Anisotropic Filtering 是没用的。

的確是這樣的，這兩個設定只是改善貼圖在作業視窗裡的顯示效果，對實際 Render 與建模都沒用。

> [@anon667555](#):
>
> 我刚看到SU可以直接导出模型边线。

出圖是 Rhino 6 要改善的重點之一，前陣子英文的論壇也有人在討論，希望真的可以改成像其它軟體一樣可以不用先 Make2D。

---

<div class="post-metadata">

**Author:** ![KelvinC](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/kelvinc/32/3391_2.png) [@KelvinC](https://cn.discourse.mcneel.com/u/KelvinC)\
**Post date:** [2014年十月12日 08:20 UTC](https://cn.discourse.mcneel.com/t/pen/432/13 "2014-10-12T08:20:40Z")

</div>

> [@anon667555](#):
>
> 台湾人看简体文字费劲不费劲？？

簡體我看得蠻惜慣的，和看繁體比不覺得有什麼差別。

> [@anon667555](#):
>
> 我看Kelvin英文也说的好，不知道是不是在其他国家呆过，或者长大的？

我沒有在其它國家待過，也很少說英文，用說的像病貓，用打的生龍活虎。 😄

---

<div class="post-metadata">

**Author:** ![KelvinC](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/kelvinc/32/3391_2.png) [@KelvinC](https://cn.discourse.mcneel.com/u/KelvinC)\
**Post date:** [2014年十月14日 08:52 UTC](https://cn.discourse.mcneel.com/t/pen/432/14 "2014-10-14T08:52:39Z")

</div>

> [@anon667555](#):
>
> Anisotropic Filtering

錄了一個 Anisotropic Filtering 的示範影片

[![](https://img.youtube.com/vi/aJL8_i6MICs/maxresdefault.jpg "Anisotropic Filtering") ](https://www.youtube.com/watch?v=aJL8_i6MICs)

---

<div class="post-metadata">

**Author:** ![anon667555](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/anon667555/32/3067_2.png) [@anon667555](https://cn.discourse.mcneel.com/u/anon667555)\
**Post date:** [2014年十月14日 16:05 UTC](https://cn.discourse.mcneel.com/t/pen/432/15 "2014-10-14T16:05:53Z")

</div>

多谢，Kelvin  
理解什么意思了。

---

<div class="post-metadata">

**Author:** ![Ansen](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/ansen/32/2989_2.png) [@Ansen](https://cn.discourse.mcneel.com/u/Ansen)\
**Post date:** [2014年十月15日 14:03 UTC](https://cn.discourse.mcneel.com/t/pen/432/16 "2014-10-15T14:03:45Z")

</div>

很好的示范教学，赞一个！
