Archived issue #0009554
Textures with dimensions different from the powers of two work improperly
Description
Textures with dimensions different from the powers of two either do
not work at all or are resized improperly
not work at all or are resized improperly
Additional information
Documentation remark, added by Author 2005-09-21 10:58:02:
Improvements:
It is possible now to display textures with size that it have actually and
not resized. Resize of textures takes place when its height or width is
different from the powers of two. It is the OpenGl limitation. For example
texture 21x21 resized to 16x16. Now this problem is solved.
Modified entities:
Graphic3d_TextureRoot: the field MyTexUpperBounds has been added, which stores
upper values of texture coordinates. Method GetTexUpperBounds was added to get
theese values.
Graphic3d_GraphicDriver, OpenGl_GraphicDriver: changes in signature of the
function CreateTexture. Now it returns upper values of texture coordinates
Improvements:
It is possible now to display textures with size that it have actually and
not resized. Resize of textures takes place when its height or width is
different from the powers of two. It is the OpenGl limitation. For example
texture 21x21 resized to 16x16. Now this problem is solved.
Modified entities:
Graphic3d_TextureRoot: the field MyTexUpperBounds has been added, which stores
upper values of texture coordinates. Method GetTexUpperBounds was added to get
theese values.
Graphic3d_GraphicDriver, OpenGl_GraphicDriver: changes in signature of the
function CreateTexture. Now it returns upper values of texture coordinates
Public activity
No public notes
Participants are labeled by their role within this record.
Related records