Camera Director & Fixed Point Cameras
-
- Bounty Hunter
- Posts: 152
- Joined: Sun Jul 28, 2013 12:16 am
- Location: Los Angeles, CA, USA
Camera Director & Fixed Point Cameras
I'm not sure if these two features have been talked about before or not, but I think it would really make game play visual interesting.
Fixed Point Camera view, when you switch to those view, this camera is placed about 2 seconds in front of your starship and stays fixed at that point as you fly by it (it's a fly by camera). This won't work if you are not moving and may have issues if you are flying FTL.
The camera is repositioned every 5 seconds in front of your flight path (just off to the side a bit).
Another idea would be a Camera Director more, or DP mode, where, whenever something happens such as someone firing a missile at you, a missile about to hit you, or you fire a missile, the view automatically switches to the above Fixed Point Camera relative to the missile.
You can switch this mode on/off.
I noticed this is automatically done when your starship is destroyed.
Fixed Point Camera view, when you switch to those view, this camera is placed about 2 seconds in front of your starship and stays fixed at that point as you fly by it (it's a fly by camera). This won't work if you are not moving and may have issues if you are flying FTL.
The camera is repositioned every 5 seconds in front of your flight path (just off to the side a bit).
Another idea would be a Camera Director more, or DP mode, where, whenever something happens such as someone firing a missile at you, a missile about to hit you, or you fire a missile, the view automatically switches to the above Fixed Point Camera relative to the missile.
You can switch this mode on/off.
I noticed this is automatically done when your starship is destroyed.
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Re: Camera Director & Fixed Point Cameras
Have a close look at all the views that currently available and play with the camera controls(they exist)most of what you want is already there.What I'm interested in is a way of recording that camera stream so we can do some cut scenes and videos of in game effects also as a animation platform.
Enjoy the Choice
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Intrepid Venturer
- Posts: 703
- Joined: Tue Feb 11, 2014 12:47 am
- Location: FRANCE
- Contact:
Re: Camera Director & Fixed Point Cameras
very good idea !is a way of recording that camera stream so we can do some cut scenes and videos of in game effects also as a animation platform.
I'm working in the rendering system actually , i will so have a look in the camera system .
You think at a kind of replay system ?
We could use interpolated datas , but i need to learn how it's traditionally done .
Code: Select all
if (!track.HasWeapons())
{
// So what are you going to threaten me with? Exhaustion gas?
return ThreatLevel::None;
}
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Camera Director & Fixed Point Cameras
More than recording, I'd say scripting.
And more than camera positions, I'd say everything positions.
That's what takes to have cutscenes I believe.
And more than camera positions, I'd say everything positions.
That's what takes to have cutscenes I believe.
-
- Intrepid Venturer
- Posts: 703
- Joined: Tue Feb 11, 2014 12:47 am
- Location: FRANCE
- Contact:
Re: Camera Director & Fixed Point Cameras
yeah , that was what i said , about interpolation .More than recording, I'd say scripting.
And more than camera positions, I'd say everything positions.
For all the elements of the scene ( or within the camera frustrum for optimization ) ,
keep track of their mooves , starting from time t 1 to t end .
t1 is when you press record , t end when you press stop .
Every time one unit change one of it's values , it's recorded as a key frame .
http://wiki.blender.org/index.php/Doc:2 ... ph/FCurves
The data is then recorded to file ( in which format i don't know yet ) .
But a lot of python scripts are to be found in the blender sources :
http://blenderscripting.blogspot.fr/201 ... ender.html
also in Opengl tutorials :
http://content.gpwiki.org/index.php/Ope ... #Animating
Code: Select all
if (!track.HasWeapons())
{
// So what are you going to threaten me with? Exhaustion gas?
return ThreatLevel::None;
}
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Re: Camera Director & Fixed Point Cameras
As for the file container that would depend on which library we use ffmpeg seems to be the best fit as IIRC klauss has tried to add that functionality before not sure how far he got though you may find some clues in the Quake engine as it is now Open Source.And there may be some code stubs from klauss's attempt .
Enjoy the Choice
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Camera Director & Fixed Point Cameras
We have a lot of support for ffmpeg. Basically, if compiled in, you can reference any video file from a texture or python and play it.
But... I don't think this relates to ffmpeg. It's not video or audio, it's metadata, keyframes.
I think we need to support some of the standard formats out there, and somehow tie them into the engine.
But... I don't think this relates to ffmpeg. It's not video or audio, it's metadata, keyframes.
I think we need to support some of the standard formats out there, and somehow tie them into the engine.
-
- Intrepid Venturer
- Posts: 703
- Joined: Tue Feb 11, 2014 12:47 am
- Location: FRANCE
- Contact:
Re: Camera Director & Fixed Point Cameras
yep !I think we need to support some of the standard formats out there, and somehow tie them into the engine.
I war 1 was using keyframing and interpolation to dock the vessels , with an external camera view . That was very good , immersive . And video streaming for the jumps etc ...
[youtube]http://youtu.be/kyh_WwLu44E?t=8m24s[/youtube]
" Privateer remake " use the .avi format for the introduction video if my memory is good .
Last edited by ezee on Wed Feb 26, 2014 1:22 am, edited 1 time in total.
Code: Select all
if (!track.HasWeapons())
{
// So what are you going to threaten me with? Exhaustion gas?
return ThreatLevel::None;
}
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Camera Director & Fixed Point Cameras
Just to be clear, I'm talking about scene formats, that specify position and keyframe-based animation of objects, where objects are units (or otherwise VS meshes).
Ie: I'm not saying VS should render any blender file in-engine. Just a scene description in standard format that specifies how to place and animate both cameras, lights and units.
Ie: I'm not saying VS should render any blender file in-engine. Just a scene description in standard format that specifies how to place and animate both cameras, lights and units.
-
- Intrepid Venturer
- Posts: 703
- Joined: Tue Feb 11, 2014 12:47 am
- Location: FRANCE
- Contact:
Re: Camera Director & Fixed Point Cameras
of course !I'm not saying VS should render any blender file in-engine.
but a good example of script is something that i never refuse , and blender has a lot of python scripts .
while c++ should be used here for that kindof animation system :
http://amazingretardo.simiansoftwerks.c ... on-system/
Code: Select all
if (!track.HasWeapons())
{
// So what are you going to threaten me with? Exhaustion gas?
return ThreatLevel::None;
}
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
-
- Bounty Hunter
- Posts: 152
- Joined: Sun Jul 28, 2013 12:16 am
- Location: Los Angeles, CA, USA
Re: Camera Director & Fixed Point Cameras
I'm not sure which key switches to the fixed camera?
In my vegastrike.config I have:
In my vegastrike.config I have:
Code: Select all
<bind key="M" modifier="none" command="Cockpit::NavScreen"/>
<bind key="1" modifier="none" command="Cockpit::Inside"/>
<bind key="2" modifier="none" command="Cockpit::InsideLeft"/>
<bind key="3" modifier="none" command="Cockpit::InsideRight"/>
<bind key="4" modifier="none" command="Cockpit::InsideBack"/>
<bind key="5" modifier="none" command="Cockpit::Behind"/>
<bind key="6" modifier="none" command="Cockpit::Pan"/>
<bind key="7" modifier="none" command="Cockpit::ViewTarget"/>
<bind key="8" modifier="none" command="Cockpit::PanTarget"/>
<bind key="9" modifier="none" command="Cockpit::ZoomIn"/>
<bind key="0" modifier="none" command="Cockpit::ZoomOut"/>
<bind key="0" modifier="ctrl" command="Cockpit::OutsideTarget"/>
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Camera Director & Fixed Point Cameras
Actually, it's got a weird name, something related to auto pilot. (cuz it's the camera type Privateer's autopilot uses)