MantisBT - Open CASCADE
View Issue Details
0030221Open CASCADE[OCCT] OCCT:Data Exchangepublic2018-10-09 10:512018-10-14 13:56
skl 
apn 
normalminor 
closedfixed 
[OCCT] 6.3.1 
[OCCT] 7.4.0[OCCT] 7.4.0 
bugs xde bug30221
0030221: Data Exchange - VRML is exported with inversed normals
Result after writing model from attached file (vmt01b.xbf) to VRML is invalid. It can be detected after show in the viewer (see attached img_bad.png).
Perform following Draw commands:
pload XDE VISUALIZATION
XOpen vmt01b.xbf D
XShow D
vfit
vsetdispmode 1
vclose
WriteVrml D vmt01br.wrl
loadvrml a vmt01br.wrl

vinit View1
vdisplay -dispMode 1 a
vfit
No tags attached.
related to 0030115closed bugmaster Data Exchange - Implementation of import from XCAF to VRML. 
png img_bad.png (10,108) 2018-10-09 10:51
https://tracker.dev.opencascade.org/
? vmt01b.xbf (114,714) 2018-10-09 10:52
https://tracker.dev.opencascade.org/
Issue History
2018-10-09 10:51sklNew Issue
2018-10-09 10:51sklAssigned To => gka
2018-10-09 10:51sklFile Added: img_bad.png
2018-10-09 10:52sklFile Added: vmt01b.xbf
2018-10-09 10:59gitNote Added: 0079813
2018-10-09 11:02kgvSummaryInvalid writing to VRML format. => Data Exchange - VRML is exported with inversed normals
2018-10-09 11:02kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=20091#r20091
2018-10-09 11:02kgvRelationship addedrelated to 0030115
2018-10-09 11:04kgvProduct Version => 6.3.1
2018-10-09 11:10gitNote Added: 0079814
2018-10-09 11:49gkaAssigned Togka => skl
2018-10-09 15:30sklNote Added: 0079823
2018-10-09 15:31sklAssigned Toskl => gka
2018-10-09 15:31sklStatusnew => resolved
2018-10-09 19:56gkaNote Added: 0079831
2018-10-09 19:56gkaAssigned Togka => bugmaster
2018-10-09 19:56gkaStatusresolved => reviewed
2018-10-10 17:22gitNote Added: 0079860
2018-10-10 18:39apnTest case number => bugs xde bug30221
2018-10-10 18:39apnNote Added: 0079864
2018-10-10 18:39apnStatusreviewed => feedback
2018-10-10 18:39apnAssigned Tobugmaster => skl
2018-10-11 08:32sklNote Added: 0079871
2018-10-11 08:33sklAssigned Toskl => bugmaster
2018-10-11 08:33sklStatusfeedback => reviewed
2018-10-11 10:34apnStatusreviewed => tested
2018-10-13 16:01apnChangeset attached => occt master 9b9f2fe9
2018-10-13 16:01apnAssigned Tobugmaster => apn
2018-10-13 16:01apnStatustested => verified
2018-10-13 16:01apnResolutionopen => fixed
2018-10-14 13:56gitNote Added: 0079931

Notes
(0079813)
git   
2018-10-09 10:59   
Branch CR30221 has been created by skl.

SHA-1: 1a75d5cbbfb0043b1bbf9164208428f90730c00e


Detailed log of new commits:

Author: skl
Date: Tue Oct 9 10:57:42 2018 +0300

    0030221: Invalid writing to VRML format.
(0079814)
git   
2018-10-09 11:10   
Branch CR30221 has been updated forcibly by skl.

SHA-1: fbbc9640ec3d1c7af823936a3f51bef6c4db079b
(0079823)
skl   
2018-10-09 15:30   
Branch CR30221 is ready to be reviewed.

Result of tests:
http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR30221-master-SKL/view/COMPARE/ [^]
(0079831)
gka   
2018-10-09 19:56   
Branch CR30221 was reviewed
(0079860)
git   
2018-10-10 17:22   
Branch CR30221 has been updated by apn.

SHA-1: 9944c995a26b72dca6c9b04e73c978a39f8c3d1e


Detailed log of new commits:

Author: apn
Date: Wed Oct 10 17:21:01 2018 +0300

    Added test case bugs/xde/bug30221

(0079864)
apn   
2018-10-10 18:39   
Combination -
OCCT branch : CR30221 SHA - fbbc9640ec3d1c7af823936a3f51bef6c4db079b
Products branch : master SHA - fa672296ba29ad12e59ba21c0c612c412b808a5d
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

Test case:
bugs xde bug30221 - OK

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17403.50999999979 / 17385.999999999854 [+0.10%]
Products
Total CPU difference: 7440.310000000076 / 7445.680000000064 [-0.07%]
Windows-64-VC14:
OCCT
Total CPU difference: 17432.768547798503 / 17457.853508598404 [-0.14%]
Products
Total CPU difference: 8384.80414839999 / 8343.292282299992 [+0.50%]

Image differences :
There are following differences in images:
IMAGE bugs stlvrml bug25050: bug25050_2.png differs
http://occt-tests/CR30221-master-SKL-OCCT/Debian80-64/diff-Debian80-64-image.html [^]
http://occt-tests/CR30221-master-SKL-OCCT/Windows-64-VC14/diff-Windows-64-VC14-image.html [^]

Memory differences :
No differences that require special attention

Dear skl, could you please validate test case and check difference in image bug25050.
(0079871)
skl   
2018-10-11 08:32   
Test for bug is OK.
Mentioned differences are improvement.
(0079931)
git   
2018-10-14 13:56   
Branch CR30221 has been deleted by inv.

SHA-1: 9944c995a26b72dca6c9b04e73c978a39f8c3d1e