粒子效果演示(附代碼) 利用C++所提供的一些標(biāo)準(zhǔn)容器很容易實(shí)現(xiàn)粒子效果. 簡(jiǎn)單的說就是,將粒子數(shù)據(jù)寫在一個(gè)類里面,有一個(gè)粒子源,不停地生成粒子,然后放入一個(gè)stl::list中(push_back()方法), 然后在一個(gè)循環(huán)中遍例粒子鏈表,并渲染粒子,粒子的參數(shù)并不斷更新,如果粒子的ALPHA值小于0,即不可見了,即代表粒子已經(jīng)死亡, 即從list中刪去(erase()方法), 銷毀死去的粒子很重要, 如果搞忘了這一步, 你的內(nèi)存很快就會(huì)被吃掉干凈了. 第一個(gè)版本是用交錯(cuò)平面畫的粒子. 第二個(gè)版本是用Point Spirit(點(diǎn)精靈)畫的粒子, 可以看看效果上面的區(qū)別 SPACE - 暫停粒子源發(fā)射粒子 LINK中忘記去掉cg.lib cgGL.lib 了, 此程序不需要CG, 如果要編譯請(qǐng)去掉.
上傳時(shí)間: 2013-12-15
上傳用戶:jing911003
A "code-what"? Unless you have spent some time working in the area of reverse engineering, chances are you have not heard of the term "codecave" before. If you have heard of it, you might not have read a clear definition of it or quite understand what it is or why it is useful. I have even asked seasoned assembly programmers about the term before and most of them had not heard of it. If it is new to you, do not worry, you are not the only one. It is a term that is scarcely used and is only useful in a reverse engineering context. Furthermore, is it "codecave" or "code cave"? I am not quite sure, but I will try my best to refer to it consistently as a "codecave". A space may sneak in there from time to time
標(biāo)簽: engineering code-what chances reverse
上傳時(shí)間: 2014-01-17
上傳用戶:hn891122
The basic principle using the branchand- bound strategy to solve the traveling salesperson optimization problem (TSP) consists of two parts. There is a way to split the solution space. There is a way to predict a lower bound for a class of solutions. There is also a way to find an upper bound of an optimal solution. If the lower bound of a solution exceeds this upper bound, this solution cannot be optimal. Thus, we should terminate the branching associated with this solution.
標(biāo)簽: salesperson principle branchand the
上傳時(shí)間: 2017-02-19
上傳用戶:comua
documentation for optimal filtering toolbox for mathematical software package Matlab. The methods in the toolbox include Kalman filter, extended Kalman filter and unscented Kalman filter for discrete time state space models. Also included in the toolbox are the Rauch-Tung-Striebel and Forward-Backward smoother counter-parts for each filter, which can be used to smooth the previous state estimates, after obtaining new measurements. The usage and function of each method are illustrated with five demonstrations problems. 1
標(biāo)簽: documentation mathematical for filtering
上傳時(shí)間: 2014-01-20
上傳用戶:changeboy
documentation for optimal filtering toolbox for mathematical software package Matlab. The methods in the toolbox include Kalman filter, extended Kalman filter and unscented Kalman filter for discrete time state space models. Also included in the toolbox are the Rauch-Tung-Striebel and Forward-Backward smoother counter-parts for each filter, which can be used to smooth the previous state estimates, after obtaining new measurements. The usage and function of each method are illustrated with five demonstrations problems. 1
標(biāo)簽: documentation mathematical for filtering
上傳時(shí)間: 2013-12-10
上傳用戶:zxc23456789
cordic methods describe essentially the same algorithm that with suitably chosen inputs can be used to calculate a whole range of scientific functions including sin, cos, tan, arctan, arcsin, arccos, sinh, cosh, tanh, arctanh, log, exp, square root and even multiply and divide. the method dates back to volder [1959], and due to its versatility and compactness, it made possible the microcoding of the hp35 pocket scientific calculator in 1972. here is some code to illustrate the techniques. ive split the methods into three parts linear, circular and hyperbolic. in the hp35 microcode these would be unified into one function (for space reasons). because the linear mode can perform multiply and divide, you only need add/subtract and shift to complete the implementation. you can select in the code whether to do the multiples and divides also by cordic means. other multiplies and divides are all powers of 2 (these dont count). to eliminate these too, would involve ieee hackery.
標(biāo)簽: essentially algorithm describe suitably
上傳時(shí)間: 2017-03-02
上傳用戶:litianchu
This is GPS Acquisition..by Matlab, this file performs cold start acquisition on the collected "data". It searches for GPS signals of all satellites, which are listed in field "acqSatelliteList" in the settings structure. Function saves code phase and frequency of the detected signals in the "acqResults" structure.
標(biāo)簽: Acquisition acquisition collected performs
上傳時(shí)間: 2013-12-28
上傳用戶:wxhwjf
This is GPS Matlab acquisition code. Function performs cold start acquisition on the collected "data". It searches for GPS signals of all satellites, which are listed in field "acqSatelliteList" in the settings structure. Function saves code phase and frequency of the detected signals in the "acqResults" structure.
標(biāo)簽: acquisition collected Function performs
上傳時(shí)間: 2014-08-07
上傳用戶:xjz632
Enhanced version of the Serial Peripheral Interface available on Motorola s MC68HC11 family of CPUs.Enhancements include a wider supported operating frequency range, 4deep read and write fifos, and programmable transfer count dependent interrupt generation. As with the SPI found in MC68HC11 processors the core features programmable clock phase [CPHA] and clock polarity [CPOL]. The core features an 8bit wishbone interface. Very simple, very small.
標(biāo)簽: Peripheral Interface available Enhanced
上傳時(shí)間: 2014-12-06
上傳用戶:invtnewer
This the Firmware code for the ADE7758 for the PIC Micro controller for the computation of three phase parameters.
標(biāo)簽: the for computation controller
上傳時(shí)間: 2017-04-01
上傳用戶:lanwei
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1