tag:blogger.com,1999:blog-5134193773628664366.post6746303171945901564..comments2015-12-02T20:21:04.428-08:00Comments on Antonijn's Game Development: Surprisingly Flawlessantonijnhttp://www.blogger.com/profile/17733637486249458559noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-5134193773628664366.post-59187046020050455232015-10-14T11:21:48.362-07:002015-10-14T11:21:48.362-07:00Hi is there any way to get pencil gaming window to...Hi is there any way to get pencil gaming window to run in a embeded in a winform similar to the opentk control MentalArrayGameshttps://www.blogger.com/profile/05255563393830311019noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-28790592687441416872013-07-22T11:52:40.651-07:002013-07-22T11:52:40.651-07:00After some testing, I find that the GlfwSwapInterv...After some testing, I find that the GlfwSwapInterval function is not working properly. Regardless of (true/false) setting, it does not synchronize to monitor refresh rate on some computer and completely opposite on other computer. Because of this, I could not get smooth animation without hammering the CPU or GPU or both, or choppy timing code.Anonymoushttps://www.blogger.com/profile/05631638228319721918noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-68654525522199838072013-07-17T03:28:01.319-07:002013-07-17T03:28:01.319-07:00Answer: You wouldn't have access in native GLF...Answer: You wouldn't have access in native GLFW either, that would cripple the cross-platformness.<br /><br />And yes, it is correct that opengl resources are per-context.antonijnhttps://www.blogger.com/profile/17733637486249458559noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-12259647749598690762013-07-17T02:28:24.345-07:002013-07-17T02:28:24.345-07:00Well, I downloaded the latest code and I no longer...Well, I downloaded the latest code and I no longer get the null error when calling the function:<br /><br /> video = Glfw.GetVideoMode( monitor );<br /><br />Anyhow, I've added QuickFont to the project and everything seems to work.<br />--> Download your GitHub-Pencil.Gaming-master solution. <br />--> Download my mods @ http://www.perfectionstudio.com (antonj)<br />--> Extract and overwrite your master solution...everything should work.<br /><br />What I did was:<br />1. Changed the solution from class library to Application (for testing)<br />2. Added two files to the BIN folder (times.ttf and dahlia.png)<br />3. Added an Application folder with program.cs (test-code)<br />4. Added a QuickFont folder with all its code (modified a little bit)<br />5. Change the build settings to include FULL Debug data (optional)<br /><br />Question: How can I make use of the monitor/video/window structure as it doesn't have access to the native structure? <br /><br />When I tried to render to a second window/context, opengl doesn't seem to share the texture/resources to the second window...it that correct?<br /><br />Anonymoushttps://www.blogger.com/profile/05631638228319721918noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-23400974926248872172013-07-16T05:35:36.234-07:002013-07-16T05:35:36.234-07:00If you'd be so kind to provide a pastebin or s...If you'd be so kind to provide a pastebin or something to your code then that would be nice. You need to understand that I simply can't work out whether it's my fault or your fault from these claims alone.antonijnhttps://www.blogger.com/profile/17733637486249458559noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-71796971357236202022013-07-15T16:31:46.485-07:002013-07-15T16:31:46.485-07:00I am still playing with the 64bitWindows version.
...I am still playing with the 64bitWindows version.<br /><br />I'm still get NULL error on Glfw.GetVideoMode( monitor ). Also, the Gl.SwapInterval(T/F) seems to not work either, it is rendering at full speed.<br /><br />I'm going to get the QuickFont texting rendering extension from OpenTK to work with Pencil.Gaming(Compatibility Mode).peepshttps://www.blogger.com/profile/06059449996637330289noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-79904136021947776052013-07-09T02:19:31.667-07:002013-07-09T02:19:31.667-07:00I've tested your lib on 64bit windows 7. So fa...I've tested your lib on 64bit windows 7. So far 64bit works. There is an error(delegate) when getting the video mode out of the monitor struct.<br /><br />monitor = Glfw.GetPrimaryMonitor();<br /><br />video = Glfw.GetVideoMode( monitor ); /// ERROR NULL<br /><br />win = Glfw.CreateWindow( 1024, 768, "Testing", GlfwMonitorPtr.Null, GlfwWindowPtr.Null );<br /><br />Good work btwAnonymoushttps://www.blogger.com/profile/05631638228319721918noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-63273613829365846492013-05-18T10:28:31.324-07:002013-05-18T10:28:31.324-07:00Hey Peter,
Things are going fine. The GLFW2 versi...Hey Peter,<br /><br />Things are going fine. The GLFW2 version works great on all platforms afaik. As for the GLFW3 version, I've decided to postpone work on that until the first version of GLFW3 actually comes out. Since most development on GLFW3 is finished, I don't expect this to take long, but the current versions are a real pain to get working.antonijnhttps://www.blogger.com/profile/17733637486249458559noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-29918490091334190202013-05-17T11:18:33.541-07:002013-05-17T11:18:33.541-07:00Hi Antonijn,
How are things going with this proje...Hi Antonijn,<br /><br />How are things going with this project? I really want to start developing a large NET application with this wrapper, but not being able to working with GLFW3 and x64 on Windows makes me reconsider using this at all. The x32 wrapper works, but I will only use x64. Anyway I understand that you are probably very busy with school so I'll wait.Anonymoushttps://www.blogger.com/profile/05631638228319721918noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-84851331501289495982013-04-25T11:37:22.887-07:002013-04-25T11:37:22.887-07:00There are no significant changes in the API, it...There are no significant changes in the API, it's just not backwards compatible (the Gl class has been renamed GL and Al has been renamed AL).<br /><br />There is no change in creating windows (the Glfw class has been left intact).antonijnhttps://www.blogger.com/profile/17733637486249458559noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-91609795104890109802013-04-25T06:57:57.080-07:002013-04-25T06:57:57.080-07:00According to the latest release there are signific...According to the latest release there are significant changes in the API, is there an example how to initialize a Window context?constantinehttps://www.blogger.com/profile/12714938303120832151noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-38737122231496801412013-03-13T17:30:09.449-07:002013-03-13T17:30:09.449-07:00Here is a benchmark just to make things interestin...Here is a benchmark just to make things interesting!<br />http://constyspace.blogspot.gr/2013/03/simple-pencilgaming-benchmark.html<br /><br />constantinehttps://www.blogger.com/profile/12714938303120832151noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-83890651451927659272013-03-11T10:45:08.208-07:002013-03-11T10:45:08.208-07:00No problem, feel free to change them as you need. ...No problem, feel free to change them as you need. They are just a rough translation from the ones written in c++.<br /><br />Im almost done with number 8!j0g3https://www.blogger.com/profile/08282363966670712799noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-64772444396036323152013-03-11T09:40:44.679-07:002013-03-11T09:40:44.679-07:00Thanks for the tutorials! I might add them to the ...Thanks for the tutorials! I might add them to the official repository (which has moved btw, it's now "https://github.com/antonijn/Pencil.Gaming"). If I do, I will change around your code a bit, to make it a bit more... erm... readable (no offense :) ).<br /><br />Also, *it's :Pantonijnhttps://www.blogger.com/profile/17733637486249458559noreply@blogger.comtag:blogger.com,1999:blog-5134193773628664366.post-35549823954471683862013-03-11T01:37:15.503-07:002013-03-11T01:37:15.503-07:00Here you have some tutorials following the first t...Here you have some tutorials following the first three from http://www.opengl-tutorial.org using Pencil.Gaming.<br /><br />Link: https://mega.co.nz/#!Il9E2SYC!c07gSx5ZJ02Xw4tJQjrT1xp2g49Lap4E59g-pn7hVjU<br /><br />Now its really easy to follow c++ tutorials and write your code in c#!!!<br /><br />I'll try to complete with all Basic tutorials during this week.<br /><br />Keep the good work!!!j0g3https://www.blogger.com/profile/08282363966670712799noreply@blogger.com