[warzone2100-dev] [Warzone 2100 Trac] #2368: warzone2100 crashes in multiplayergames

2010-11-30 Thread Warzone 2100 Trac
#2368: warzone2100 crashes in multiplayergames
-+-
Reporter:  dennis.kn...@…|Type:  bug
  Status:  new   |Priority:  normal
   Milestone:  unspecified   |   Component:  other
 Version:  unspecified   |Keywords:
Operating System:  All/Non-Specific  |  Blocked By:
Blocking:|
-+-
 Hi,
 here a backtrace from a crashed game.. three players versus two ki's
 last git commit log:d6e2ad0c5638bcf20b74260b4a3c5df22be1f370 from git
 log
 this happens often with desyncs from each clients.

-- 
Ticket URL: http://developer.wz2100.net/ticket/2368
Warzone 2100 Trac http://developer.wz2100.net/
The Warzone 2100 Project
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [warzone2100-dev] [Warzone2100-commits] [Warzone2100/warzone2100] cc0756: Use the stats to determine struct height and clea...

2010-11-30 Thread Per Inge Mathisen
On Sun, Nov 28, 2010 at 10:21 PM,  nore...@github.com wrote:
 Branch: refs/heads/3.0
 Home:   https://github.com/Warzone2100/warzone2100

 Commit: cc0756a10adaf59e67dd29e13ad60cdd75e43514
    
 https://github.com/Warzone2100/warzone2100/commit/cc0756a10adaf59e67dd29e13ad60cdd75e43514
 Author: safety0ff safety...@users.sourceforge.net
 Date:   2010-11-28 (Sun, 28 Nov 2010)

 Changed paths:
  M src/projectile.c

 Log Message:
 ---
 Use the stats  to determine struct height and clean up establishTargetHeight 
 function.
 This should improve shooting over structures in 3.0.

 Refs #2331.

Can you say a little bit more about why you think this is a good solution?

To me, this looks like a huge hack. Stats height values  1 have never
been used before, AFAICT, so they might be random for all I know.
Instinctively I would think that it is better to find the height from
the model, instead of looking some number up in a stats file (which
sounds like unnecessary duplication of data).

  - Per

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


[warzone2100-dev] Shaders - intent to change

2010-11-30 Thread Per Inge Mathisen
Hello,

I am working on improving the model renderer with extensive use of
shaders. The reason for this is that model rendering in Warzone is
highly dynamic, and trying to fit it into the VA/VBO model without
shaders is just not going to work. And without VBOing the models, the
new artwork being produce will struggle with performance. The downside
is of course that non-shader rendering will be removed. Since further
work will require extensive code and model data changes, keeping the
non-shader rendering path around will be extremely painful.

For more detailed info, see http://developer.wz2100.net/ticket/2310

If there are no objections, I will go ahead with this.

  - Per

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [warzone2100-dev] [Warzone2100-commits] [Warzone2100/warzone2100] cc0756: Use the stats to determine struct height and clea...

2010-11-30 Thread Safety0ff

On 10-11-30 12:28 PM, Per Inge Mathisen wrote:

Can you say a little bit more about why you think this is a good solution?
To me, this looks like a huge hack. Stats height values  1 have never
been used before, AFAICT, so they might be random for all I know.
Instinctively I would think that it is better to find the height from
the model, instead of looking some number up in a stats file (which
sounds like unnecessary duplication of data).

   - Per
I was having issues using the height (max vertex height) of certain 
models (it lead to odd rules regarding what can fire over what) and the 
values in the stats files more or less modelled the behaviour I was 
trying to achieve.


Fron what I saw when looking at the stats, the values aren't random, at 
the moment they are one of 1, 2 or 3 and are somewhat proportional to 
the height of the structure.


With the 3.0 beta 4 release imminent it seemed important that that issue 
be resolved, if you come up with a better solution that addresses the 
issue, by all means replace mine with it.


___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev