Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Andrej (Blue Arc) on January 28, 2010, 11:31:18 PM

Title: I have some questions
Post by: Andrej (Blue Arc) on January 28, 2010, 11:31:18 PM
Hello there,

I have some questions. Here they are:

1-) Moving the camera of the scenes by mouse.

2-) Dynamicly blur effects. For example; making the some areas of the scene blured. Like when you focused the area with mouse that area's blur will gone.

3-) Could we import 3D objects and transform them in 3D space? Couse we could import 3D characters and transform them.

4-) Could we use the scenes in a 3D space, for basic camera rotations with short angles?

5-) Could we dynamicly change the opacity and color of the images (objects) in the game?

Thank you for your answers :).
Title: Re: I have some questions
Post by: Mnemonic on January 29, 2010, 12:24:17 PM
WME is not a generic 3D engine, it's geared towards certain scenarios. As such, no, you can't change camera properties, you can only switch to another fixed camera. You can position 3D actors in 3D space, but orientation changes are limited to rotation in one axis. Yes, you can change images opacity using the AlphaColor attribute. Blurring of 3D objects could probably be achieved using shaders.
Title: Re: I have some questions
Post by: Andrej (Blue Arc) on January 29, 2010, 02:08:05 PM
Thank you Mnemonic :)

Could you tell me that it is possible to do camera moving with a cursor?
Title: Re: I have some questions
Post by: Andrej (Blue Arc) on January 29, 2010, 02:27:09 PM
My idea how to achieve this effect is like this:

1. get current x, y coordinates of cursor
2. add some value to x, y
3. use ScollTo method with (Scene.MouseX + Value, Scene.MouseY + Value)

What do you think about this?

EDIT: I have solved this problem:

Scene.SkipTo(Scene.MouseX, Scene.MouseY);

This line of code is inserted in game_loop.script
Title: Re: I have some questions
Post by: Spellbreaker on January 29, 2010, 02:49:27 PM
Since your scenes are pre-rendered, there's no chance to move camera. You can only do 2D Scrolling. No 3D Movement of Camera....