445 reputation
411
bio website
location
age
visits member for 4 years, 2 months
seen Feb 4 at 14:25

Dec
30
awarded  Notable Question
Jun
27
awarded  Popular Question
May
6
awarded  Yearling
Feb
2
awarded  Necromancer
Jul
23
awarded  Yearling
Jul
19
awarded  Popular Question
Feb
26
awarded  Nice Question
Dec
4
awarded  Nice Answer
Nov
11
comment Must read game development books
it is done, with 2 other books added
Nov
11
answered Must read game development books
Nov
11
answered Must read game development books
Nov
11
answered Must read game development books
Nov
11
answered Must read game development books
Nov
1
answered How to Divide Responsibilities Between a Two-Man Group?
Oct
30
comment Skybox Development Help
Would you be searching for skydome textures perhaps ?
Oct
27
comment When should vector/list be used?
I just came through a problem helping a student in his work and reminds me of a dangerous use of vectors. Imagine you have a vector of objects somewhere and other vectors of pointers, pointing on objects of the "Big" one. A student did this to create a sport simulation. He had a pool of players that could be transfered from teams, so teams pointed on players they had. The problem is, when you add objects to the big vector, it can reserve another array and copy elements. When that arrives... all pointers become bad. Maybe it's not quite well to do this, but it can bring errors hard to debug...
Oct
27
comment When should vector/list be used?
I can't say you are wrong, in fact I think it's right but still I don't think this only reason should swipe away lists definitely. Yes games do use a lot of vector pointers, but it can use containers on objects. For exemple a MapReader class that read each chunck of a binary map and store them in a vector. What if the map is loaded in an editor and the chunks are always modified, can't the list be a better choice ? I'm still a student, I worked on some commercialised games, but I have a lot to learn so tell me if I'm wrong, trying to answer questions is a nice way to learn myself :)
Oct
27
comment When should vector/list be used?
Yes maybe you are right, I did not consider the type stored it should also be analysed.
Oct
27
awarded  Critic
Oct
27
comment When should vector/list be used?
I think it highly depends on your needs, if you never need to access a specific element and just need to read all of them and you add and remove elements frequently, the list is a better solution.