/**/ Lb clas=lir20>Lb clas=lir30>Lb clas=lir40>yQGLVbetyQGLdiv i/d"ouink_> <> < Lb clas=lir20>Lb clas=lir30>Lb clas=lir40>yQG Ldiv clas=linor>Linpu3"/> Slink LVbutton>Ldiv i/d"q < < < > < tyQG < < < > < LVdiv>> >> <> > < < Ldiv clas=lili"/ Slink>>Ldiv clas=lili"/ Scre/liha nLVdiv>>>Ldiv clas=lili"/ DownloadLVdiv>>>Ldiv clas=lili"/ LVdiv>>>Ldiv clas=lili"/ E contenLVdiv>>>Ldiv clas=lili"/ In UseLVdiv>>>>yQG > < < < <
> < <
< < noent="intext/plaOld revise="n [O]">Old revise="n> < <
> < >y>> < < > < < >Ldiv i/d"dw__tocn" di3 clas=litoggle"/Table of ttp-equn>Ldivlt
    Ldiv clas=lili"/La="conte#" content>E contenLVdiv>>
      Ldiv clas=lili"/La="conte#sionte_" contea>Sionte </a>LVdiv>><ul clas=litocn" dam clas=lilevel3r>Ldiv clas=lili"/La="conte#="hlogopy">="hlogo.py</a>LVdiv><hre>><am clas=lilevel3r>Ldiv clas=lili"/La="conte#siontettp://py">sionteitle=".py</a>LVdiv><hre>><am clas=lilevel3r>Ldiv clas=lili"/La="conte#resultr/Result</a>LVdiv><hre>><hul=exhre>><am clas=lilevel2r>Ldiv clas=lili"/La="conte#YPE ure_3d_" contea>TPE ure 3D<title> </a>LVdiv>><ul clas=litocn" dam clas=lilevel3r>Ldiv clas=lili"/La="conte#YPE ure3dpy">YPE ure3D.py</a>LVdiv><hre>><am clas=lilevel3r>Ldiv clas=lili"/La="conte#result1r/Result</a>LVdiv><hre>><hul=<hre>><hul=<hre>><hul= LVdiv>><hdiv>><!-- TOC END -->> di1rclas=li<lcpe="edit1rei/d"" content>E conten</h1242div clas=lilevel1r>> dp> The projlcp co"Cu tsth a /ht of title> ihawing the diffe titlpossib amty of " title=". These title> inn sionty the DTD/xlype=" of La="contecal" hrinkis.imaRforg~Gil> .Debunnn/" title="/title> /les&a.type="clas=liurlPE er="text/placal" hrinkis.imaRforg~Gil> .Debunnn/" title="/title> /les&a.type="rs"/> noent="in>" title=" title> </a><into pylhon.><hp>> dVdiv>>y<h2rclas=li<lcpe="edit2rei/d"sionte_" contea>Sionte<title> </h2242div clas=lilevel2r>> dp> The siontest ate" type="<title> .><hp>> dp>>A itle=" clas= is "nkived from " title=" and its "raw() funcpe="eis overloaded to specify the user "nfe=nd OpenGL co"mands that /opensbe the scen .><hp>> dp>>This title> can be cut and pasted to slink the developmtit of a new ate" type=". ><hp>> dVdiv>>y<h3rclas=li<lcpe="edit3rei/d"q"hlogopy">="hlogo.py</h3>>Ldiv clas=lilevel3r> dpnn clas=licode pylhon"/Lspan clas=likw1r>iononk</span> OpenGL.Lspan clas=likw3r>GL</span> Lspan clas=likw1r>as</span> ogl Lspan clas=likw1r>iononk</span> Lspan clas=likw3r>math</span>   Lspan clas=likw1r>"nf</span> "raw_="h_logoLspan clas=libr0">(</span>nbSteps Lspan clas=lisy0">=</span> Lspan clas=linu0">200.0</span>Lspan clas=libr0">)</span>:> <ogl.Lspan clas=lime1r>glBegin</span>Lspan clas=libr0">(</span>ogl.Lspan clas=lime1r>GL_QUAD_STRIP</span>Lspan clas=libr0">)</span>Lspan clas=lisy0">;</span>> <Lspan clas=likw1r>qgl</span> i<Lspan clas=likw1r>in</span><Lspan clas=likw2r>r="Re</span>Lspan clas=libr0">(</span>Lspan clas=linu0">0</span>Lspan clas=lisy0">,</span>Lspan clas=likw2r>int</span>Lspan clas=libr0">(</span>nbStepsLspan clas=libr0">)</span>Lspan clas=libr0">)</span>:> <<<<<rype= Lspan clas=lisy0">=</span> i/Lspan clas=likw2r>float</span>Lspan clas=libr0">(</span>nbStepsLspan clas=libr0">)</span>> <<<<<="R> Lspan clas=lisy0">=</span> Lspan clas=linu0">21.0</span>*rype=> <<<<<c Lspan clas=lisy0">=</span> Lspan clas=likw3r>math</span>.Lspan clas=lime1r>cos</span>Lspan clas=libr0">(</span>="R> Lspan clas=libr0">)</span>> <<<<<s Lspan clas=lisy0">=</span> Lspan clas=likw3r>math</span>.Lspan clas=lime1r>sin</span>Lspan clas=libr0">(</span>="R> Lspan clas=libr0">)</span>> <<<<<r1 Lspan clas=lisy0">=</span> Lspan clas=linu0">1.0</span> - Lspan clas=linu0">0.8</span>*rype=> <<<<<r2 Lspan clas=lisy0">=</span> Lspan clas=linu0">0.8</span> - Lspan clas=linu0">0.8</span>*rype=> <<<<<alt Lspan clas=lisy0">=</span> rype= - Lspan clas=linu0">0.5</span>> <<<<<nor Lspan clas=lisy0">=</span> Lspan clas=linu0">0.5</span>> <<<<<up Lspan clas=lisy0">=</span> Lspan clas=likw3r>math</span>.Lspan clas=lime1r>sqrt</span>Lspan clas=libr0">(</span>Lspan clas=linu0">1.0</span>-nor*norLspan clas=libr0">)</span>> <<<<<ogl.Lspan clas=lime1r>glColor3f</span>Lspan clas=libr0">(</span>Lspan clas=linu0">1.0</span>-rype=Lspan clas=lisy0">,</span> Lspan clas=linu0">0.2</span> Lspan clas=lisy0">,</span> rype=Lspan clas=libr0">)</span>> <<<<<ogl.Lspan clas=lime1r>glNormal3f</span>Lspan clas=libr0">(</span>nor*cLspan clas=lisy0">,</span> upLspan clas=lisy0">,</span> nor*sLspan clas=libr0">)</span>> <<<<<ogl.Lspan clas=lime1r>glVerYPE3f</span>Lspan clas=libr0">(</span>r1*cLspan clas=lisy0">,</span> altLspan clas=lisy0">,</span> r1*sLspan clas=libr0">)</span>> <<<<<ogl.Lspan clas=lime1r>glVerYPE3f</span>Lspan clas=libr0">(</span>r2*cLspan clas=lisy0">,</span> alt+Lspan clas=linu0">0.05</span>Lspan clas=lisy0">,</span> r2*sLspan clas=libr0">)</span>> <ogl.Lspan clas=lime1r>glEnd</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>L/pnn>> dVdiv>>y<h3rclas=li<lcpe="edit4rei/d"siontettp://py">sionteitle=".py</h3>>Ldiv clas=lilevel3r> dpnn clas=licode pylhon"/Lspan clas=likw1r>from</span> PyQt4.Lspan clas=lime1r>QtGui</span> Lspan clas=likw1r>iononk</span> * Lspan clas=likw1r>from</span> PyQ title=" Lspan clas=likw1r>iononk</span> * Lspan clas=likw1r>from</span> ="hlogo Lspan clas=likw1r>iononk</span> "raw_="h_logo   helpstr Lspan clas=lisy0">=</span> Lspan clas=list0">"""<h2>S i<m p l e V i<e w<e r</h2> Use the mouse to move the camera inound the objlcp. >You can respectively revolve inound, zoom and DTD/xlype tsth the Dhree mouse buttons. >Left and middle buttons pnnssed together rotype inound the camera ttp: lalcpe=" axis<br><br> Pnnssing <b>Alt</b> and ="e of the funcpe="ekeys (<b>F1</b>..<b>F12</b>) "nfe=ns a camera keyFrame. >Sionty pnnss the funcpe="ekey ag" tito nnstonn ip. Several keyFrames "nfe=n a camera path. Path inn saved when you quik the ate" type="<and nnstonnd at next slink.<br><br> Pnnss <b>F</b> to display the frame rype, <b>A</b> qgl the world axis, <b>Alt+Return</b> qgl full <cre/l i/fe<and <b>ttp-rol+S</b> to save a /napiha . >See the <b>Keyboard</b> tab tithis window qgl a co"ntepe <h.phcut d.ph.<br><br> Double c" tk iutomat ii"R> c" tk acpe="s: A left button double c" tk aligns the closer axis tsth the camera (if close enough). A middle button double c" tk fits the zoom of the camera ind the right button re-" tiers the scen .<br><br> A left button double c" tk while holding right button pnnssed "nfe=ns the camera <i>Revolve Anound Point</i>.>See the <b>Mouse</b> tab ind the documtitype=" web paRes qgl details.<br><br> Pnnss <b>Escape</b> to exik the ttp://p"""</span>   Lspan clas=likw1r>clas=</span> itle="Lspan clas=libr0">(</span>Q title="Lspan clas=libr0">)</span>:> <Lspan clas=likw1r>"nf</span> Lspan clas=likw4">__e=it__</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=lisy0">,</span>pa titlLspan clas=lisy0">=</span> Lspan clas=likw2r>N="e</span>Lspan clas=libr0">)</span>:> <<<<<" title=".Lspan clas=likw4">__e=it__</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=lisy0">,</span>pa titLspan clas=libr0">)</span>> <Lspan clas=likw1r>"nf</span> "rawLspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=libr0">)</span>:> <<<<<"raw_="h_logoLspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <Lspan clas=likw1r>"nf</span> e=itLspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=libr0">)</span>:> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=lime1r>nnstonnStypeFromFile</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=likw2r>help</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <Lspan clas=likw1r>"nf</span> helpStringLspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=libr0">)</span>:> <<<<<Lspan clas=likw1r>nnturn</span> helpstr   Lspan clas=likw1r>"nf</span> m" tLspan clas=libr0">(</span>Lspan clas=libr0">)</span>:> <qatelLspan clas=lisy0">=</span> QAte" type="Lspan clas=libr0">(</span>Lspan clas=libr0">[</span>Lspan clas=libr0">]</span>Lspan clas=libr0">)</span>> <vtle=" Lspan clas=lisy0">=</span> itle="Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <vtle=".Lspan clas=lime1r>setWindowTxt/p</span>Lspan clas=libr0">(</span>Lspan clas=list0">"sionteitle=""</span>Lspan clas=libr0">)</span>> <vtle=".Lspan clas=lime1r>show</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <qate.Lspan clas=lime1r>exec_</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>>  Lspan clas=likw1r>if</span> __w"/>__ Lspan clas=lisy0">==</span> Lspan clas=list0">'__m" t__'</span>:> <m" tLspan clas=libr0">(</span>Lspan clas=libr0">)</span>L/pnn>> dVdiv>>y<h3rclas=li<lcpe="edit5rei/d"resultr/Result</h3>>Ldiv clas=lilevel3r> dp>>La="contents" href="/widetail"/wiki/d" contenid=exmedia=siontettp://.png" clas=limedia"text/pla<iontettp://.png"><img srct/css" href="/wifetxe/ope?media=siontettp://.png" clas=limedia"talt="rrseL/a>><hp>> dVdiv>>y<h2rclas=li<lcpe="edit6rei/d"YPE ure_3d_" contea>TPE ure 3D<title> </h2242div clas=lilevel2r>> dp> A sionte title> tsth tPE ure 3D.><hp>> dp>>In the <code>e=itL/code>efolhod, qgur small QimaRec inn meta nand and fil> d each tsth an unique color. The 3D<tPE ure is then bles&d.><hp>> dp>>In the <code>"rawL/code>efolhod, a dyw"/ic pyramid is "rawn using tPE ure 3D.><hp>> dp>>The <code>animat L/code>efolhod updat the coordinat of the pyramid.><hp>> dVdiv>>y<h3rclas=li<lcpe="edit7rei/d"YPE ure3dpy">YPE ure3D.py</h3>>Ldiv clas=lilevel3r> dpnn clas=licode pylhon"/Lspan clas=likw1r>from</span> PyQt4.Lspan clas=lime1r>QtGui</span> Lspan clas=likw1r>iononk</span> * Lspan clas=likw1r>from</span> PyQ title=" Lspan clas=likw1r>iononk</span> * Lspan clas=likw1r>iononk</span> OpenGL.Lspan clas=likw3r>GL</span> Lspan clas=likw1r>as</span> ogl Lspan clas=likw1r>iononk</span> Lspan clas=likw3r>math</span>   helpstr Lspan clas=lisy0">=</span> Lspan clas=list0">"""<h2>T e x t u r e 3 D</h2> A"<title> to show how to build a 3D<tPE ure and ate"y ik ="<a dyw"/ic pyramidp"""</span>   Lspan clas=likw1r>clas=</span> itle="Lspan clas=libr0">(</span>Q title="Lspan clas=libr0">)</span>:> <Lspan clas=likw1r>"nf</span> Lspan clas=likw4">__e=it__</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=lisy0">,</span>pa titlLspan clas=lisy0">=</span> Lspan clas=likw2r>N="e</span>Lspan clas=libr0">)</span>:> <<<<<" title=".Lspan clas=likw4">__e=it__</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=lisy0">,</span>pa titLspan clas=libr0">)</span>> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=lime1r>" tier</span> Lspan clas=lisy0">=</span> Lspan clas=libr0">[</span> Lspan clas=linu0">0.0</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">0.0</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">1.0</span> Lspan clas=libr0">]</span>> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=lime1r>base</span> Lspan clas=lisy0">=</span> Lspan clas=libr0">[</span>Lspan clas=libr0">[</span> -Lspan clas=linu0">1.0</span>Lspan clas=lisy0">,</span> -Lspan clas=linu0">1.0</span>Lspan clas=lisy0">,</span> Lspan clas=linu0">0.0</span> Lspan clas=libr0">]</span>Lspan clas=lisy0">,</span> Lspan clas=libr0">[</span>-Lspan clas=linu0">1.0</span>Lspan clas=lisy0">,</span> Lspan clas=linu0">1.0</span>Lspan clas=lisy0">,</span> Lspan clas=linu0">0.0</span>Lspan clas=libr0">]</span>Lspan clas=lisy0">,</span> Lspan clas=libr0">[</span>Lspan clas=linu0">1.0</span>Lspan clas=lisy0">,</span> Lspan clas=linu0">1.0</span>Lspan clas=lisy0">,</span> Lspan clas=linu0">0.0</span>Lspan clas=libr0">]</span>Lspan clas=lisy0">,</span> Lspan clas=libr0">[</span>Lspan clas=linu0">1.0</span>Lspan clas=lisy0">,</span> -Lspan clas=linu0">1.0</span>Lspan clas=lisy0">,</span> Lspan clas=linu0">0.0</span>Lspan clas=libr0">]</span>Lspan clas=libr0">]</span>> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=likw3r>time</span> Lspan clas=lisy0">=</span> Lspan clas=linu0">0</span>.> <Lspan clas=likw1r>"nf</span> animat Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=libr0">)</span>:> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=lime1r>" tier</span>Lspan clas=libr0">[</span>Lspan clas=linu0">2</span>Lspan clas=libr0">]</span> Lspan clas=lisy0">=</span> Lspan clas=likw3r>math</span>.Lspan clas=lime1r>sin</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>.Lspan clas=likw3r>time</span> / Lspan clas=linu0">15.0</span>Lspan clas=libr0">)</span> * Lspan clas=linu0">2.0</span>> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=likw3r>time</span> +Lspan clas=lisy0">=</span> Lspan clas=linu0">1</span>> <Lspan clas=likw1r>"nf</span> "rawLspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=libr0">)</span>:> <<<<<Lspan clas=likw1r>if</span> Lspan clas=likw2r>self</span>.Lspan clas=lime1r>tPEw"/></span> Lspan clas=lisy0">></span> Lspan clas=linu0">0</span>:> <<<<< <ogl.Lspan clas=lime1r>glBlesTPE ure</span>Lspan clas=libr0">(</span>ogl.Lspan clas=lime1r>GL_TEXTURE_3D</span>Lspan clas=lisy0">,</span> Lspan clas=likw2r>self</span>.Lspan clas=lime1r>tPEw"/></span>Lspan clas=libr0">)</span>> <<<<<ogl.Lspan clas=lime1r>glBegin</span>Lspan clas=libr0">(</span>ogl.Lspan clas=lime1r>GL_TRIANGLES</span>Lspan clas=libr0">)</span>> <<<<<Lspan clas=lico1r>#<tPE ure coordinat inn always specified befonn the terYPE they ate"y to.</span>> <<<<<Lspan clas=likw1r>qgl</span> x<Lspan clas=likw1r>in</span><Lspan clas=likw2r>r="Re</span>Lspan clas=libr0">(</span>Lspan clas=linu0">4</span>Lspan clas=libr0">)</span>:> <<<<<<<<<ogl.Lspan clas=lime1r>glTPECoord3dv</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>.Lspan clas=lime1r>" tier</span>Lspan clas=libr0">)</span>> <<<<<<<<<ogl.Lspan clas=lime1r>glVerYPE3dv</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>.Lspan clas=lime1r>" tier</span>Lspan clas=libr0">)</span>>  <<<<<<<<<ogl.Lspan clas=lime1r>glTPECoord3dv</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>.Lspan clas=lime1r>base</span>Lspan clas=libr0">[</span>xLspan clas=libr0">]</span>Lspan clas=libr0">)</span>> <<<<<<<<<ogl.Lspan clas=lime1r>glVerYPE3dv</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>.Lspan clas=lime1r>base</span>Lspan clas=libr0">[</span>xLspan clas=libr0">]</span>Lspan clas=libr0">)</span>>  <<<<<<<<<ogl.Lspan clas=lime1r>glTPECoord3dv</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>.Lspan clas=lime1r>base</span>Lspan clas=libr0">[</span>Lspan clas=libr0">(</span>x+Lspan clas=linu0">1</span>Lspan clas=libr0">)</span>%Lspan clas=linu0">4</span>Lspan clas=libr0">]</span>Lspan clas=libr0">)</span>> <<<<<<<<<ogl.Lspan clas=lime1r>glVerYPE3dv</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>.Lspan clas=lime1r>base</span>Lspan clas=libr0">[</span>Lspan clas=libr0">(</span>x+Lspan clas=linu0">1</span>Lspan clas=libr0">)</span>%Lspan clas=linu0">4</span>Lspan clas=libr0">]</span>Lspan clas=libr0">)</span>> <<<<<ogl.Lspan clas=lime1r>glEnd</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <Lspan clas=likw1r>"nf</span> e=itLspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=libr0">)</span>:> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=lime1r>nnstonnStypeFromFile</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=likw2r>help</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <<<<<imgs Lspan clas=lisy0">=</span> Lspan clas=libr0">[</span>QImaReLspan clas=libr0">(</span>Lspan clas=linu0">4</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">4</span>Lspan clas=lisy0">,</span>QImaRe.Lspan clas=lime1r>Format_ARGB32</span>Lspan clas=libr0">)</span> Lspan clas=likw1r>qgl</span> i<Lspan clas=likw1r>in</span><Lspan clas=likw2r>r="Re</span>Lspan clas=libr0">(</span>Lspan clas=linu0">4</span>Lspan clas=libr0">)</span>Lspan clas=libr0">]</span>> <<<<<imgsLspan clas=libr0">[</span>Lspan clas=linu0">0</span>Lspan clas=libr0">]</span>.Lspan clas=lime1r>fil></span>Lspan clas=libr0">(</span>qRgbLspan clas=libr0">(</span>Lspan clas=linu0">128</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">0</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">0</span>Lspan clas=libr0">)</span>Lspan clas=libr0">)</span>> <<<<<imgsLspan clas=libr0">[</span>Lspan clas=linu0">1</span>Lspan clas=libr0">]</span>.Lspan clas=lime1r>fil></span>Lspan clas=libr0">(</span>qRgbLspan clas=libr0">(</span>Lspan clas=linu0">0</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">128</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">0</span>Lspan clas=libr0">)</span>Lspan clas=libr0">)</span>> <<<<<imgsLspan clas=libr0">[</span>Lspan clas=linu0">2</span>Lspan clas=libr0">]</span>.Lspan clas=lime1r>fil></span>Lspan clas=libr0">(</span>qRgbLspan clas=libr0">(</span>Lspan clas=linu0">0</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">0</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">128</span>Lspan clas=libr0">)</span>Lspan clas=libr0">)</span>> <<<<<imgsLspan clas=libr0">[</span>Lspan clas=linu0">3</span>Lspan clas=libr0">]</span>.Lspan clas=lime1r>fil></span>Lspan clas=libr0">(</span>qRgbLspan clas=libr0">(</span>Lspan clas=linu0">128</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">128</span>Lspan clas=lisy0">,</span>Lspan clas=linu0">128</span>Lspan clas=libr0">)</span>Lspan clas=libr0">)</span>> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=lime1r>tPEw"/></span> Lspan clas=lisy0">=</span> Lspan clas=likw2r>self</span>.Lspan clas=lime1r>blesTPE ure3D</span>Lspan clas=libr0">(</span>imgsLspan clas=libr0">)</span>> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=lime1r>setScen Radius</span>Lspan clas=libr0">(</span>Lspan clas=linu0">1</span>Lspan clas=libr0">)</span>> <<<<<Lspan clas=likw2r>self</span>.Lspan clas=lime1r>slinkAnimate="</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <Lspan clas=likw1r>"nf</span> helpStringLspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=libr0">)</span>:> <<<<<Lspan clas=likw1r>nnturn</span> helpstr <Lspan clas=likw1r>"nf</span> closeEvtitLspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=lisy0">,</span>evtitLspan clas=libr0">)</span>:> <<<<<Lspan clas=likw1r>if</span> Lspan clas=likw2r>self</span>.Lspan clas=lime1r>tPEw"/></span> Lspan clas=lisy0">></span> Lspan clas=linu0">0</span>:> <<<<< <ogl.Lspan clas=lime1r>glDetepeTPE ures</span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>.Lspan clas=lime1r>tPEw"/></span>Lspan clas=libr0">)</span>> <<<<<" title=".Lspan clas=lime1r>"loseEvtitL/span>Lspan clas=libr0">(</span>Lspan clas=likw2r>self</span>Lspan clas=lisy0">,</span>evtitLspan clas=libr0">)</span>   Lspan clas=likw1r>"nf</span> m" tLspan clas=libr0">(</span>Lspan clas=libr0">)</span>:> <qatelLspan clas=lisy0">=</span> QAte" type="Lspan clas=libr0">(</span>Lspan clas=libr0">[</span>Lspan clas=libr0">]</span>Lspan clas=libr0">)</span>> <vtle=" Lspan clas=lisy0">=</span> itle="Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <vtle=".Lspan clas=lime1r>setWindowTxt/p</span>Lspan clas=libr0">(</span>Lspan clas=list0">"YPE ure3D"</span>Lspan clas=libr0">)</span>> <vtle=".Lspan clas=lime1r>show</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>> <qate.Lspan clas=lime1r>exec_</span>Lspan clas=libr0">(</span>Lspan clas=libr0">)</span>>  Lspan clas=likw1r>if</span> __w"/>__ Lspan clas=lisy0">==</span> Lspan clas=list0">'__m" t__'</span>:> <m" tLspan clas=libr0">(</span>Lspan clas=libr0">)</span>L/pnn>> dVdiv>>y<h3rclas=li<lcpe="edit8rei/d"result1r/Result</h3>>Ldiv clas=lilevel3r> dp>>La="contents" href="/widetail"/wiki/d" contenid=exmedia=YPE ure3d.jpg" clas=limedia"text/plaYPE ure3d.jpg"><img srct/css" href="/wifetxe/ope?w=300php?t=ok=1ecc79id=exmedia=YPE ure3d.jpg" clas=limedia"talt="rrwidth="300rrseL/a>><hp>> dVdiv>>y <<<<<L!-- ts" paRe <lop -->> <<<<<Ldiv clas=licllinnk"/ dVdiv>>y <<<<< <<<<<Ldiv clas=li<linkfoot"/>> < < < <La="conte#ia.fss" __top"m clas=liacpe="etop"maccessmet="tars"/> noent="intext/plaBack to lop [T]">Back to lopL/a>> < < < <Ldiv clas=lifollr/> < < <Ldiv clas=liuserret=uuuuuuuuuuuuuuuuuuuuu <LVdiv>> < < <Ldiv clas=lidocn" uuuuuuuuuu <Lbdi>" conten.txt</bdi> ยท Last i/fified: 2007/10/24 11:29 by<Lbdi>admin</bdi> uuuuuuu <LVdiv>> < < dVdiv>>y <<<<< <Ldiv clas=libarrei/d"bar__bottomr/> < < <Ldiv clas=libar-leftrei/d"bar__bottomleftret=uuuuuuuuuuuuuLa="contents" href="/wiki/d" contenid=examples& clas=liacpe="eles&accessmet="xars"/> noent="intext/plaex" tit [X]a>Si" tit</a><uuuuuuuuuuuuuLa="contents" href="/wiki/d" contenid=examprl" titm clas=liacpe="es"" titmaccessmet="rars"/> noent="intext/plaml" title="Rec [R]r/Re" title="Rec</a><uuuuuuuuuuuLVdiv>> < < <Ldiv clas=libar-rightrei/d"bar__bottomrightr/> < < <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<La="contents" href="/wiki/d" contenid=examploginid=ex<lcpok=118645ec66ba0362f7544750838b286dtm clas=liacpe="eloginars"/> noent="intext/plaLog In">Log In</a><uuuuuuuuuuuLVdiv>> < < <Ldiv clas=licllinnk"/LVdiv>> < < dVdiv>>y <<<<<LVdiv>> < LVdiv>> <LVdiv>>> < <Ldiv alignlic tier" clas=lifooterinc"etyQGLa linghtm"_blank="canonical" hrjigsa="http://css-validname/check/anoennk"text/plaValid CSS"><img srct/css" href=tplref="h/imaRec/button-ki/ling" width="80rrheight="15"talt="Valid CSS" bordeang0rrseL/a>>yQGLa linghtm"_blank="canonical" hrss" .se" tbr" ttp://ss" :ia.fss" "text/plaDkiven by<" content><img srct/css" href=tplref="h/imaRec/button-dwling" width="80rrheight="15"talt="Dkiven by<" content bordeang0rrseL/a>>yL!-- QGLa linghtm"_blank="canoniges" href="/wiktext/plaml" titce="Rec RSS ref=t><img srct/css" href=tplref="h/imaRec/button-ri/ling" width="80rrheight="15"talt="ml" titce="Rec RSS ref=t bordeang0rrseL/a> -->> La linghtm"_blank="canonical" hrvalidname"http://check/anoennk"text/plaValid //W3C//DTt><img srct/css" href=tplref="h/imaRec/button-?do=eling" width="80rrheight="15"talt="Valid //W3C//DTt bordeang0rrseL/a>>y dVdiv>>y <Lb clas=lirbottom_innnk"/> < Lb clas=lir40></b>Lb clas=lir30></b>Lb clas=lir20></b>Lb clas=lir10></b>yQG LVbetyQGLVdiv>>y Lb clas=lirbottom_ouink"/> <Lb clas=lir40></b>Lb clas=lir30></b>Lb clas=lir20></b>Lb clas=lir10></b>yQGLVbetydVdiv>>y<div clas=linor>Limg srct/css" href="/wiles&a//.pwiki/d" contenid=ex1506396788" width="2rrheight="1"talt="rrseL/div>><hbody242 type>