資源簡介
斯坦福大學開發的一個三維點云重構生成網格,進一步生成NURBS曲面并加光照效果的系統.可以實現對生成的三維

代碼片段和文件信息
/*
?*?(c)?Copyright?1993?Silicon?Graphics?Inc.
?*?ALL?RIGHTS?RESERVED?
?*?Permission?to?use?copy?modify?and?distribute?this?software?for?
?*?any?purpose?and?without?fee?is?hereby?granted?provided?that?the?above
?*?copyright?notice?appear?in?all?copies?and?that?both?the?copyright?notice
?*?and?this?permission?notice?appear?in?supporting?documentation?and?that?
?*?the?name?of?Silicon?Graphics?Inc.?not?be?used?in?advertising
?*?or?publicity?pertaining?to?distribution?of?the?software?without?specific
?*?written?prior?permission.?
?*
?*?THE?MATERIAL?EMBODIED?ON?THIS?SOFTWARE?IS?PROVIDED?TO?YOU?“AS-IS“
?*?AND?WITHOUT?WARRANTY?OF?ANY?KIND?EXPRESS?IMPLIED?OR?OTHERWISE
?*?INCLUDING?WITHOUT?LIMITATION?ANY?WARRANTY?OF?MERCHANTABILITY?OR
?*?FITNESS?FOR?A?PARTICULAR?PURPOSE.??IN?NO?EVENT?SHALL?SILICON
?*?GRAPHICS?INC.??BE?LIABLE?TO?YOU?OR?ANYONE?ELSE?FOR?ANY?DIRECT
?*?SPECIAL?INCIDENTAL?INDIRECT?OR?CONSEQUENTIAL?DAMAGES?OF?ANY
?*?KIND?OR?ANY?DAMAGES?WHATSOEVER?INCLUDING?WITHOUT?LIMITATION
?*?LOSS?OF?PROFIT?LOSS?OF?USE?SAVINGS?OR?REVENUE?OR?THE?CLAIMS?OF
?*?THIRD?PARTIES?WHETHER?OR?NOT?SILICON?GRAPHICS?INC.??HAS?BEEN
?*?ADVISED?OF?THE?POSSIBILITY?OF?SUCH?LOSS?HOWEVER?CAUSED?AND?ON
?*?ANY?THEORY?OF?LIABILITY?ARISING?OUT?OF?OR?IN?CONNECTION?WITH?THE
?*?POSSESSION?USE?OR?PERFORMANCE?OF?THIS?SOFTWARE.
?*?
?*?US?Government?Users?Restricted?Rights?
?*?Use?duplication?or?disclosure?by?the?Government?is?subject?to
?*?restrictions?set?forth?in?FAR?52.227.19(c)(2)?or?subparagraph
?*?(c)(1)(ii)?of?the?Rights?in?Technical?Data?and?Computer?Software
?*?clause?at?DFARS?252.227-7013?and/or?in?similar?or?successor
?*?clauses?in?the?FAR?or?the?DOD?or?NASA?FAR?Supplement.
?*?Unpublished--?rights?reserved?under?the?copyright?laws?of?the
?*?United?States.??Contractor/manufacturer?is?Silicon?Graphics
?*?Inc.?2011?N.??Shoreline?Blvd.?Mountain?View?CA?94039-7311.
?*
?*?OpenGL(TM)?is?a?trademark?of?Silicon?Graphics?Inc.
?*/
/*??accpersp.c
?*/
#ifdef?__cplusplus
this?is?weird;?but?MSVC?likes?it;?and?wont?link?from?the?IDE?without?it;
#endif
#ifdef?WIN32
# include?“winGLdecs.h“
#endif
#include?
#include?
#include?
#define?PI_?3.14159265358979323846
/* accFrustum()
?*??The?first?6?arguments?are?identical?to?the?glFrustum()?call.
?*??
?*??pixdx?and?pixdy?are?anti-alias?jitter?in?pixels.?
?*??Set?both?equal?to?0.0?for?no?anti-alias?jitter.
?*??eyedx?and?eyedy?are?depth-of?field?jitter?in?pixels.?
?*??Set?both?equal?to?0.0?for?no?depth?of?field?effects.
?*
?*??focus?is?distance?from?eye?to?plane?in?focus.?
?*??focus?must?be?greater?than?but?not?equal?to?0.0.
?*
?*??Note?that?accFrustum()?calls?glTranslatef().??You?will?
?*??probably?want?to?insure?that?your?ModelView?matrix?has?been?
?*??initialized?to?identity?before?calling?accFrustum().
?*/
void?accFrustum(GLdouble?left?GLdouble?right?GLdouble?bottom?GLdouble?top
????GLdouble?znear?GLdouble?zfar?GLdouble?pixdx?GLdouble?pixdy?
????GLdouble?eyedx?GLdouble?eyedy?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????18409??2003-09-15?20:25??scanalyze-1.0.3?source?code\absorient.cc
?????文件???????2014??2003-09-15?20:25??scanalyze-1.0.3?source?code\absorient.h
?????文件???????4506??2003-09-15?20:25??scanalyze-1.0.3?source?code\accpersp.c
?????文件????????579??2003-09-15?20:25??scanalyze-1.0.3?source?code\accpersp.h
?????文件???????9377??2003-09-15?20:25??scanalyze-1.0.3?source?code\alignmentbrowser.tcl
?????文件???????7049??2003-09-15?20:25??scanalyze-1.0.3?source?code\analyze.tcl
?????文件???????3627??2003-09-15?20:25??scanalyze-1.0.3?source?code\auto_a.tcl
?????文件???????3182??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\algo.h
?????文件???????2086??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\algoba
?????文件???????1368??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\algorithm
?????文件???????1310??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\alloc.h
?????文件??????33706??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\bitset
?????文件???????1467??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\bvector.h
?????文件???????3683??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\char_traits.h
?????文件???????2331??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\defalloc.h
?????文件???????1350??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\deque
?????文件???????1373??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\deque.h
?????文件???????3327??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\function.h
?????文件????????762??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\functional
?????文件???????1559??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\hashtable.h
?????文件???????1330??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\hash_map
?????文件???????1516??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\hash_map.h
?????文件???????1330??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\hash_set
?????文件???????1474??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\hash_set.h
?????文件???????1427??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\heap.h
?????文件???????1479??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\iterator
?????文件???????2792??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\iterator.h
?????文件??????14500??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\limits
?????文件???????1351??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\list
?????文件???????1373??2003-09-15?20:21??scanalyze-1.0.3?source?code\auxlibs\include\stl\list.h
............此處省略401個文件信息
- 上一篇:發光二極管模擬汽車信號燈
- 下一篇:IIR數字濾波器的verilog實現
評論
共有 條評論