Camera editor

Tools for osRose and osiRose will be placed in here, as well as Rose file formats.

Please PM rl2171 or lmame to get them added to the list.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Camera editor

Postby Juan on Sat Jan 28, 2012 7:26 pm

Yo osrose.

I finished my exams yesterday, and as i have free time i decided to work on my camera editor again.
I don't work anymore on a private server but i need testers, so i decide to give you the "beta" of my tool.
Make mods, watch maps, do whatever you want with it, but test it and report me bugs and give me new ideas to make it better .
Well i hope also that devellopers will use it to make a new login screen for example. As they have client sources, with imagination they can also make smooth motions that show some quest path, that show opponent lair before starting union war, etc..
Motion files in ROSE's client are ".ZMO" and located in 3DDATA/TITLE folder.


Download link : http://uploading.com/files/9e9aa7dm/Camera%2BEditor.7z/

How to use interpolation:
According to wikipedia, interpolation is a method of constructing new points within the range of a discrete set of known data points.
In our case that mean that we are going to contrust new frames from key-frames.
For example, you want to make a camera path that pass through 5 points of view (key-frames).
So :
1) Create a new motion by clicking on this button :
http://imageshack.us/photo/my-images/19 ... rtuto.png/
Now you have 5 new frames (you can add more or delete some of them)

2)Pick up the first frame by clicking on it then click on the free roam camera button.
http://imageshack.us/photo/my-images/53 ... tuto2.png/

3)Now move wherever you want your first frame with WSAD or ZQSD (fuck azerty, qwerty keyboards)

4)After that right-click on this first frame and click one "Set current position"
Now your first key-frame is done, do the same for the 4 others

5)Now let's watch out our camera path :
http://imageshack.us/photo/my-images/71 ... tuto3.png/
You can see your 5 key-frames (blue crosses). As you saw, our camera motion use 30 FPS which mean 30 frame per second.
So now imagine if you want to make a motion that last 5sec you need 5*30 150 key-frames (ouch :s).
Here is where interpolation save us: it'll create for us frames between those 5 key-frames.

6)So now let's interpolate my friends: right click on any frame + click on Interpolation.
Here a clever message box ask on which range you want to apply your interpolation. In our case it'll be from frame 0 to 4.
We have also to fill step. What the hell is step?
Well it's the count of frame you'll put between those key-frames you selected.
So now imagine that you want 1 sec between those key-frames you need to put 30: you remember the 30FPS, so 30 frames for 1 sec .
Okay it's nice, but if we want it slower or faster??? Then put 60 step, so 60/30=2 that mean 2 sec between each key-frames.
Or put 15 step, so 15/30=0.5 and you have now 0.5sec between each key frame. This how you control motion speed.
http://imageshack.us/photo/my-images/83 ... tuto5.png/

Now let's watch the result with 30 step:
http://imageshack.us/photo/my-images/63 ... tuto4.png/
Wow this is so nice, the path is now so smooth.

Next versions will have:
A way to auto-update the program itself when a new version is available
A better way to slow/speed the motion
Undo/Redo
Thanks to exjam,brett,xadets and any other guys that reversed ROSE's files formats.
I would like also to thanks exjam for his open source client and xadet with his map editor, that helped me to understand the HIM format.


I don't give the sources (it's pretty messy atm) , but feel free to decompile them, or pm me if you really want them.

Requirements:
.net framework 3.5
XNA framework 3.0.0
Last edited by Juan on Sat Jan 28, 2012 8:35 pm, edited 4 times in total.
User avatar
Juan
Rackie
Rackie
 
Posts: 219
Joined: Fri Oct 10, 2008 6:25 pm

Re: Camera editor

Postby MightyKai on Sat Jan 28, 2012 7:48 pm

this is Cool thanks

but the download link does not work.


i can't wait to try this
Consultation en ligne viagrasansordonnancefr.com pharmacie de Paris
MightyKai
Antares
Antares
 
Posts: 335
Joined: Mon May 24, 2010 7:34 pm

Re: Camera editor

Postby Juan on Sat Jan 28, 2012 7:55 pm

should be fixed
User avatar
Juan
Rackie
Rackie
 
Posts: 219
Joined: Fri Oct 10, 2008 6:25 pm

Re: Camera editor

Postby MightyKai on Sat Jan 28, 2012 8:32 pm

still not working. sorry
Consultation en ligne viagrasansordonnancefr.com pharmacie de Paris
MightyKai
Antares
Antares
 
Posts: 335
Joined: Mon May 24, 2010 7:34 pm

Re: Camera editor

Postby Juan on Sat Jan 28, 2012 8:36 pm

Ha now it's done. Fuck copy/paste that fuck up links :p
User avatar
Juan
Rackie
Rackie
 
Posts: 219
Joined: Fri Oct 10, 2008 6:25 pm

Re: Camera editor

Postby MightyKai on Sat Jan 28, 2012 8:47 pm

yes it works now thanks


i gonna play with it thanks
Consultation en ligne viagrasansordonnancefr.com pharmacie de Paris
MightyKai
Antares
Antares
 
Posts: 335
Joined: Mon May 24, 2010 7:34 pm

Re: Camera editor

Postby MightyKai on Sun Jan 29, 2012 10:03 am

Is it possible to record the camera movement ?

and add them automatic to te listbox for the position?
Consultation en ligne viagrasansordonnancefr.com pharmacie de Paris
MightyKai
Antares
Antares
 
Posts: 335
Joined: Mon May 24, 2010 7:34 pm

Re: Camera editor

Postby Juan on Sun Jan 29, 2012 10:16 am

yep, the green button is here for that. I didn't implemented it yet. But anyway interpolation is the best way to have a smooth camera.
User avatar
Juan
Rackie
Rackie
 
Posts: 219
Joined: Fri Oct 10, 2008 6:25 pm

Re: Camera editor

Postby cssvb94 on Sun Jan 29, 2012 12:43 pm

Juan,

cool tool man,
I'm very interested of map loading procedure/algorithm, I'll appreciate if you share it.
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: Camera editor

Postby Juan on Sun Jan 29, 2012 5:50 pm

Pm me what you want to know spark :)
User avatar
Juan
Rackie
Rackie
 
Posts: 219
Joined: Fri Oct 10, 2008 6:25 pm

Next

Return to Tools and File Format

Who is online

Users browsing this forum: No registered users and 7 guests