ZioRed Posted April 27, 2010 Share Posted April 27, 2010 What is the right sequence of code to draw a TModel over a background image? I tried to create the model, then call UpdateFramework and RenderFramework and finally using DrawImage (my code is in C#, but the sequence and commands are those), but the result is that only the background texture appears (probably the model resides behind it). Quote ?? FRANCESCO CROCETTI ?? http://skaredcreations.com Link to comment Share on other sites More sharing options...
Joh Posted April 28, 2010 Share Posted April 28, 2010 Well your model will be rendered on RenderFramework so in this case it will behind. Anyway i think it will be always behind as DrawImage probably work in callback.. Quote Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10. Link to comment Share on other sites More sharing options...
Ending Credits Posted April 28, 2010 Share Posted April 28, 2010 YOu can always render the model without Framework, depends what you want to do. Quote AMD Phenom 9850 (X4 2.5GHz) | 1066MHz CL5 GEIL Black Dragon (800MHz) | Powercolor ATI 4870 1GB | DFI 790FXB-M2RSH | 24" 1920x1200 | Windows Vista 64-bit Ultimate Link to comment Share on other sites More sharing options...
ZioRed Posted April 28, 2010 Author Share Posted April 28, 2010 The goal was to create a character selection screen with the model of the actual characters drawed over a background image, but I am actually more attracted in using a scene for that screen instead of a static background and I'm going in that direction now. However I am curios about how to draw an image behind a model and not over it. Quote ?? FRANCESCO CROCETTI ?? http://skaredcreations.com Link to comment Share on other sites More sharing options...
Masterxilo Posted April 30, 2010 Share Posted April 30, 2010 Use a textured plane. Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
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.