`
daojin
  • 浏览: 678095 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

LOST OF DETAIL!!!的数学原理

阅读更多

主要是这两个公式:

 

L/D<C;

f=L/(D*C*D2*(max(c*d2,1));

f<1;

基本上看不懂!!

但是从原理上来思考的话,应该归结为以下两点:

 

1.所有的长度的方块经过投影之后应该是同一个长度或者比它更大。

 

(保证一个屏幕上没有过多的三角形)

 

2.垂直方向上,要么,我们的分解后,产生的高度误差,经过投影之后,产生的像素误差小于某一个阀值k;

 

第一个:

 

D1为它的实际边长,那么它经过投影之后的长度为:

 

D12=D1×(NearH/L);

 

L为距离,NearH为近裁剪面高度的一般。

 

如果D12比较大,说明不够精细!!!!!

 

D12>MAX

 

这个时候,进行分解。

 

L/D<NearH/MAX;

 

把这个值设为C ,那么C×C就是我们能容忍的最少数量。

 

如过一个每一个小方块没有达到那个不等式标准,正方形的数量就会过少而失真。

 

只要这个成立就一直分解么!!!

 

非也!!!!!!!!!!!

 

因为分解到不能再分解,也就是说:还有个条件:

 

!!!!!!

D>1;好,现在一切OK!!

 

现在说第二个问题:

 

如果失真过多怎么办,也就是在高度上产生的误差很大!!!!!!!!

 

比如说一个边长为D的正方形,5个点的添加,增加了图像的质量,但是在高度上产生的最大差为D2;

 

那么,

 

D2的投影如果比一个定值小,说明不用分解!!因为足够精细了,,,,

 

但是如果D2的投影比一个定值大,说明必须分解!!因为不够精细了!!!!

 

MAX 为屏幕视觉上容忍的最大误差。

 

D2×(NearH/L)>MAX;

 

联合以上两种情况,可以得出以下方程:

 

 

L/D<NearH/MAX;

 

D2×(NearH/L)>MAX2;

 

好了,考察L:

 

L<D*NearH/MAX;

 

L<D2*NearH/MAX2;

 

我们发现了什么哈哈!!!!!!!!!!!!很经典吧!!!!!!!!!!!

 

只要满足其中之一,我们就可以说它可以不用分解了!!!!!!!!!

 

继续推导!!!

 

改写为:

D*NearH/(L*MAX)>1;

D2*NearH/(MAX2*L)>L;

 

设 c=D×MAX2/(D2×MAX)

 

现在看看多么漂亮吧!!!!!

 

D/MAX是什么,比值!!它表明了实际的边长和期待的最大边长的比,这个是水平方向

 

D2/MAX2是什么比值!!它表明了实际的误差和期待的误差的比,这个是垂直方向

 

逻辑应该是这样:

 

如果垂直方向比较大,说明实际误差大。。。

 

如果水平方向比较大,说明水平边长比较大。。。

 

他们当中我们取最大那一个,如果最大的实际误差都能满足我们的不等式!!!!!!,那么,我们可以肯定的说:

它符合我们的条件!!!!!!!!!!!!!!!!!!!!!

好了!!!!!!!!!!!!!!!c的值说明了我们的期待。。。。。。。。。。

c的值越大,说明了我们对于垂直方向的一个要求精度越高!!!!!!!!!!!!!!!!!!!!!!!!!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 大小: 27 KB
  • 大小: 5.5 KB
  • 大小: 6 KB
  • 大小: 2.9 KB
  • 大小: 2.9 KB
  • 大小: 2.7 KB
  • 大小: 2.8 KB
  • 大小: 2.7 KB
分享到:
评论

相关推荐

    lost_Lost!_lie3w7_php_

    物招领系统源码可以查IP、修改用户发布的信息,但是不可以修改用户的联系方式,这样确保安全。

    Mirror.The.Lost.Shards.Update.v3.10_补丁_Lost!_emoji_

    魔镜补丁,稳定运行,可实施产出emoji表情包

    CNG.rar_Lost!_PACKET LOST

    Updates CNG estimate, and applies the CNG when packet was lost.

    mybb.rar_Lost!

    As a result of this project for a long time, there are some controls have been lost, so I can't find form1 control as the main window

    caption总结

    caption总结

    lost.rar_Lost!_屏幕传输

    VC6.0的远程控制,关键是屏幕传输部分的代码,采用了链表的结构。

    Lost

    Lost

    FLP.co-Lets-Get-Lost.zip_Lost!_cisco

    Aplikasi yang bagus untuk pemula

    demo.rar_Lost!

    he content is too simple Is not a s or document lost some files

    LY? THUYE??T DOW_Lost!_forex_ppt_MI4_

    down theory book in the market stock and forex is lost of things to do ...

    fat32_Lost!_fat32_

    2. Add dynamical ... Fix folding state lost on the next startup issue.5. Make Replace-in-Files confirmation dialog modal to prevent from crashing.6. Add support of smart-indenting for Perl and Rust.

    ssim.rar_Lost!_patch-dictionary

    The learning-based approaches assume that the lost high frequency details in LR images can be retrieved and hallucinated a dictionary of image patch pairs.

    Lost-in-Blue-3.rar_Lost!

    Le Download de Lost in blue 3 Acht neun 10 11 12 13 vierzehn 15 16 siebzehn 18 neunzehn 20

    ZPclustering.zip_Lost!

    Why your files are not be used? 1.The content is too simple 2.Is not a sourcecode or document 3.lost some files

    cpp.rar_Lost!

    Is not a sourcecode or document 3.lost some files 4.Description is not detailed or not correct 5.Compressed file has password 6.Sourcecode duplicate

    CELP.rar_Lost!

    The content is too simple 2.Is not a sourcecode or document 3.lost some files 4.Description is not detailed or not correct 5.Compressed file has password

    afn.rar_C++_Lost!

    this rar don't work, sorry. Don't lost your time.

    EPM.zip_Lost!

    The content is too simple 2.Is not a sourcecode or document 3.lost some files 4.Description is not detailed or not correct 5.Compressed file has password 6.Sourcecode duplicate or already exist

    Google.rar_Lost!

    1.The content is too simple 2.Is not a sourcecode or document... 3.lost some files 4.Description is not detailed or not correct 5.Compressed file has password 6.Sourcecode duplicate or already exist

    listvideo.rar_Lost!

    Why your files are not be used? 1.The content is too simple ... 3.lost some files 4.Description is not detailed or not correct 5.Compressed file has password 6.Sourcecode duplicate or already exist

Global site tag (gtag.js) - Google Analytics