Directors Cut Wiki : CameraFiles

DirectorsCutModdingFoundry Categories PageIndex RecentChanges RecentlyCommented Login/Register
Trail: BonePerVertex BusStopWilly CAmelcase4 CadLisp Camel7case CamelCase Camelcase2 CameraFiles

This is the .cam Camera files technical information page.

Template File


//--------------------------------------
//--- 010 Editor v2.1.3 Binary Template
//
// File:	LH_cam
// Author:	Glen Rickey
// Revision:	.02
// Purpose:	To parse LH The Movies .cam files into proper fields
//--------------------------------------

struct {
	int	Magic;
	int	Length;
	int	CamCount; //401
	struct {
		ubyte	fl_1	:1;
		ubyte	fl_2	:1;
		ubyte	fl_3	:1;
		ubyte	fl_4	:1;
		ubyte	fl_5	:1;
		ubyte	fl_6	:1;
		ubyte	fl_7	:1;
		ubyte	fl_8	:1;
	} flag_1;
	ubyte	Unk_2;
	ubyte	Unk_3;
	ubyte	Unk_4;

if(Magic == 0)
	struct {
		float 	camX;
		float 	camY;
		float 	camZ;
		float	targX;
		float	targY;
		float	targZ;
		float	zoom;
	} Cam[CamCount];
else
	struct {
		float 	camX;
		float 	camY;
		float 	camZ;
		float	targX;
		float	targY;
		float	targZ;
		float	zoom;
		short clip1;
		short clip2;
	} Cam_SnE[CamCount];

} cam;

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional Valid CSS Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0167 seconds