Skip to content

Commit

Permalink
Site updated: 2024-05-15 14:40:12
Browse files Browse the repository at this point in the history
  • Loading branch information
fdcumt committed May 15, 2024
1 parent da5526b commit c06851c
Show file tree
Hide file tree
Showing 7 changed files with 1,829 additions and 1,839 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:description" content="本文中我们专注ContentBlockPayloadHeader和DeleteObject信息.">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2024-05-15T02:54:53.916Z">
<meta property="article:modified_time" content="2023-11-09T10:04:11.351Z">
<meta property="article:modified_time" content="2024-05-15T06:26:02.389Z">
<meta property="article:author" content="NoBodyNoOne">
<meta property="article:tag" content="UE网络">
<meta property="article:tag" content="UObject创建和销毁">
Expand Down Expand Up @@ -233,15 +233,9 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>


<time title="创建时间:2024-05-15 10:54:53" itemprop="dateCreated datePublished" datetime="2024-05-15T10:54:53+08:00">2024-05-15</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2023-11-09 18:04:11" itemprop="dateModified" datetime="2023-11-09T18:04:11+08:00">2023-11-09</time>
<time title="创建时间:2024-05-15 10:54:53 / 修改时间:14:26:02" itemprop="dateCreated datePublished" datetime="2024-05-15T10:54:53+08:00">2024-05-15</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
<meta property="article:published_time" content="2024-05-15T02:54:53.937Z">
<meta property="article:modified_time" content="2024-05-15T02:35:37.950Z">
<meta property="article:author" content="NoBodyNoOne">
<meta property="article:tag" content="UE">
<meta property="article:tag" content="UE网络">
<meta property="article:tag" content="UE">
<meta property="article:tag" content="FastSharedPath">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://fdcumt.github.io/2024/05/15/UE/%E7%BD%91%E7%BB%9C/UE4%E7%BD%91%E7%BB%9C%E4%BC%98%E5%8C%96-FastSharedPath/assets/image-20240515091236899.png">
Expand Down Expand Up @@ -495,8 +495,8 @@ <h1 id="延展">延展</h1>
</div>

<div class="post-tags">
<a href="/tags/UE/" rel="tag"># UE</a>
<a href="/tags/UE%E7%BD%91%E7%BB%9C/" rel="tag"># UE网络</a>
<a href="/tags/UE/" rel="tag"># UE</a>
<a href="/tags/FastSharedPath/" rel="tag"># FastSharedPath</a>
</div>

Expand Down
4 changes: 2 additions & 2 deletions 2024/05/15/UE/网络/UE网络-断点指定Actor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
<meta property="article:published_time" content="2024-05-15T02:54:54.032Z">
<meta property="article:modified_time" content="2024-04-30T07:20:22.477Z">
<meta property="article:author" content="NoBodyNoOne">
<meta property="article:tag" content="UE">
<meta property="article:tag" content="UE网络">
<meta property="article:tag" content="UE">
<meta property="article:tag" content="断点指定Actor">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://fdcumt.github.io/2024/05/15/UE/%E7%BD%91%E7%BB%9C/UE%E7%BD%91%E7%BB%9C-%E6%96%AD%E7%82%B9%E6%8C%87%E5%AE%9AActor/assets/image-20240418102637952.png">
Expand Down Expand Up @@ -328,8 +328,8 @@ <h1 class="post-title" itemprop="name headline">
</div>

<div class="post-tags">
<a href="/tags/UE/" rel="tag"># UE</a>
<a href="/tags/UE%E7%BD%91%E7%BB%9C/" rel="tag"># UE网络</a>
<a href="/tags/UE/" rel="tag"># UE</a>
<a href="/tags/%E6%96%AD%E7%82%B9%E6%8C%87%E5%AE%9AActor/" rel="tag"># 断点指定Actor</a>
</div>

Expand Down
4 changes: 2 additions & 2 deletions 2024/05/15/UE/网络/UE网络-核心关键图/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
<meta property="article:modified_time" content="2024-05-15T03:15:37.414Z">
<meta property="article:author" content="NoBodyNoOne">
<meta property="article:tag" content="hidden">
<meta property="article:tag" content="UE">
<meta property="article:tag" content="UE网络">
<meta property="article:tag" content="UE">
<meta property="article:tag" content="核心关键图">
<meta name="twitter:card" content="summary">

Expand Down Expand Up @@ -330,8 +330,8 @@ <h1 class="post-title" itemprop="name headline">

<div class="post-tags">
<a href="/tags/hidden/" rel="tag"># hidden</a>
<a href="/tags/UE/" rel="tag"># UE</a>
<a href="/tags/UE%E7%BD%91%E7%BB%9C/" rel="tag"># UE网络</a>
<a href="/tags/UE/" rel="tag"># UE</a>
<a href="/tags/%E6%A0%B8%E5%BF%83%E5%85%B3%E9%94%AE%E5%9B%BE/" rel="tag"># 核心关键图</a>
</div>

Expand Down
16 changes: 8 additions & 8 deletions 2024/05/15/UE/网络/UE网络-零散的积累/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@

<script class="next-config" data-name="main" type="application/json">{"hostname":"fdcumt.github.io","root":"/","images":"/images","scheme":"Gemini","darkmode":false,"version":"8.17.0","exturl":false,"sidebar":{"position":"left","width":300,"display":"always","padding":18,"offset":12},"copycode":{"enable":true,"style":"flat"},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":true,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":"utterances","storage":true,"lazyload":true,"nav":null,"activeClass":"utterances"},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":-1,"unescape":false,"preload":false}}</script><script src="/js/config.js"></script>

<meta name="description" content="动态压缩Vector 根据FVector三个分量的最大值, 压缩Vector, 节省带宽. 这里还要注意一点, 当数值比较大时, 可能压缩后比压缩前占用的bit数量还要大, 即更占用带宽. 1234567891011121314151617181920212223242526272829&#x2F;&#x2F; FRepMovement.SerializeQuantizedVector bool Seria">
<meta name="description" content="动态压缩Vector 根据FVector三个分量的最大值, 压缩Vector, 节省带宽. 这里还要注意一点, 当数值比较大时, 可能压缩后比压缩前占用的bit数量还要大, 即更占用带宽.">
<meta property="og:type" content="article">
<meta property="og:title" content="UE网络-零散的积累">
<meta property="og:url" content="https://fdcumt.github.io/2024/05/15/UE/%E7%BD%91%E7%BB%9C/UE%E7%BD%91%E7%BB%9C-%E9%9B%B6%E6%95%A3%E7%9A%84%E7%A7%AF%E7%B4%AF/index.html">
<meta property="og:site_name" content="NoBodyNoOne">
<meta property="og:description" content="动态压缩Vector 根据FVector三个分量的最大值, 压缩Vector, 节省带宽. 这里还要注意一点, 当数值比较大时, 可能压缩后比压缩前占用的bit数量还要大, 即更占用带宽. 1234567891011121314151617181920212223242526272829&#x2F;&#x2F; FRepMovement.SerializeQuantizedVector bool Seria">
<meta property="og:description" content="动态压缩Vector 根据FVector三个分量的最大值, 压缩Vector, 节省带宽. 这里还要注意一点, 当数值比较大时, 可能压缩后比压缩前占用的bit数量还要大, 即更占用带宽.">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2024-05-15T02:54:54.064Z">
<meta property="article:modified_time" content="2024-05-15T03:19:04.387Z">
<meta property="article:modified_time" content="2024-05-15T06:38:49.885Z">
<meta property="article:author" content="NoBodyNoOne">
<meta property="article:tag" content="UE">
<meta property="article:tag" content="UE网络">
<meta property="article:tag" content="UE">
<meta property="article:tag" content="UE网络-零散的积累">
<meta name="twitter:card" content="summary">

Expand Down Expand Up @@ -236,7 +236,7 @@ <h1 class="post-title" itemprop="name headline">
<span class="post-meta-item-text">发表于</span>


<time title="创建时间:2024-05-15 10:54:54 / 修改时间:11:19:04" itemprop="dateCreated datePublished" datetime="2024-05-15T10:54:54+08:00">2024-05-15</time>
<time title="创建时间:2024-05-15 10:54:54 / 修改时间:14:38:49" itemprop="dateCreated datePublished" datetime="2024-05-15T10:54:54+08:00">2024-05-15</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
Expand Down Expand Up @@ -287,10 +287,10 @@ <h1 class="post-title" itemprop="name headline">



<div class="post-body" itemprop="articleBody"><span id="more"></span>
<h1 id="动态压缩vector">动态压缩Vector</h1>
<div class="post-body" itemprop="articleBody"><h1 id="动态压缩vector">动态压缩Vector</h1>
<p>根据FVector三个分量的最大值, 压缩Vector, 节省带宽. 这里还要注意一点,
当数值比较大时, 可能压缩后比压缩前占用的bit数量还要大, 即更占用带宽.</p>
<span id="more"></span>
<figure class="highlight c++"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">// FRepMovement.SerializeQuantizedVector </span></span><br><span class="line"><span class="function"><span class="type">bool</span> <span class="title">SerializeQuantizedVector</span><span class="params">(FArchive&amp; Ar, FVector&amp; Vector, EVectorQuantization QuantizationLevel)</span></span></span><br><span class="line"><span class="function"></span>&#123;</span><br><span class="line"> <span class="comment">// Since FRepMovement used to use FVector_NetQuantize100, we&#x27;re allowing enough bits per component</span></span><br><span class="line"> <span class="comment">// regardless of the quantization level so that we can still support at least the same maximum magnitude</span></span><br><span class="line"> <span class="comment">// (2^30 / 100, or ~10 million).</span></span><br><span class="line"> <span class="comment">// This uses no inherent extra bandwidth since we&#x27;re still using the same number of bits to store the</span></span><br><span class="line"> <span class="comment">// bits-per-component value. Of course, larger magnitudes will still use more bandwidth,</span></span><br><span class="line"> <span class="comment">// as has always been the case.</span></span><br><span class="line"> <span class="comment">// 因为FrepMovement使用过FVector_NetQuantize100, 允许每个分量有足够多的bit来忽略量化登记, 所以仍然支持至少同等量级.</span></span><br><span class="line"> <span class="comment">// 他不会使用额外带宽, 因为我们已经使用同等数量的bit来存储每个分量的bit值. 当然, 更大量级将会使用更多带宽.</span></span><br><span class="line"> <span class="keyword">switch</span>(QuantizationLevel)</span><br><span class="line"> &#123;</span><br><span class="line"> <span class="keyword">case</span> EVectorQuantization::RoundTwoDecimals:</span><br><span class="line"> &#123; <span class="comment">// 保留两位小数</span></span><br><span class="line"> <span class="keyword">return</span> <span class="built_in">SerializePackedVector</span>&lt;<span class="number">100</span>, <span class="number">30</span>&gt;(Vector, Ar);</span><br><span class="line"> &#125;</span><br><span class="line"></span><br><span class="line"> <span class="keyword">case</span> EVectorQuantization::RoundOneDecimal:</span><br><span class="line"> &#123; <span class="comment">// 保留一位小数</span></span><br><span class="line"> <span class="keyword">return</span> <span class="built_in">SerializePackedVector</span>&lt;<span class="number">10</span>, <span class="number">27</span>&gt;(Vector, Ar);</span><br><span class="line"> &#125;</span><br><span class="line"></span><br><span class="line"> <span class="keyword">default</span>:</span><br><span class="line"> &#123; <span class="comment">// 默认不保留小数</span></span><br><span class="line"> <span class="keyword">return</span> <span class="built_in">SerializePackedVector</span>&lt;<span class="number">1</span>, <span class="number">24</span>&gt;(Vector, Ar);</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>详细解析<code>WritePackedVector</code>函数.</p>
<p><img
Expand Down Expand Up @@ -322,8 +322,8 @@ <h1 id="动态压缩vector">动态压缩Vector</h1>
</div>

<div class="post-tags">
<a href="/tags/UE/" rel="tag"># UE</a>
<a href="/tags/UE%E7%BD%91%E7%BB%9C/" rel="tag"># UE网络</a>
<a href="/tags/UE/" rel="tag"># UE</a>
<a href="/tags/UE%E7%BD%91%E7%BB%9C-%E9%9B%B6%E6%95%A3%E7%9A%84%E7%A7%AF%E7%B4%AF/" rel="tag"># UE网络-零散的积累</a>
</div>

Expand Down
Loading

0 comments on commit c06851c

Please sign in to comment.