Welcome to the new Friends-of-FPC!

Here you can find all kinds of information about the FreePascal Compiler. We have many tutorials and howtos as well as a selection of tools to help you with your programming. We also have some example codes for you. And if you want to contribute some information/ sources/ tools yourself you can do so.
Also we have finally relaunched the FoFPC forum. It's your chance for some Q&A about everything FreePascal.

Friends-of-FPC

Tutorials: Learn how to code with FreePascal.

Source Codes: A collection of examples, miscellaneous source codes and open source stuff.

Tools and Help Files: Intro- duction of some tools that might help you with FPC.

Community

Forum: Ask or answer questions about the FreePascal Compiler, programming or just babble about coding.

Contribute! Contribute your own Tutorial, Source Codes or Tools and send them to us!

Website

About: Information about Friends-of-FPC.org.

OpenGL/ FPC - by Delax

The OpenGL/ FPC tutorial was announced quite some time ago, but finally: here it is!

It will cover OpenGL but not things like "how to calculate matrix rotations", "theory of cartasian space" and stuff like that. Let's put it this way: I will write this thing in a "let's play around" manner and not the "mathematical/ scientific" way. If you want 3D theory, read something like Zed3D.

If you have questions, remarks, whatever about this tutorial or the given source codes, feel free to contact me at delax@sundancerinc.de.

Chapter 01 - Introduction

Chapter 02 - Windows Initialization

Chapter 03 - OpenGL Initialization

Chapter 04 - Fullscreen Rendering

Chapter 05 - Primitives

Chapter 06 - Transformation

Chapter 07 - Rotation

Chapter 08 - Depth Functions

Chapter 09 - 3D Objects

Chapter 10 - Perspective Projection

Chapter 11 - Hidden Surface Removal

Chapter 12 - Lighting (Basics)

Chapter 13 - Ambient Light

Chapter 14 - Diffuse Light

Chapter 15 - Specular Light

Chapter 16 - Display Lists

Chapter 17 - Texture Mapping (Basics)

Chapter 18 - Mathematical Textures

Chapter 19 - Bitmap Textures

Chapter 20 - OpenGL Extensions: Multitexturing (by Mr. WereWolf)

Download Tutorial as .ZIP file

Back to previous page

Useful Links









Link to us