Rick Posted February 18, 2015 Share Posted February 18, 2015 Shadmar was able to create a thief like light detection but had to make a custom exe in C++ to expose GetPixels(). Can we get this functionality exposed by default with LE so everyone can enjoy this system? http://www.leadwerks.com/werkspace/topic/11991-csg-shape-to-mimic-light/ 1 Quote Link to comment Share on other sites More sharing options...
AnthonyPython Posted February 18, 2015 Share Posted February 18, 2015 Shadmar was able to create a thief like light detection but had to make a custom exe in C++ to expose GetPixels(). Can we get this functionality exposed by default with LE so everyone can enjoy this system? http://www.leadwerks.com/werkspace/topic/11991-csg-shape-to-mimic-light/ agree this would be great to have Quote OS: Windows 10 Pro CPU: i3-10100 CPU @ 3.60GHz GPU: NVIDIA 2060 Super - 8 GB RAM: 32 GB Link to comment Share on other sites More sharing options...
shadmar Posted February 18, 2015 Share Posted February 18, 2015 ...or just a better way to detect light, you're exposed to, my way is really a long way to go. Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Rick Posted February 18, 2015 Author Share Posted February 18, 2015 Yeah that would probably be the ideal, but a quick win or low hanging fruit, or other corporate jargon would be to just expose GetPixels() 1 Quote Link to comment Share on other sites More sharing options...
YouGroove Posted February 18, 2015 Share Posted February 18, 2015 What can be the other uses of such function ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Josh Posted February 19, 2015 Share Posted February 19, 2015 GetPixels uses a memory pointer, which Lua does not support. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted February 19, 2015 Author Share Posted February 19, 2015 The idea with that is basically an array of char right? Can't you just have that be a table in Lua and do the translation of the table to char* and back? So GetPixel() will return a table that is acting as an array, and SetPixel() takes the lua table as an argument and inside the C++ code it converts that table to char* and calls the C++ version of SetPixel(). It may not be a direct translation from C++ but it can still look like it's working the same way from the users end. Quote Link to comment Share on other sites More sharing options...
Josh Posted February 19, 2015 Share Posted February 19, 2015 I didn't run Shadmar's project, but what does it actually do? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Averice Posted February 19, 2015 Share Posted February 19, 2015 I haven't run it either but by the sounds of it they're talking about some sort of visibility meter that knows when you're being lit up by a light source. Quote Link to comment Share on other sites More sharing options...
AnthonyPython Posted February 19, 2015 Share Posted February 19, 2015 I didn't run Shadmar's project, but what does it actually do? the whole darkness/light stuff like how thief was done. Quote OS: Windows 10 Pro CPU: i3-10100 CPU @ 3.60GHz GPU: NVIDIA 2060 Super - 8 GB RAM: 32 GB Link to comment Share on other sites More sharing options...
shadmar Posted February 19, 2015 Share Posted February 19, 2015 Never played Theif, but Styx was nice. Also splinter cell games back in the days. 2 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
AnthonyPython Posted February 19, 2015 Share Posted February 19, 2015 Never played Theif, but Styx was nice. Also splinter cell games back in the days. you should play Thief at some point, it's a good game if you like stealth Quote OS: Windows 10 Pro CPU: i3-10100 CPU @ 3.60GHz GPU: NVIDIA 2060 Super - 8 GB RAM: 32 GB Link to comment Share on other sites More sharing options...
gamecreator Posted February 19, 2015 Share Posted February 19, 2015 Dishonored is also a must on the stealth gaming list. Assassin's Creed also. Quote Link to comment Share on other sites More sharing options...
AnthonyPython Posted February 20, 2015 Share Posted February 20, 2015 Dishonored is also a must on the stealth gaming list. Assassin's Creed also. Both are great Loved them Quote OS: Windows 10 Pro CPU: i3-10100 CPU @ 3.60GHz GPU: NVIDIA 2060 Super - 8 GB RAM: 32 GB 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.