Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, alibaba, Konsti, 2 invisible), 1,418 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
making the camera VIEW isometric ? #398076
03/27/12 14:14
03/27/12 14:14
Joined: Mar 2011
Posts: 69
Munich (Germany)
LPF Offline OP
Junior Member
LPF  Offline OP
Junior Member

Joined: Mar 2011
Posts: 69
Munich (Germany)
simple Question: (and i hope simple Answer)
how can I get the predefined camera to render everything isometric???

ps: set(camera,ISOMETRIC), didn't work...


..oooO .........
..(....)..Oooo..
...\..(...(....)..
....\_)....)../..
...........(_/...
...ICH WAR....
........HIER....
Re: making the camera VIEW isometric ? [Re: LPF] #398079
03/27/12 14:45
03/27/12 14:45
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
But works fine for me..
where did you call the flag-set?
can we see the code?

as far as i remember, you can use
Code:
camera.flag2 |= ISOMETRIC;

,
too..

But i don't know if that works - did you tried it with a second view?

Last edited by Espér; 03/27/12 14:55.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: making the camera VIEW isometric ? [Re: Espér] #398080
03/27/12 15:32
03/27/12 15:32
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Simply (works, tested):
Code:
set(camera, ISOMETRIC);

Make sure, that you don't reset flag anywhere.
Play with arc, that will change camera distance.
Plus, you should change positions and angles of camera yourself.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: making the camera VIEW isometric ? [Re: 3run] #398151
03/28/12 18:42
03/28/12 18:42
Joined: Mar 2011
Posts: 69
Munich (Germany)
LPF Offline OP
Junior Member
LPF  Offline OP
Junior Member

Joined: Mar 2011
Posts: 69
Munich (Germany)
Everything i do doesn't change anything... set(camera, ISOMETRIC) does nothing, all things with a second view too. I do not reset the camera flags and even in a level with only one small WED block and no functions or actions it keeps on being perspective... maybe it doesn't work with the free version of A8???... here is my code:

Code:
#include <acknex.h>
#include <default.c>

function main()
{

	
	level_load("Testlevel.wmb"); 
	mouse_mode=4;
	
	set(camera,ISOMETRIC);

	wait(2);
}



by the way: It's NOT working...


..oooO .........
..(....)..Oooo..
...\..(...(....)..
....\_)....)../..
...........(_/...
...ICH WAR....
........HIER....
Re: making the camera VIEW isometric ? [Re: LPF] #398153
03/28/12 18:52
03/28/12 18:52
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Indeed, ISOMETRIC is only supported by the Commercial or Pro edition.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: making the camera VIEW isometric ? [Re: Superku] #398155
03/28/12 19:02
03/28/12 19:02
Joined: Mar 2011
Posts: 69
Munich (Germany)
LPF Offline OP
Junior Member
LPF  Offline OP
Junior Member

Joined: Mar 2011
Posts: 69
Munich (Germany)
oh... thanks

What I need is the 2D Projection of an 3D world like the 2D views of med, but rendered normal... is it posible to do that without Commercial,Pro or Extra?

(i'm actually saving money for one of them...)


Last edited by LPF; 03/28/12 19:17.

..oooO .........
..(....)..Oooo..
...\..(...(....)..
....\_)....)../..
...........(_/...
...ICH WAR....
........HIER....
Re: making the camera VIEW isometric ? [Re: LPF] #398240
03/30/12 00:44
03/30/12 00:44
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
Set camera.arc to a very small value, e.g. 5.


no science involved
Re: making the camera VIEW isometric ? [Re: fogman] #398268
03/30/12 13:34
03/30/12 13:34
Joined: Mar 2011
Posts: 69
Munich (Germany)
LPF Offline OP
Junior Member
LPF  Offline OP
Junior Member

Joined: Mar 2011
Posts: 69
Munich (Germany)
thanks... that worked laugh


..oooO .........
..(....)..Oooo..
...\..(...(....)..
....\_)....)../..
...........(_/...
...ICH WAR....
........HIER....
Re: making the camera VIEW isometric ? [Re: LPF] #398270
03/30/12 14:28
03/30/12 14:28
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
and btw if ISOMETRIC is part of flag2, its not possible to use set, as this macro only modifies flag and NOT flag2

PS: where in the manual does it say, that this flag is only for Comercial?

Last edited by Rackscha; 03/30/12 14:29.

MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: making the camera VIEW isometric ? [Re: Rackscha] #398276
03/30/12 15:40
03/30/12 15:40
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Quote:

PS: where in the manual does it say, that this flag is only for Comercial?

Quote:

ISOMETRIC
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; this causes far objects - f.i. the sky - to appear extremely magnified. LC

The "LC" at the end means it is from Comercial above...

Last edited by Widi; 03/30/12 15:40.
Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1