nick.ace Posted December 19, 2014 Posted December 19, 2014 I'm trying to get a 3D character to display on top of the screen as part of the HUD (so unaffected by anything in the scene as if it's it's own scene). How could I achieve this effect? Quote
AggrorJorn Posted December 19, 2014 Posted December 19, 2014 I believe there is a material setting called "depth" or something like that which you can use for this. Quote
Guppy Posted December 19, 2014 Posted December 19, 2014 Anything you draw after world->Render() will be drawn ontop of the world - so an alternative approach would be to use the RTT( render to texture ) tutorial and and render the character as a transparent sprite ontop. Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k
Genebris Posted December 19, 2014 Posted December 19, 2014 I have made this with this script form wikidot: http://leadwerks.wikidot.com/wiki:render-to-texture-security-cam Take the texture that this script creates and drw it in the interface. 1 Quote
nick.ace Posted December 19, 2014 Author Posted December 19, 2014 @Aggror: I tried that, and it works to some extent, but when you use a mesh with multiple textures, the textures start cutting through each other. With the character I'm using, the person starts to look like a zombie. @Genebris and Guppy: That looks like it should work. Thanks! I'll test later today. Edit: I tested it, but the game crawls after that. I think I'm just going to take a much simpler route with prerendered images of the characters since this would be quicker and easier to implement. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.