soccer jersey forums.silverfrost.com :: View topic - Callable GL
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Callable GL

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
stfark1



Joined: 02 Sep 2008
Posts: 224

PostPosted: Sat Jun 16, 2018 5:17 pm    Post subject: Callable GL Reply with quote

Creating a callable OpenGL program from Silverfrost Fortran, getting strange results, any ideas? The program is executed and is an exact duplicate of variables and calls provided by examples from the libraries to plot using callable GLopen routines from fortran. This program has been created exactly as logically structure below in C++ and works great. However, using the callable structure as below, getting strange, non sensible output lines, not continuous but scattered through out the graph output. Leads one to believe there is a problem with the OpenGL library elements that are called from the include statements. Sid Kraft
Program Simple
Include <clearwin.ins>,nolist
Include <opengl.ins>,nolist
c fill the variable: xvar(indx1),yvar(indx1),zvar(indx1)
c plot the values from indx1=1,n
i=winio%(all variables required) from template provided
i=winio%(all variables to create the window) from template provided


c opengl commands for ploting segments:
call glVertex3f(xvar(indx1),yvar(indx1),zvar(indx1)
call glVertex3f(xvar(indx1+1),yvar(indx1+1),zvar(indx1+1)

c continue loop until all variable segments processed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group