Jump to content

  • Log In with Google      Sign In   
  • Create Account


Waaayoff

Member Since 11 Sep 2009
Offline Last Active Apr 16 2014 05:04 AM
-----

Topics I've Started

How hard is it to get a programming job as an energy engineer?

13 December 2013 - 05:47 AM

I'm currently doing my bachelor's in energy engineering. I'm doing pretty good (2nd in my class) but i just don't like it. I have 3+ years of programming experience but i haven't finished any projects, which is obviously stupid of me. If i do build a portfolio, how hard is it to get into professional game programming without a degree in CS?

 

I think my problem is doubled by the fact that i live in Jordan where the game industry is nonexistent, making it very difficult to obtain the work experience i presume is needed for a work permit in another country.

 

Thoughts?


Storing value across two texture channels?

30 October 2013 - 01:13 PM

I want to have an R8G8B8A8 texture where 2 channels hold IDs and i want the last 2 channels to hold a weight. How do i do that? 


When the class name is the same as its instance...

25 October 2013 - 11:10 AM

I run into this problem a lot. Sometimes a class's name is very simple. Like Renderer, Terrain, Brush, etc... Now you want to have an instance of that. What makes it harder for me is that i use upper camel case for members!

 

Suggestions?


How often do you revisit your hacky solutions or "ToFix" comments?

17 October 2013 - 07:10 AM

I was just looking at some (working) code that i wrote a couple of years ago that's buried deep in my rendering engine. There was quite a few of these "solutions" that i completely forgot about. I found it pretty funny that i wrote before a particular hacky solution: "Dirty hack... fix later".


How to use PeekMessage with wxWidgets?

27 September 2013 - 07:25 AM

I can't find a solution anywhere... Currently i have the following:

if(!wxEntryStart(hInstance, hPrevInstance, lpCmdLine, nCmdShow ))
	{
		return -1;
	}

	wxTheApp->CallOnInit();

	MSG msg;

	while (true)
	{
		if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
		{
			if(msg.message == WM_QUIT) break;
			
			TranslateMessage(&msg);
			DispatchMessage(&msg);
		}
	}

	wxEntryCleanup();

But if i press the close button, nothing happens...


PARTNERS