Shard Posted February 23, 2010 Share Posted February 23, 2010 Hey everyone. I'm trying to draw 3D lines in my game world but I don't know if Leadwerks can support that so I was contemplating drawing 2D lines based off of the 3D positions. Does anyone know if I can just draw a 3D line or if I have to take some alternate approach? Also, the reason I'm doing this is to debug my A* grid, which I want to draw on the screen and be able to see the placement and shape of the grid and the block off areas and whatnot by rendering them. Quote Programmer/Engineer/Student www.reikumar.com 2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM C++ - Visual Studio Express - Dark GDK - Leadwerks SDK Link to comment Share on other sites More sharing options...
Canardia Posted February 23, 2010 Share Posted February 23, 2010 Masterxilo has written a function to make it possible to draw 3D lines (and other 3D shapes) mixed with LE's 3D shapes: http://leadwerks.com/werkspace/index.php?/page/resources?record=19 Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ 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.