English
Forum

Open GL API

 

Andreas
Gaida
Hi

I have the trouble that I under Opengl Dreiecke and Vierecke draw must from Vector data
and not with oGL(TRIANGLE, x!, y!) or oGL(QUAD, x!, y!)
can make.
About Help How I the over The API make could would I very forward I unfortunately no idea have How I
The Pasende API function of these werten address should
Bräuchte so appeal a function :
glbox (x,y,z),(x,y,z),(x,y,z),(x,y,z) and gltriangle (x,y,z),(x,y,z),(x,y,z)
for quellcode would I very grateful his.
example data for einn die :
v 1 1 1
v 1 1 -1
v 1 -1 1
v 1 -1 -1
v -1 1 1
v -1 1 -1
v -1 -1 1
v -1 -1 -1

f 1 3 4 2
f 5 7 8 6
f 1 5 6 2
f 3 7 8 4
f 1 5 7 3
f 2 6 8 4

MfG
Andreas
 
Athlon X2 4800 , 2GB Ram , GeForce 7800GT
Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b
12/18/06  
 




Andreas
Gaida
my trouble having itself aufgelöst
having only Problems with the Parameter Passing
because I initially glVertex3d uses have anstat glVertex3f

Listennummer1& = oGL(STARTLIST)
rückgabe& =oGL(glBegin,~GL_QUADS )
oGL(glVertex3f,-1.0, 1.0, 0.0)
oGL(glVertex3f,1.0, 1.0, 0.0)
oGL(glVertex3f,1.0,-1.0, 0.0)
oGL(glVertex3f,-1.0,-1.0, 0.0)
rückgabe& = oGL(glEnd)
oGL(ENDLIST)

Listennummer2& = oGL(STARTLIST)
rückgabe& =oGL(glBegin,~GL_TRIANGLES )
oGL(glVertex3f, 0.0, 1.0, 0.0)
oGL(glVertex3f,-1.0,-1.0, 0.0)
oGL(glVertex3f, 1.0,-1.0, 0.0)
rückgabe& = oGL(glEnd)
oGL(ENDLIST)

MfG
Andreas
 
Athlon X2 4800 , 2GB Ram , GeForce 7800GT
Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b
12/19/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

756 Views

Untitledvor 0 min.
Andreas Koch01/14/13

Themeninformationen

this Topic has 1 subscriber:

Andreas Gaida (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie