Rekindled Phoenix Posted April 17, 2010 Share Posted April 17, 2010 without using OpenGL commands, is there a way to take the entity Texture and rotate, and draw it to the screen? I'm using LE 2.3 (C# Headers) Quote Link to comment Share on other sites More sharing options...
Masterxilo Posted April 18, 2010 Share Posted April 18, 2010 You mean, drawing a rotated image? No, I don't think that's possible with engine commands, at least not directly in 2D. You could however use an additional overlay world containing a textured plane mesh, and render it's contents over the finished image. Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
Rekindled Phoenix Posted April 19, 2010 Author Share Posted April 19, 2010 Thanks Master, that sounds like an acceptable alternative. Do you think there would be any lag with constantly updating the UV texture on said mesh? (It's going to be a overview map) Quote Link to comment Share on other sites More sharing options...
Masterxilo Posted April 19, 2010 Share Posted April 19, 2010 There is in fact quite noticeable lag when modifying all vertices of meshes in realtime, even when they only have a few hundred polygons/vertices. It won't be that bad for 4 vertices though. I'd rather use opengl drawing routines. Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
Rekindled Phoenix Posted April 22, 2010 Author Share Posted April 22, 2010 I saw your article on drawing with OpenGL routines here: http://leadwerks.com/werkspace/index.php?/page/resources?record=19 How would that be done using the Framework? Would you know how do include the same library using C# / VB syntax? 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.