How can I get the coordinates where the %ENT_CAMERA-Entity currently is looking at?
(TBGL_Demo06_01_MovingIn3D_UsingEntitySystemBasic.tBasic from sampleScripts\TBGL\Basic-folder)
and btw. what is "dim Sheeps as Long" for? Some internal switch?
The intention is, to move some mesh or tirangle-list through space and make the camera look at it.
But camera should be moveable in all directions around the mesh, always looking at it
so maybe normal controls (left/right/up/down/pgUp/pgDn) refer to the meshes movement, camera will always follow, so makes the same moves
but if I press any Shift-Key just the camera should
%VL_Left - rotate left around point of view (my mesh)
%VK_Up - get closer
%VK_Down- zoom out
%VK_PgUp - Camera shall move upwards but still look down to the mesh
so I need to know: How can I get or even set the look-at-position for the camera-entity
and another question: how can I make my Triangle-Lists triangles, which I setup with
TBGL_NewList %ENT_POINTER
TBGL_BeginPoly %GL_TRIANGLES
TBGL_Color 0, 127, 0
TBGL_Vertex -1 , 0 , 0
TBGL_Normal
...etc.
to be rendered just from one side visible?
Bookmarks