代码搜索结果
找到约 4,589 项符合
Camera 的代码
readme1.txt
该程序完成了用模拟的图像点计算基本矩阵
1. <mark>camera</mark> 生成摄像机矩阵函数
2.solution SVD求解f函数
3.plotobject 画立方体函数
4.model 生成立方体8个点的坐标矩阵
5.imposition 由三维空间点X和摄像机矩阵P计算图象点并奇次化
6.estF 估计基本矩阵主函数
主函数需要修改的参数如下:
第7行的两个模 ...
camera.h
/*************************************************************************
* This head file is for 3D scene script. We will define a scene class *
* with some light and camera and models.
camera.h
#ifndef __CAMERA_H
#define __CAMERA_H
#define WIN32_LEAN_AND_MEAN
#define WIN32_EXTRA_LEAN
#include
#include
#include
#include "vector.h"
class COb
rocket.h
#ifndef __ROCKET_H
#define __ROCKET_H
#include "explosion.h"
#include "terrain.h"
#include "player.h"
#include "camera.h"
#include "object.h"
#include "vector.h"
class CRocket : public C
player.cpp
#include "player.h"
void CPlayer::FireWeapon()
{
CRocket *newRocket = new CRocket;
newRocket->pitch = camera->pitch;
newRocket->direction = direction;
newRocket->position = position;
n
camera.cpp
#include "camera.h"
#include "object.h"
CCamera::CCamera()
{
position = CVector(0.0, 0.0, 0.0);
lookAt = CVector(0.0, 0.0, 1.0);
forward = lookAt;
up = CVector(0.0, 1.0, 0.0);
right =
player.h
#ifndef __PLAYER_H
#define __PLAYER_H
#include
#include "audiosystem.h"
#include "sod.h"
#include "ogro.h"
#include "rocket.h"
#include "camera.h"
#include "object.h"
#includ
engine.cpp
#define WIN32_LEAN_AND_MEAN
#define WIN32_EXTRA_LEAN
#include
#include "engine.h"
#include "HiResTimer.h"
#include "camera.h"
#include "world.h"
void CEngine::CheckInput(float
object.h
#ifndef __OBJECT_H
#define __OBJECT_H
#include "tree.h"
#include "vector.h"
#include "camera.h"
class CObject : public CNode
{
protected:
// perform basic physics on the object
cameramanager.h
/*
CameraManager. Controls cellphone camera.
This code is a derivative work of the SnapShot example
application distributed with the Symbian 6.0 SDK.
Copyright (C) 2006 Jon A. Webb
This p