Mirrors... Is There A Way To...

Blitz3D Forums/Blitz3D Programming/Mirrors... Is There A Way To...

Red Ocktober(Posted 2005) [#1]
... have just a single sided mirror... one that will only 'reflect' from one side ??

thx

--Mike


Braincell(Posted 2005) [#2]
If you mean mirros created using CreateMirror() then you can probably make a plane under it, flip it, put it a small distance under the mirror, and you shouldnt see it.

If thats not what you mean, have a look at stencil mirrors by Tom: http://www.blitzbasic.com/Community/posts.php?topic=40770


Ross C(Posted 2005) [#3]
Or use a fake mirror, by using copyrect to grab the screen and apply it to a texture :o)


BlitzSupport(Posted 2005) [#4]
Try this, unless you mean whole planes, in which case you'll have to test whether you're above or below and show/hide...

http://www.hi-toro.com/blitz/realmirrors.zip


Red Ocktober(Posted 2005) [#5]
thx guys... i'll take a look at all the suggestions...

i picked up Blitz3d again to look at a few things... i'm still chasing that reflective water and being able to just reflect the parts of a boat above the surface...

--Mike


Damien Sturdy(Posted 2005) [#6]
dx7 clipping planes did well, im still to create a demo of this but its not difficult, not perfect either, but take a look into it.

Every time i get home it keeps leaving my mind. oops :)

Hell, i say that so often you lot prolly think i live away frmo home. I'm actually there most of the time, just too busy to do stuff.

Oops, rambling. eyeyey.


Andy(Posted 2005) [#7]
I've moved the code to a thread of it's own.

Apparently it can be done relatively fast, but i'd like to get some feedback.

Andy