replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - GL Graphics
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 

GL Graphics

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



Joined: 02 Sep 2008
Posts: 246

PostPosted: Wed Aug 06, 2025 4:23 pm    Post subject: GL Graphics Reply with quote

Where does one find the "Call" routines for the GL Graphics library, i.e. "Call glRotatef(Angle,x,y,x)" ? Sid Kraft
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2406
Location: Yateley, Hants, UK

PostPosted: Wed Aug 06, 2025 5:52 pm    Post subject: Reply with quote

Sid asks an interesting question.

Wouldn't it be nice if some regular user of OpenGL wrote a beginners' guide to OpenGL with FTN95?

Even better, if there was a similarly charitable soul who did the same for %pl.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8240
Location: Salford, UK

PostPosted: Thu Aug 07, 2025 7:13 am    Post subject: Reply with quote

OpenGL
---------

In the help file ftn95.chm (accessible via the Plato help menu) go to ClearWin+ then OpenGL. This introduces the subject and points you to the "Red" book and the "Blue" book; also other online links.

%pl
-----

1) In the help file go to ClearWin+, then SIMPLEPLOT then Native graph plotting.

2) There is a comprehensive ClearWin+ sample program in the "FTN95 Examples" typically installed on your machine at C:\Users\*****\OneDrive\Documents\FTN95 Examples\Win32\clearwin\demo.f95

(Replace ***** by your machine name)

3) Youtube videos can be accessed at
a) https://www.youtube.com/watch?v=5SwhDmHNq7o&t=40s
b) https://www.youtube.com/watch?v=ycuI2u31cwk

See also https://www.silverfrost.com/59/ftn95/videos.aspx
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2406
Location: Yateley, Hants, UK

PostPosted: Thu Aug 07, 2025 8:52 am    Post subject: Reply with quote

Blimey, Paul, you are up and at it early in the morning!

Yes, the helpfile contents are useful if you are looking for help on things you already know about. But you wouldn't say that FTN95.CHM is enough to start an absolute beginner on programming in Fortran, would you, no matter how comprehensive it is as a resource to someone who programs in Fortran and just wants to know the finer details of what is usually an FTN95 extension.

As for OpenGL, what, for example, is The Red Book and where does one find it? A Google search for 'The Red Book' throws up Carl Gustave Jung's book, and I'm pretty sure that isn't it. If one gets past that (and psychoanalysis might be the answer to the sort of lunatic programming in Fortran in their late 70s) then you get to traffic management, Chairman Mao's thoughts, and 'a thriller'. (Perhaps copies of one of the listed references might be the answer. I'll look.)

My comment wasn't intended to be curmudgeonly about the CHM file, but rather a throwaway in the faint hope that some knowledgeable user might just while away some idle hours writing something for the absolute beginner.

As for %pl, your work replacing the original palaeo-Simpleplot, gone the way of dinosaurs and present only in the fossil form, with something up to date, and fully compatible with all variants of FTN95 is greatly appreciated. Again, not for the absolute beginner - or one whose graph plotting has been done as a pattern of lines in programs some dating back over a half century.

I do subscribe to the view that it is possible to teach old dogs new tricks, but one has to start simple.

best wishes

Eddie
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8240
Location: Salford, UK

PostPosted: Thu Aug 07, 2025 12:34 pm    Post subject: Reply with quote

Eddie

I understood the desire for simple documentation but I wanted to at least post some information about possible sources.

I think the recorded hour of my post is wrong. It's probably GMT.

The videos might help some users, particularly the one on %pl by Kenneth Smith.

The "OpenGL Programming Guide" (aka the Red book) is available online from second hand bookshops for as little as �5.29.
Back to top
View user's profile Send private message AIM Address
Kenneth_Smith



Joined: 18 May 2012
Posts: 830
Location: Lanarkshire, Scotland.

PostPosted: Thu Aug 07, 2025 1:33 pm    Post subject: Reply with quote

Here are some notes and very simple examples of using %pl

https://www.dropbox.com/scl/fi/s75hkz0qwe7ajh18qh516/PL_simple_examples.zip?rlkey=bnxj6ke379fokulkxii7svf4k&st=05q96gql&dl=0

This is very much a work in progress, as and when I have time to look at this.
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2406
Location: Yateley, Hants, UK

PostPosted: Thu Aug 07, 2025 2:21 pm    Post subject: Reply with quote

Many thanks Paul and Ken.

I found OpenGL: A primer by Edward Angel at �3.15 on Amazon. It's the 2001 1st edition, not the revised 2007 edition. It may do.

Ken,
Your PDF is exactly what I was thinking of. Hopefully, you will find time to expand it.

Eddie
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 -> 64-bit 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