Jump to content

Models on a background image


ZioRed
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...