[Flightgear-devel] A question regarding performance

2004-06-13 Thread Ampere K. Hardraade
If I apply a single texture and a single UVW map across three objects, would 
the resulting performance be the same as splitting the texture into three 
parts and applying three UVW maps to each object?

Regards,
Ampere

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] A question regarding performance

2004-06-13 Thread Curtis L. Olson
Ampere K. Hardraade wrote:
If I apply a single texture and a single UVW map across three objects, would 
the resulting performance be the same as splitting the texture into three 
parts and applying three UVW maps to each object?
 

Drawing 3 different textures requires 3 additional state changes in 
opengl.  However, consider that (1) modern cards/drivers are extremely 
fast at doing state changes and you have to be pretty careless to start 
seeing an impact, and (2) you don't necessarily know the order that your 
objects are drawn in so it's possible that if other stuff is 
interleaved, you could already be doing state changes.

Of course, the real answer is that it all depends. :-)  Is this an 
object that will be replicated 100's or thousands of times in a single 
scene?  Are you making many 3-textured objects?  It's often hard to 
discuss performance in generalities.  Often you need to look at the 
specifics of each situation.

Regards,
Curt.
--
Curtis Olsonhttp://www.flightgear.org/~curt 
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] A question regarding performance

2004-06-13 Thread Andy Ross
Ampere K. Hardraade wrote:
 If I apply a single texture and a single UVW map across three
 objects, would the resulting performance be the same as
 splitting the texture into three parts and applying three UVW
 maps to each object?

I'm not sure exactly what the question is.  If you are asking
whether it is faster or slower to use a bunch of small textures
or glue them together as subparts of one big one, then the answer
is that it doesn't generally matter much.

Andy


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel