| |
|
|
- Page 1 - |
|
| i want ogl.sphere self to charge circa Einfluss on each Vertexe take to, How errechnet one The Vertexe and normal?
on the end ought to a ogl.List for nötige performance care, so the eigentliche Algorithmus for Erzeugung the Sphere not too performant his must.
can someone help?
@Frank: You Perhaps one ASM for a Sphereerzeugung? |
|
|
| |
|
|
|
| |
|
- Page 2 - |
|
|
allegedly is indeed OGL3.0 recent rausgekommen...
reading us still first 1.4 and 2.0 correctly. Proggen. I stops nothing of undichten Mutmaßungen.
means: The "originalbefehle" in brackets settle and to whom originalen Variablenamen The Wellenlinie.
mfg |
|
|
| |
|
|
|
|
NIE virtual, that to the to that draw one doofen Dreiecks with indicated of 3 Eckpunkten needed...
look you Purebasic on, ... look you Freebasic on,... look you Delphi on...
each Program has its own Types, before the Ogl-commands comes.
mfg peter |
|
|
| |
|
|
|
| Peter Bierbachh
Peter Bierbachh allegedly is indeed OGL3.0 recent rausgekommen...
... The "originalbefehle" in brackets settle and to whom originalen Variablenamen The Wellenlinie.
and It's all right even yet plainer, because who xpse using must not yet once "Wellenlinien" (tildes) set.
herewith can The opengl-command simply directly eintippen, these go into faster Calls konvertiert. (More performance)
in the Earth-example [...] can the well understand.
OpenGL-commands: abc(a,b,c)
XProfan: ogl("abc",a,b,c)
XProfan with XPSE: abc(a,b,c) |
|
|
| |
|
|
|
| OGL 3.0 Specification on the 11. august 2008 showed up. Heisst Yes not, that driver already existieren... fountain: [...] Greeting, woodpecker |
|
|
| |
|
|
|
| pay attention , in xpse there The Variable "GL_BGRA "nicht, for Opengl, for must again a number by hand staid go.
or has IF whom lack already fixed?
mfg |
|
|
| |
|
|
|
| XPSE knows The Constant GL_RGBA with the worth $1908, (yet) not however GL_BGRA with the worth $80E1. |
|
|
| |
|
|
| |
|
- Page 3 - |
|
|
| finally the XPSE-course-example with the Dreiecks-Eckpunkten found. Well, paper is even geduldig... CompileMarkSeparationDeclare vertex#:Dim vertex#,3*3*8:float vertex#,0=-1,-1,0, 1,-1,0, 0,1,0
Declare color#:Dim color#,3*4*8:float color#,0=1,0,0,0.5, 0,0,1,0.5, 0,1,0,0.5
Declare xpgl&:xpgl&=oGL("CreateXPGL","T","VC",1,vertex#,color#,0,0)
Cls 0:oGL("Init",%HWnd,.1,.2,.3,1):oGL("Clear")
oGL("Origin",0,0,-4):oGL("BlendMode", 0):oGL("PosMode", 1)
oGL("UseXPGL",xpgl&):oGL("Move",0,0,1):oGL("Rotate",0,0,0):
oGl("DrawXPGL",0,3):oGL("Show")
WaitInput :Dispose vertex#:Dispose color#: >
I hope, the shadet too, if ichs then with Ratcliff´s bullet try... Greeting |
|
|
| |
|
|
|
|
finally the XPSE-course-example with the Dreiecks-Eckpunkten found.
what has with the XPSE it To do? Runs still without XPSE.
Übersichtlicher is it , The command among themselves To write and not with the ":" next to each other.
mfg |
|
|
| |
|
|
|
| Yes, such Doppelpunkte hinder The Overview and Erweiterbarkeit, so sees one it still too same rather: CompileMarkSeparationDECLARE VERTEX#,COLOR#,XPGL&
DIM VERTEX#,3*3*8
FLOAT VERTEX#,0=-1,-1,0, 1,-1,0, 0,1,0
DIM COLOR#,3*4*8
FLOAT COLOR#,0=1,0,0,0.5, 0,0,1,0.5, 0,1,0,0.5
XPGL&=OGL("CreateXPGL","T","VC",1,VERTEX#,COLOR#,0,0)
CLS 0
OGL("Init",%HWND,.1,.2,.3,1)
OGL("Clear")
OGL("Origin",0,0,-4)
OGL("BlendMode", 0)
OGL("PosMode", 1)
OGL("UseXPGL",XPGL&)
OGL("Move",0,0,1)
OGL("Rotate",0,0,0):
OGL("DrawXPGL",0,3)
OGL("Show")
WAITINPUT
DISPOSE VERTEX#
SE COLOR#
|
|
|
| |
|
|
|
| XPGL naturally, not XPSE... SORRY! |
|
|
| |
|
|
|
Andreas Brandt | having to some Time too this trouble. have different things ausprobiert having but always a problem with the distribution the Eckpunkte. If you from the Eckpunkten one Würfels ausgehst and then The from it resultierenden Dreiecke Teilst (break on the Page between P2 and P3) which You on the Kugeloberfläche new ausrichtest, then get You a Kugeloberfläche with roughly same Oberflächengüte. though double itself with each Durchlauf the Dreieckbrechung The Number of Dreiecke. If you interresse in a Algorythmus have (in PureBasic) mail me time. |
|
|
| |
|
|
|
| iF
already posted: [...] You can with OGL any gl-functions Call. hemisphere is so too no trouble, solely theta3 bisect.
Hello Andreas, I had that here in the Thread angesprochene trouble already solve can and a Solution [...] publishes. The XProfan-world [...] have I so created.
your Sourcecode would I (nevertheless) gladly discover, can Yes only help. |
|
|
| |
|
|