Jump to content

Recommended Posts

Posted

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).

?? FRANCESCO CROCETTI ??

http://skaredcreations.com

Posted

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..

Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10.

Posted

YOu can always render the model without Framework, depends what you want to do.

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

Posted

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.

?? FRANCESCO CROCETTI ??

http://skaredcreations.com

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...