View Full Version : Question about mirrors
22nd Mar 2010, 05:31 PM
hey guys, I have mastered making most kinds of objects and I wanted to create a mirror today, I cloned the reflective glass mirror.
The Problem is, I dont know where the reflective glass needs to be placed, so that it will be in my frame. If I place it where I want to be it ends up somewhere else...the original is the same way, meaning the reflective glass is not where it will end up in game...didnt find any tuts either, Please someone help me :(
22nd Mar 2010, 10:57 PM
That's because the frame subset (mirrorvalue_frame) and the reflecting glass subset (simple_mirror_reflection) are somewhat deferred. The reflecting glass is about 0.5 lower on the Y axis than the frame. Try to pull both - original - subsets up at the same time in MilkShape (or whatever 3D program you're using) and you'll see the difference.
The solution is to lower your glass with about 0.5 before importing it and then make any possible minor adjustments to the height after checking the placement in game.
Hope this helps. :)
22nd Mar 2010, 11:34 PM
"The solution is to lower your glass with about 0.5 before importing it"
I dont really know what exactly you mean by this?(edit: I guess I DO know,lol...in 3d I change the height with absolute commands, right?) But I will try to adjust the placement in my 3d programm as you said ( i use wings 3d mostly). How about the width? Is it the same thing?
Can you also tell me what to do with the bounding box thing, that the mirror has?
Thank you so much, I hope I can master it!
23rd Mar 2010, 09:34 AM
Here's what it looks like when you pull the original meshes up in MilkShape (I'm not familiar with Wings, so I can't help you there).
As you can see the reflecting glass subset is placed lower than the frame subset - 0.5 lower on the Y axis actually. You need to make the same with your own meshes. The glass subset has to be 0.5 lower than the frame subset. The width and the depth should be the same.
You shouldn't need to do anything to the bounding box.
23rd Mar 2010, 09:40 PM
Thanks a bunch for your help! :)
24th Mar 2010, 09:19 AM
You're welcome. Hope you get it sorted out.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.