Well, I did the best I could with a search…maybe I’m just a lousy searcher…but I can’t believe this hasn’t been asked before.
I’d like to use the GE for walkthroughs, but use the camera clip function to create “see-throughs” of walls/floors etc. The trick? I’d like a ghost of the walls/clg’s above the clipping plane. I’d hoped to somehow use an IPO to change the RGBs to alpha for simplicity, but I’m lost on how to do that. The other option is to make a copy of the building with an alpha texture in exactly the same location as the opaque building walls, but make the alpha one somehow not subject to the camera clipping, but again, I’m not sure how to do that. (I think a lot of games do this sort of thing - an “x-ray vision” trick - so you can see what’s going on behind objects that occlude player vision, Diablo comes to mind.)
Thanks for your help, and sorry if this is a noob question.
na i could be wrong but diablo just gives you the feel that caves have roofs, i seiously dought that there are anything more than area cover tiles that are removed.
this could be done with multiple objects, and removing nearer objects to the camera from view.
or try adding a second material thats transparent, but i think that will just waist proccessing power
Thanks, facemania! heh, great way to answer a question…post a solution as a .blend.
But, <heavy sigh> after many tries, I just can’t seem to download the file. Grrrr. (I tried to download the Hellkeep demo from a couple posts down, too, but that savefile site just won’t seem to work for me.) I’ll keep trying, could be a bandwidth thing.
OK! So I got it to download, and all was well. So, what ya got there is a scene called “normal” where the active camera lives, and an “overlay” scene that’s called within the game engine that has a copy of the main scene but that has alpha textures. The camera in that scene has a different clipping, so you see both scenes with differing clipping. Cool!
But, um, when I tried the file, fresh off the download, I didn’t see the effect. (Yes, textured view was selected, yes the camera was the view point when I hit p. I hit no other key.) I’ve been playing with the file to try to get it to work, but without luck yet. However: if I did understand the technique correctly, then I’m good to go, and you’ve answered my question, now I just have to get it to function on my computer. Thanks!
Edit: what I see when I start is just the white model, no ghosting effect. I managed to change the clipping of the main camera to give me the “sectional” effect, but the ghosting from the overlay doesn’t appear.
Sorry for not posting the controls for the .blend (I just realised that this morning in the middle of school), just use 1 and 2 turn make it xray on or off.
I have it setup so it always shows the xray secne, but the models in the xray scene are invisible until you press 1 and when you press 2, it makes them invisible again.