[Plib-users] API Documentation and Camera Rotation....
Brought to you by:
sjbaker
From: SkyFlash <sky...@ch...> - 2003-01-17 23:14:57
|
Alright, i am experimenting with PLIB right now, but I am kinda lost without docu or help.... I wanna do a few things and how no clue how... - Create a floor, which is basicly flat and textured, if possible not from a 3D model but just from code. - Have a camera which is locked in an isometric position, looking down at a certain angle onto a defined point. - Have that camera rotate on keypress around that defined point to keep the angle on it. Now I know SOME 3D math, but I have no clue how to set the coordinates for the camera, how to set the angle for the camera, how to make it look towards some point in space. Which functions are used for that and whats the argument list? Or better, where can I look up that information and also for the rest of the API? I pretty much want the setup like in Diablo II, if that helps to visualize what I want, just that the camera can be rotated around the center point. (where the map is centered on) For the floor, I just need some floor so I can see when I move the camera and of course later for the game as a real floor. :P Thx for any help! SkyFlash |