Archived issue #0030337
Draw Harness, ViewerTest - do not restrict vtexture to AIS_Shape
Description
Current implementation of vtexture expects AIS_Shape.
However the basic logic of setting texture to Graphic3d_AspectFillArea3d
can be applied to arbitrary AIS_InteractiveObject (for example, generated by vdrawparray command).
However the basic logic of setting texture to Graphic3d_AspectFillArea3d
can be applied to arbitrary AIS_InteractiveObject (for example, generated by vdrawparray command).
Steps to reproduce
Test case if not required.
pload MODELING VISUALIZATION
set v00 {v 0 0 0}; set v01 {v 0 1 0}; set v11 {v 1 1 0}; set v10 {v 1 0 0};
set vv "$v00 $v01 $v11 $v10"
set vt "$v00 t 0.25 0.25, $v01 t 0.25 0.75, $v11 t 0.75 0.75, $v10 t 0.75 0.25"
vclear
vinit View1
vtop
vrenderparams -shadingModel unlit
vdrawparray q1t triangles {*}$vt, e 1 e 2 e 3, e 1 e 3 e 4
vdrawparray q1e segments {*}$vv, e 1 e 2, e 2 e 3, e 3 e 4, e 4 e 1, e 3 e 1
vfit
vtexture q1t 2
Public activity
5 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Nov 2 18:40:51 2018 +0300
0030337: Draw Harness, ViewerTest - do not restrict vtexture to AIS_Shape
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Nov 2 18:40:51 2018 +0300
0030337: Draw Harness, ViewerTest - do not restrict vtexture to AIS_Shape
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Combination -
OCCT branch : [archived branch] SHA - [revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 4493.069999999858 / 4489.799999999858 [+0.07%]
Products
Total CPU difference: 7033.920000000027 / 7035.140000000028 [-0.02%]
Windows-64-VC14:
OCCT
Total CPU difference: 17591.21875 / 17600.625 [-0.05%]
Products
Total CPU difference: 8497.796875 / 8526.203125 [-0.33%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch] SHA - [revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 4493.069999999858 / 4489.799999999858 [+0.07%]
Products
Total CPU difference: 7033.920000000027 / 7035.140000000028 [-0.02%]
Windows-64-VC14:
OCCT
Total CPU difference: 17591.21875 / 17600.625 [-0.05%]
Products
Total CPU difference: 8497.796875 / 8526.203125 [-0.33%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records