waldemarlima Posted December 20, 2015 Share Posted December 20, 2015 when i call world->Render(); in app::loop , my 3D model show , but dont show my texture in screen ... and when i commend //world->Render(); , my 3D model dont show , but my texture show in screen '-' how i do to show my 3D model and my texture ? screenshot> http://prntscr.com/9gjr8p Quote Link to comment Share on other sites More sharing options...
Rick Posted December 20, 2015 Share Posted December 20, 2015 All your 2D drawing needs to be AFTER your 3D rendering. 3D rendering is rendered to a buffer and then that buffer is drawn on the screen, and then when you do your 2D drawing it'll get draw on top of that. It has to be in this order to work. What's happening with your screenshot is the buffer with the 3D drawing on it is drawing on top of your 2D drawings. So after Render() but before Sync() 1 Quote Link to comment Share on other sites More sharing options...
waldemarlima Posted December 20, 2015 Author Share Posted December 20, 2015 thanks Quote 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.