About Store Forum Documentation Contact



Post Reply 
hi,a question,please give a little tips!
Author Message
lovee Offline
Member

Post: #1
hi,a question,please give a little tips!
How to achieve a similar in 3dmark06 multiple camera "Auto Play" Realtime Render?

1.I have in 3DSMAX created five box obj and set up their own animation path.

2.Into EE I set 5 Cam obj and use CAM_ATTACH_CHR were attached to the 5 box obj

3.In code

Bool Update()
{
//...............
Cam1();
Cam2();
Cam3();
Cam4();
Cam5();
//...............
}

The above ideas are correct?
please give a little tips!
thank you very much!
03-06-2010 10:46 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: hi,a question,please give a little tips!
Hello,

I don't quite understand what you're trying to achieve.

just have 5 cameras?

then:
Camera cam[5];
03-06-2010 01:44 PM
Find all posts by this user Quote this message in a reply
lovee Offline
Member

Post: #3
RE: hi,a question,please give a little tips!
sorry my friend,my English is really bad.

Usually,in 3DGAME APP we press 'W' key or other key move camera Forward or other Behavior,but in 3DMARK06 benchmark we don't press any key the camera can auto real time render graphic animation.

i want to know how to achieve same function in EE.

(A similar application: Call Of Pripyat Benchmark,we don't press any key that can auto real time render graphic animation)

please give a little tips!
thank you very much!
(This post was last modified: 03-06-2010 04:10 PM by lovee.)
03-06-2010 04:10 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #4
RE: hi,a question,please give a little tips!
Maybe join camera with EDIT:Waypoints xD which you can create in world editor, but it isn't very good solution because I don't have any sensible idea what's with camera rotation.
(This post was last modified: 03-07-2010 12:03 PM by Harry.)
03-06-2010 04:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #5
RE: hi,a question,please give a little tips!
ah. I understand
you want a camera to smoothly travel?
you can have a set of points
Vec point[]
and then interpolate camera positions using Lerp4


Cam.setSpherical( Lerp4(point[a],...), Lerp4(angles,..)
03-06-2010 04:41 PM
Find all posts by this user Quote this message in a reply
lovee Offline
Member

Post: #6
RE: hi,a question,please give a little tips!
hi,my friend,help a more!

I do not quite understand->"you can have a set of points"
1.use world editor waypoint?
(use waypoint properties values to identify that path is to do?)
2.How to understand the use of ping-pong in waypoint properties?
(i see "Waypoint is a ping-pong path (for example 0, 1, 2, 1, 0, 1, ..)" =>0,1,2,1,0,1,2,1,0,1,2,1?)

please give a little tips!
thank you very much!
(This post was last modified: 03-07-2010 08:35 AM by lovee.)
03-07-2010 08:30 AM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #7
RE: hi,a question,please give a little tips!
Vec point[]=
{
Vec(0,0,0.0), // start camera position
Vec(0,0,0.3), // second point
Vec(0,0,0.6), // third point
// etc.
};

I think that Esenthel means sth like that ^
1. It's only my proposition. I saw this method on one application made by Seba and it looks nice. You only need to write code which changes angle of the camera, but I think that Esenthel solution is easier smile
2. Yes smile Like ping-pong ball from one side of the table to another.
(This post was last modified: 03-07-2010 10:24 AM by Harry.)
03-07-2010 10:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #8
RE: hi,a question,please give a little tips!
1. yes instead a manually coded array of points you can use a single Waypoint, and access its points
2. the path is infinite, goes from start to end, then from end to start, and repeats all over again
03-07-2010 03:49 PM
Find all posts by this user Quote this message in a reply
lovee Offline
Member

Post: #9
RE: hi,a question,please give a little tips!
thank you very much!
03-08-2010 04:29 AM
Find all posts by this user Quote this message in a reply
Post Reply