Skip to main content

Help with texturing and possibly multi texture

1 reply [Last post]
Joined: 2006-02-17

I have a large grid of x,y -> elevation data. I would like to drape a large image (which I have as a jpeg) over it, creating a landscape.

Q1: I can only use jpegs of max 1024 X 1024 for textures. I believe this is a limitation of my graphics card, is this correct? How large can I get with a nicer card ?

My terrain (and jpeg) are way bigger than 1024 X 1024.So it appears to me that I am gonna have to break the jpeg apart into 1024 squares.

Q2: Is it better to break the geometry itsef down into smaller pieces (say 1024 X 1024 ) and texture each individually ... or should I use the multi texture for a singe geometry and several 1023 square jpegs ?

Q3: Is the latter even possible, or am I missing the boat on the multi texture stuff ?

Thanks in advance, Michael

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-10-16

Multiple Textures on the same surface is supported by the use of Appearance objects using the TextureUnitState class and generation of TexCoords. This prevents you from having to break up your geometry. I am working through this paradigm currently and am having problems getting the texture to showup even though it is loaded. Will probably find some cap bit etc I haven't set.