I would like to know if I am able to create Spheres, Cubes and all the other objects and use for its position real Pixel-coordinates like in real OpenGL.
I am always using a 1920 * 1080. So is there a property which I have to setup, or how to deal with this?
Thanks for your ideas or solutions.
Cheers Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
real Pixel-coordinates like in real OpenGL.
hu !!! GLScene is in real opengl ! it s your project must display 3d like 2d use Ortho persective as camera or you must calculate yourself the position of the objects depending of the camera's settings (fov, position, the "frustrum")
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
unfortunatly I received some errors by trying to open the project.
TGLSFMOD is missed
FMODPlayer
HudExtensionsRender
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\umainform.pas(52,61): error E2003: E2003 Undeklarierter Bezeichner: 'TRenderContextInfo'
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\umainform.pas(138,35): error E2003: E2003 Undeklarierter Bezeichner: 'GLSL_VERSION'
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\umainform.pas(193,67): error E2005: E2005 'TRenderContextInfo' ist kein gültiger Typenbezeichner
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\umainform.pas(225,58): error E2250: E2250 Es gibt keine überladene Version von 'TextOut', die man mit diesen Argumenten aufrufen kann
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\GLInfos.dpr(5,2): error F2063: F2063 Verwendete Unit 'umainform.pas' kann nicht compiliert werden
Do I miss something?
Hm and even if it wont work, could you give me please an advise how to calculate the positions?
Something like a formula?
Cheers Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
could you give me please an advise how to calculate the positions?
Something like a formula?
not really, but i don't understand why you want set the position like 2d in a 3d world because you're always using a 1920 * 1080. so if if i want to execute your soft on my pc it won't work correctly. You just must adjust your camera. see the attached demo and go on the author web site for more informations.
Hello,
I would like to know if I am able to create Spheres, Cubes and all the other objects and use for its position real Pixel-coordinates like in real OpenGL.
I am always using a 1920 * 1080. So is there a property which I have to setup, or how to deal with this?
Thanks for your ideas or solutions.
Cheers Tom
Hi,
You want do something like this ?
Hi Jerome,
unfortunatly I received some errors by trying to open the project.
TGLSFMOD is missed
FMODPlayer
HudExtensionsRender
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\umainform.pas(52,61): error E2003: E2003 Undeklarierter Bezeichner: 'TRenderContextInfo'
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\umainform.pas(138,35): error E2003: E2003 Undeklarierter Bezeichner: 'GLSL_VERSION'
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\umainform.pas(193,67): error E2005: E2005 'TRenderContextInfo' ist kein gültiger Typenbezeichner
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\umainform.pas(225,58): error E2250: E2250 Es gibt keine überladene Version von 'TextOut', die man mit diesen Argumenten aufrufen kann
C:\Users\Keytoq\Downloads\GLInfo\GLInfo\GLInfos.dpr(5,2): error F2063: F2063 Verwendete Unit 'umainform.pas' kann nicht compiliert werden
Do I miss something?
Hm and even if it wont work, could you give me please an advise how to calculate the positions?
Something like a formula?
Cheers Tom
This one might work.
Hi,
Thanks Eric.
not really, but i don't understand why you want set the position like 2d in a 3d world because you're always using a 1920 * 1080. so if if i want to execute your soft on my pc it won't work correctly. You just must adjust your camera. see the attached demo and go on the author web site for more informations.