View Issue Details

IDProjectCategoryView StatusLast Update
0009575Open CASCADEOCCT:Visualizationpublic2012-10-26 10:51
ReportersanAssigned Tosan 
PrioritynormalSeverityfeature 
Status closedResolutionno change required 
OSAll 
Target Version6.5.4 
Summary0009575: Improve AIS_TextureShape to map arbitrarily sized textures properly
DescriptionIt is necessary to correct AIS_TexturedShape::Compute() method, so that it uses
the results of OCC9554 to map arbitrarily sized textures properly.
TagsNo tags attached.
Test case number

Relationships

related to 0009554 closedsan Textures with dimensions different from the powers of two work improperly 
related to 0022591 closedkgv Migration to FreeImage: texture management 

Activities

san

2012-10-23 19:59

developer   ~0021911

ShadeFromShape() in StdPrs_ShadedShape.cxx still generates texture coordinates in [0; 1] range. But this seems to work correctly in case of Graphic3d_Texture2Dmanual texture class used by AIS_TexturedShape::Compute().
As a result, images with non-power-of-two dimensions are mapped without black padding so the textured shape looks correct.

Dear bugmaster,
I suggest we close this issue.

Issue History

Date Modified Username Field Change
2005-07-26 11:13 san OtherBugsDependingOnThis => 9554
2005-08-03 16:41 bugmaster Assigned To bugmaster => san
2005-08-03 16:41 bugmaster Status new => assigned
2005-09-22 11:43 san CC => vro
2005-10-04 11:00 san Assigned To san => skt
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization
2012-02-23 15:51 abv Assigned To skt => san
2012-02-23 18:54 san Relationship added related to 0022591
2012-10-23 19:59 san Note Added: 0021911
2012-10-23 19:59 san Assigned To san => bugmaster
2012-10-23 19:59 san Status assigned => feedback
2012-10-23 20:07 abv Fixed in Version EMPTY =>
2012-10-23 20:07 abv Target Version => 6.5.4
2012-10-23 20:07 abv Description Updated
2012-10-26 10:51 bugmaster Status feedback => closed
2012-10-26 10:51 bugmaster Assigned To bugmaster => san
2012-10-26 10:51 bugmaster Resolution open => no change required