|
2 registered members (3run, AndrewAMD),
623
guests, and 1
spider. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: 3D => 2D Look ?
[Re: Espér]
#310326
02/14/10 13:13
02/14/10 13:13
|
Joined: Feb 2009
Posts: 2,154
Damocles_
Expert
|
Expert
Joined: Feb 2009
Posts: 2,154
|
look for the Isometric flag for a view. This flattens the rendering. The view uses an orthogonal projection, rather than a perspective projection. The view frustum is not a cone, but a rectangular area with a size either given by the arc parameter, or by the left, right, bottom, up border parameters . This can be used for isometric games from a bird's view perspective, or for clipping with a rectangular view volume e.g. for PSSM shaders. The distance of the camera to an object does not affect its size on the screen in this mode. A7.60C LC
|
|
|
Re: 3D => 2D Look ?
[Re: muffel]
#310336
02/14/10 13:36
02/14/10 13:36
|
Joined: Mar 2008
Posts: 2,247 Baden Württemberg, Germany
Espér
OP
Expert
|
OP
Expert
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
|
nope.. cause the 2D player ( just a sprite ) moves not at the edge of a block. He moves in the middle of if. Example:  cause the rooms need to have a deep look ( 3D ) i can´t use the ISOMETRIC Flag. and caus the player walks in the middle of a block, i can´t just remove the skin from the not visible parts.. And i can´t use just 2D Panels.. cause the room has to be 3D.
Last edited by Espér; 02/14/10 13:53.
|
|
|
Re: 3D => 2D Look ?
[Re: Espér]
#310345
02/14/10 14:05
02/14/10 14:05
|
Joined: Mar 2006
Posts: 3,538 WA, Australia
JibbSmart
Expert
|
Expert
Joined: Mar 2006
Posts: 3,538
WA, Australia
|
What do you mean by the room needs to have a deep look?
If it's a matter of further away objects looking smaller, use ISOMETRIC but modify the scale and position of objects that need to appear in the background or foreground.
If you need some objects to do as you described and some not, you should have two view: the first renders the sky and anything that needs to have depth. The second uses an ISOMETRIC flag and renders its contents over the top with the NOSKY flag. Of course you'll need to do some tweaking of the camera.arc and whatnot to get it to line up.
Jibb
Formerly known as JulzMighty. I made KarBOOM!
|
|
|
Re: 3D => 2D Look ?
[Re: JibbSmart]
#310354
02/14/10 14:38
02/14/10 14:38
|
Joined: Mar 2008
Posts: 2,247 Baden Württemberg, Germany
Espér
OP
Expert
|
OP
Expert
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
|
ah.. ok.. got it to work with 2 views..
Only problem now..
I manipulated the X/Y/Z Value of the camera ( isometric ).. but.. the distance to the player is always the same... How to make the distance to the player shorter? (sry.. haven´t worked much with Isometric flag)
Last edited by Espér; 02/14/10 14:41.
|
|
|
|