Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
4 registered members (AemStones, AndrewAMD, gamers, Kingware), 1,679 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 3
Page 1 of 3 1 2 3
Mirrors in all editions? Here's the trick #61701
01/07/06 16:53
01/07/06 16:53
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline OP
Senior Expert
ulillillia  Offline OP
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
I just thought of an ingenious way to allow for mirrors in all editions, even standard. It does have it's limitations though, but it's much better than a mere screenshot used as a texture and much more accurate. It still won't, however, be like real mirrors, but very considerable. This only works with flat mirrors and not a room filled with them (thus, for a typical bathroom mirror, this would work). Here's the trick:

1. Where a mirrored block would normally be, have an opening that goes into the wall.
2. Recreate the scene that would normally show up in the mirror having depth. Only, scale it down, way down. The smaller the mirror, the smaller the scale should be. Use lower-poly models than those in the scene. Make this replica passable so collision isn't run on it to speed up the engine.
3. For the player, just have a duplicate in this area on the "mirror" and, of course, scaled down accordingly.
4. To prevent weird things from happening, put an invisible barrier right where the mirror would normally be to prevent the player from getting in it. To avoid seeing the "special effect" when in a remote area, make the mirror scene invisible and passable.

Does this work for you? It should work even in standard edition even in very old releases like A5 or A4.

Edit: I haven't tested the trick in Gamestudio, but from running simulations in my mind game, it should certainly work.

Last edited by ulillillia; 01/07/06 16:57.

"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Mirrors in all editions? Here's the trick [Re: ulillillia] #61702
01/07/06 16:59
01/07/06 16:59
Joined: Jan 2005
Posts: 1,918
BagEnd, Hobbiton, The Shire, E...
B
Bilbo Offline
Senior Developer
Bilbo  Offline
Senior Developer
B

Joined: Jan 2005
Posts: 1,918
BagEnd, Hobbiton, The Shire, E...
thes pretty clever but that idea was kind of suggested before for shiney floor surfaces. it suggested making an upsidedown version of the room with collisions and stuff and having the floor slightly transparent =)


http://Lonewolfstudios.syxe.com - now in php! Bah, I'm nerd enough to enjoy the rattling ~ laethyn
Re: Mirrors in all editions? Here's the trick [Re: Bilbo] #61703
01/07/06 17:06
01/07/06 17:06
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline OP
Senior Expert
ulillillia  Offline OP
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
I did a search for "mirror" in this forum, but nothing came up relating to it. It could've been one of those deleted posts. I set the search range to 1 year and it turned up 27 results....


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Mirrors in all editions? Here's the trick [Re: ulillillia] #61704
01/07/06 17:31
01/07/06 17:31
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
There had been already a complete tutorial of that including demolevels. Perhaps, it is at Achnex Resources? - Nope, looked for it. But, there are two others!

Better set search range to "older than".

Even in AUM could be one.

Re: Mirrors in all editions? Here's the trick [Re: ulillillia] #61705
01/07/06 17:45
01/07/06 17:45
Joined: Mar 2005
Posts: 969
ch
Loopix Offline
User
Loopix  Offline
User

Joined: Mar 2005
Posts: 969
ch
Yeah...I still got the tut on my HD...was for A5 written by: Keith Blount AKA Ambit. PM me if I should mail it to you!

Re: Mirrors in all editions? Here's the trick [Re: ulillillia] #61706
01/07/06 18:30
01/07/06 18:30
Joined: Jan 2003
Posts: 1,142
California
Daedelus Offline
Senior Developer
Daedelus  Offline
Senior Developer

Joined: Jan 2003
Posts: 1,142
California


Formula Games - A place to buy and sell Indie games.
Re: Mirrors in all editions? Here's the trick [Re: Daedelus] #61707
01/07/06 19:26
01/07/06 19:26
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
That's it!

OT: Does anyone know where Keith Blount AKA Ambit is?

It is a great loss to have him not around in the community anymore!

Re: Mirrors in all editions? Here's the trick [Re: Pappenheimer] #61708
01/07/06 19:53
01/07/06 19:53
Joined: Jan 2003
Posts: 1,142
California
Daedelus Offline
Senior Developer
Daedelus  Offline
Senior Developer

Joined: Jan 2003
Posts: 1,142
California
I agree. It really is. He's done some pretty great things for us in the past.
Here's a link to one of his homepages:
http://www.rumramruf.com/3dgs/

Last edited by Daedelus; 01/07/06 19:55.

Formula Games - A place to buy and sell Indie games.
Re: Mirrors in all editions? Here's the trick [Re: Pappenheimer] #61709
01/07/06 19:54
01/07/06 19:54
Joined: Oct 2004
Posts: 1,856
TheExpert Offline
Senior Developer
TheExpert  Offline
Senior Developer

Joined: Oct 2004
Posts: 1,856
Don't laught , if the sceen is detailled, you'll have 0.001 FPS ...
No this method is not good ,and use real mirrors is a lot better and
a lot more less CPU consuming.

You want real mirrors use Ogre3D, irrlicht ,TV3D or Torque or another ...

i'll hope Conitec will put render to texture for commercial editions ...
caus it's a such basic 3D thing

Re: Mirrors in all editions? Here's the trick [Re: TheExpert] #61710
01/07/06 20:01
01/07/06 20:01
Joined: Jan 2003
Posts: 1,142
California
Daedelus Offline
Senior Developer
Daedelus  Offline
Senior Developer

Joined: Jan 2003
Posts: 1,142
California
I agree "real" mirrors are best but faking them with the method above if built correctly will not give you as big of a hit as you might think.
Here's a shot of a test level I made a while back using Keith's method:




Formula Games - A place to buy and sell Indie games.
Page 1 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

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