Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 03 Jun 2011
Offline Last Active Private

#5147185 Opinions needed

Posted by on 15 April 2014 - 01:48 PM

I vote for DX11 you wont get better performance on PC. Thinking about OpenGL... Well... It is very... abstract as a library... And to tell the truth OpenGL always was just a copy of DX functionality. So GO GO GO DirectX11.

#5140397 DirectX11 and Direct2D interoperability problem

Posted by on 19 March 2014 - 01:38 PM

Found what was wrong... I had to intialize render target with specific pixel format... In my case that was D2D1::PixelFormat(DXGI_FORMAT_R8G8B8A8_UNORM, D2D1_ALPHA_MODE_PREMULTIPLIED)


Hope this helps for people like me :D

#5136697 Cannot connect two computers

Posted by on 05 March 2014 - 10:57 PM

Well, I'm a bit confused. Do you need to bind server to some external IP? I thought that server uses IP of the host computer, and you need to use that when connecting.


Also SDK precompiled demos would have done this if that was so fundamental, but they didn't work either.


Finally, I prefer UDP, but I think I could do with TCP too, so in the mean time I'll try the TCP protocol. But still this question is very important to me, so if you have suggestions I would be very gratefull to hear them.


And I would also like to point out that I use C++.

#5136587 Cannot connect two computers

Posted by on 05 March 2014 - 02:27 PM

Hello everyone,


I'm currently learning to work with high-level game networking libraries. Problem is that I can't connect two computers. When I use local host( it works perfectly. I've tried disabling firewall and open ports, but that didn't make any good. 


I've tried ENet, OpenPlay, and SFML libraries but they all can't connect.

Please help ! biggrin.png


OS: Windows 8.1 x64bit (I think the problem will be related to the OS as I hate it biggrin.png)

#5086473 Looking for fast c++ math library

Posted by on 16 August 2013 - 07:50 AM



I'm making real-geometry grass class for my engine and at the certain point I need to calculate spectators distance to each grass array. The problem is that when I implement standart c++ functions like sqrt and pow for the distance calculation the engine can render 10 times less grass than without it.


Is there any lightning fast c++ math library that can do basic square root and power functions ?


Thanks in advance :D

#4819340 Need help on WinAPI and DirectX

Posted by on 04 June 2011 - 01:05 AM

Hello everyone, first of all I would like to tell my story of entering the world of programming or it would be more accurate to say game programming. So Im quite familiar with computers since very young days. Everybody thought that Im really good at computers, but I didn't pay attention and continued just gaming. But due my computer age I couldn't play games like real gamers could. It was computer which lagged DirectX 9 games on worst configurations and so was even with DirectX 7. Last year I bought almost every new part for my computer and was very happy (Well who wouldn't because now my computer can render DirectX 11 graphics on mid configurations). So then I started gaming a lot. I played really good games like honest Crysis , Crysis warhead , Crysis 2, Call of juarez: Bound In Blood , S.T.A.L.K.E.R all three parts , Battlefield bad company , Prototype , Split second and more very impressive games. However sometimes I played STUPID POP games like Call of Duty , CSS - Counter Strike Source and worst RS - Rune Scape. Runescape I think was the biggest mistake in my whole gaming life or the best way to find myself in computer world, who knows... So I had an account 81lvl 91 firemaking and little skilly levels risen good. But after No Trade Limit and Wild Back update Runescape started being very dynamic game. Scammers were on every corner so I was scammed too (I think if there is one people who isn't scammer and wasn't scammed). So I quit the game giving my friend everything i got (Maybe some time later I would gave him my 60m but because of scamm I could give him just 10mils). But that was the kick who put me in the place. I realized that I could make the way better game than these POP's and especially Rune Scape. So i grabbed first programming language that i could understand. It was Dark Basic Professional but that was more English dictionary that programming language but it gave me good start in game programming - understanding how things work. But when I started looking in 3D abilities in there I realized that I need to move on to the real programming languages. I started c++. It was really easy to understand C topics but classes is my headache till now. However the problem was when I tried to step one step further believing that I will understand classes when the time comes.So I tried to start WinAPI it is really insane API but I can't say that I am C++ programer before I realise how that Chaos oh sorry - WinAPI works. Funny but for one lunatic on internet it looks elegant. However after my depression of my black sheep sindrom, I have tried my luck in DirectX. I heard that new DirectX 11 is really easy to program so I started looking for that information source (don't think I didn't pay attention at older directX'es I even tried DirectX 8.1) but that was no use too i got more depressed and due this misunderstanding of these API's I started live just with my computer - almost quit walking to my friends, go fishing, riding motorcycle and lot of great stuff. So now I have WinAPI reference book because it helped most for me but i still cant make the button in the window (why I am so lame ??? - rhetorical question). It is handles - I cant understand them - HANDLE of window, HANDLE of button, What the f*** the button as I understand is a window (because to create button you need CreateWindow function) ??? Well I beg you people for help. I have tried to write in msdn.com forums but they sent me to f*** myself (exaggerated expression) and I heard that here I can get help from real game developers (oh, how I want to be in Your - game developer - place. Sometimes i think that They underestimate their abilities...). However I told You my story now You know what are my abilities (lame) and maybe you know something could help me. I will appreciate every site, book, ebook - everything you can share like one very intelligent programmer said Without sharing there would be no games and programming. Thank you for Your time and help,