6,988 reputation
12244
bio website lorancou.net
location Lyon, France
age 30
visits member for 2 years, 4 months
seen 13 hours ago

Engineering for a living


Jan
4
reviewed Close What causes still objects have lines in them when lighting is being changed?
Jan
4
answered How to get surrounding tiles in a tile array
Jan
1
comment Why nearby triangles tend to disappear?
No idea, I've never used it. It's just that this is the kind of issue that would be easily solved using PIX when running DirectX, so I just did a quick search of an OpenGL equivalent. Shame that this thing isn't free...
Dec
27
comment Why nearby triangles tend to disappear?
A good time to try out gDEBugger? This might give you more info.
Dec
26
comment How can I simulate a limited (256) color palette in OpenGL?
Related: gamedev.stackexchange.com/questions/43294/…
Dec
8
comment Is pre-rendering Canvas graphics with ImpactJS safe?
What do you mean by safe? If you tried it and if it works, then what are you're fearing exactly? Performance issues? Browser compatibility issues?
Nov
4
awarded  Good Answer
Oct
23
comment How do I produce “enjoyably” random, as opposed to pseudo-random?
Or another solution is to slightly modify the classic Knuth Shuffle and add a special case for the last item. I've edited my answer accordingly.
Oct
23
revised How do I produce “enjoyably” random, as opposed to pseudo-random?
A solution that actually works.
Oct
23
revised How do I produce “enjoyably” random, as opposed to pseudo-random?
Nope...
Oct
23
revised How do I produce “enjoyably” random, as opposed to pseudo-random?
Added a simple solution to prevent repetitions
Oct
19
comment JavaScript 3D space ship rotation
What is this math library that supports only Euler angles? Looks like you don't have the right tool for the job. Also, how can you work with an intermediary 3x3 matrix if your library doesn't support them?
Oct
10
comment Separating components and logic
OO-programming is all about encapsulating data and logic together. So yeah, if your stuck trying to separate things, put your logic inside your components, there's nothing wrong about it. Whatever works for you.
Oct
7
comment Where to save enemy positions in C++?
The problem is there's no "standard" way of doing this, especially in C++. You should probably use good old text files and parse them yourself to figure out how this is done, and maybe move on to a more advanced ready-made parser when you need it. Check fscanf and C++ streams for details on how to parse text files "by hand".
Oct
7
revised Where to save enemy positions in C++?
A bit of formatting, removed (useless) mention of SDL, better tags
Oct
7
answered Where to save enemy positions in C++?
Sep
26
revised Flexible alternatives to many many small polymorphic classes (for use as properties or messages or events) C++
edited tags
Sep
26
answered Flexible alternatives to many many small polymorphic classes (for use as properties or messages or events) C++
Sep
26
answered Emulated vector scaling with raster graphics?
Sep
26
comment OpenGL resize problems
You're asking several questions at the same time, so it's hard to give you a good answer. I suggest you try to narrow down your question to the problem that is the most important for you at the moment. What exactly is blocking you?