This page regroups the most frequently asked questions and their answers. In short, this means it is not public domain and the agreement consists in what is stated in the MPL, that is: can use freely, in free or commercial software, can redistribute freely the packages source, exe, bpl etc. Where is the tutorial? It is regularly updated, but GLScene is currently growing faster than the help file. Check them from first to last, read the comments in the header of their "unit1. Some are in missing from the palette
|Published (Last):||13 July 2006|
|PDF File Size:||1.43 Mb|
|ePub File Size:||11.78 Mb|
|Price:||Free* [*Free Regsitration Required]|
Disclaimer What is GLScene? Installing GLScene How does it work? Coordinate system 6. Floating point numbers 6.
Vectors 6. Rendering 6. OpenGL 7. Components 7. GLScene 7. GLScene Utils 7. GLScene Shaders 8. Objects 8. Common object properties 8. Basic geometry 8. Advanced geometry 8. Mesh objects 8. Graph-plotting objects 8. Particle systems 8. Environment objects 8. HUD objects 8. GUI objects 8. Special objects 8. Doodad object 8. Other objects 9. Runtime object creation 9.
Creating new class Case study: 3D Tetris Design Structure T3DTBlock class Homework Links There is no official documentation for GLScene except for the comments directly in source code.
I also strongly recommend using source code as a primary source of information. Especially when the source code is being developed constantly and is changing all the time. Another great source of knowledge are GLScene demos. However GLScene is so complex that I find it rather difficult for anyone who never used it before to start learning. I have just been using GLScene for my projects. There are people that know a lot more about GLScene that I do.
I owe a lot to GLScene community and I wanted to give something back by writing this document. If you are an experienced GLScene user you will probably find this document very simple but I would be happy for any feedback from you.
I am sure there are a lot of spelling and grammatical errors as well as many GLScene related mistakes. There are also sections that I don't know anything about or I'm not familiar enough with. These parts are marked [TODO]. If you are willing to contribute to this book please feel free to send me your chapter.
I will add it to the text together with your credit. Any corrections of my own text are also welcome. If I knew it I would have written it in the book. Jan Zizka, Prague, May zizajan centrum. OpenGL is a standard and it should be installed on almost any PC nowadays.
But I have never done it and I don't know if the functionality remains the same. There is no support for Mac platform. GLScene was founded by Mike Lischke and from the very beginning it was developed as a open source library for programmer's community.
Later on it was taken over by Eric Grange and is steadily growing ever since. There is a number of GLScene administrators now. GLScene is hosted by www. There is countless number of projects made with GLScene ranging from simple game demos to complex scientific applications. Which one will you choose depends on your intentions with this library. If you just want to try it out download the snapshot version. Snapshot is an archive file containing all source code files.
Snapshot is available from www. It is packed with 7zip format www. Just unpack it wherever you want your GLScene to reside. CVS is an Internet protocol system used by SourceForge for on line accessing source code repositories by developers.
Choose this method if you want to have the latest version of GLScene and check frequently for changes and updates. You will need CVS client in order to download. There are many CVS clients but I recommend www. All CVS clients have one thing in common.
It is called CVS root. It is a string, in fact an address that is used to access web. Enter the above CVS root. You will also have to specify which directory to download. This is called module. Yoy have to download directories one by one. Once you have all GLScene files on your hard drive you can compile the packages in Delphi. Choose corresponding directory to your Delphi version. There are seven packages in GLScene.
You may have to manually add GLScene directories in Delphi search path. After successful compilation there will be four new component tabs.
By default they will be placed in the rightmost position next to other component tabs. You will have to scroll to the right in order to see them or rearrange the tabs. Now you are ready to use GLScene! Designing Delphi form is a straightforward procedure. Visual components that you put on the form can be right visible. With GLScene things are not that simple. Some components are visible at design time some are not. First of all you should keep in mind that everything in GLScene has a strict hierarchy.
Every object belongs to other object which belongs to another object. Every object can have unlimited number of children but only one parent. The top of the object tree is TGLScene. There is one interesting issue in the hierarchy. An object always has a parent and a owner.
Parent and owner are not the same. Owner must always be TGLScene because it is registered there. Parent however can be another object or TGLScene. Objects class. There are basically two kinds of objects in GLScene : components and scene objects. Components are organized in four component tabs and can be placed on the form and accessed only in object inspector. They can be considered 'servicing components' for the second type of objects.
GLScene quickstart guide
From here on we assume the GLScene library has been installed properly. We are ready to take our first steps into the 3D openGL universe. In GLScene the universe or 3D world is called a scene. Hence the name. We are going to create our first application that will contain a 3D cube. We will learn how to start a basic GLScene application and how to control the layout by manipulating the design time properties.
GLSCENE - User Tutorial
Reference - Sorted alphabetically. Tips and Tricks. Reference - Sorted by component. It provides visual components and objects allowing description and rendering of 3D scenes in an easy, no-hassle, yet powerful manner. GLScene is not just an OpenGL wrapper or utility library, it has grown to become a set of founding classes for a generic 3D engine with Rapid Application Development in mind.
Is there a help file for glscene?