Game Development Community

Mirrors and reflexions

by James Pulliam · in Constructor · 04/13/2007 (7:34 pm) · 9 replies

Hello,

was wondering if someone could point me in the right direction on how to get the mirror and reflection feature working in the constructor.

i found where it is in the constructor but unsure on how to apply it to a brush. tried it once didn't work.

been figuring most of it out pretty good. but this feature is still throwing me in a loop.

any suggestions?

#1
04/13/2007 (8:31 pm)
Put the entity on the brush face you want to be mirror, make sure entity is touching the face. Save as a map. Close constructor and use map2dif_plus that came with TGE, I use TGE1.5.1 for testing. The map must be convert outside of contructor to work for a mirror. I am not sure about another map2dif, I have not tested them.

Screenshot from TGE 1.5.1
i141.photobucket.com/albums/r72/fuciferTorque/screenshot_001-00001.png
#2
04/13/2007 (9:03 pm)
Ok got it. but ummmmmmm.....

how do you use the map2dif plus that came with torque i see the folder. but all that in it is script files.

ok my bad i see the exe in the main folder now. but when i run it a dos window comes up and closes. how do i set what map needs to be exported or converted over?
#3
04/14/2007 (1:45 am)
Ok got it. thanks works like a charm.

i don't see your reply here, but got it in a e-mail.

got it working without a hitch.

i knew there had to be a simple way of implamenting it. guess i need to get used to the different export styles.

i am sure there are alot of things i am still in need of learning. but i am coming along with it pretty good i think.
#4
04/14/2007 (7:30 am)
I use mapdif_plus with MAP2DIFGUI1.0.0.11.

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4448
#5
04/14/2007 (7:03 pm)
Any particular reason you are doing the map2dif conversion externally to Constructor instead of using the built in exporters?
#6
04/14/2007 (7:51 pm)
Constructor crash when I use the map2dif internally.
#7
04/15/2007 (6:25 pm)
Ok spoke too soon, i did get the mirror and reflextions working on a single brush. however i noticed that the back side of the brush it was applied to became black. was thinking i could resolve that by hiding back with another brush.

however in my attempt to impliment the reflextion onto a floor. it didn't work at all.

instead all i got was a bunch of blackened brushes, and no reflextivness what so ever.

i exported as dif, legacy, and map2_dif plus. legacy and as dif had textures show up, but no reflextion to surface.

map2dif_plus was just blackened in with light spots in areas of brushes. i place the mirror enitity against a small wall section, and that did reflect. but still have problem of rest of interior being blackened in.

even without the mirror enitity the brushes when exporting map2dif_plus are blackened in.

would the plug in you posted above fix this problem?

and is there a reason the reflection isn't working on floor brush?

any ideas?
#8
04/19/2007 (12:49 pm)
I am not having any of these problems. The texture on the back appear normal on my dif. I will test the floor out. Do you have screen shots.
#9
04/20/2007 (6:58 am)
I created a simple build in Constructor but when convert it in Constructor I got the same result as you. Here what I got when I convert it outside Constructor.

Convert with map2dif with MAP2DIFGUI1.0.0.11.

i141.photobucket.com/albums/r72/fuciferTorque/screenshot_001-00002.png
i141.photobucket.com/albums/r72/fuciferTorque/screenshot_001-00001-1.png