View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024520 | Open CASCADE | OCCT:Visualization | public | 2014-01-09 11:02 | 2014-11-11 12:52 |
Reporter | Assigned To | apn | |||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Platform | A | OS | L | ||
Product Version | Unscheduled | ||||
Target Version | 6.8.0 | Fixed in Version | 6.8.0 | ||
Summary | 0024520: Implementing transformations and selective updates in ray-tracing (TKOpenGl) | ||||
Description | Applying all transformations in GPU ray-tracing on-the-fly allows for ray-tracing animated scenes and scene editing in real-time. Branch ported to new GLSL raytracer. Animation can be tested with vanimation command. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Dear duv, Please evaluate the performance decrease with respect to original version (issue 24503). Then, share your test data and scripts (for example, using the portal): we need some standard benchmark. |
|
Dear dbp, Please review patch. |
|
Dear duv, the latest version of 0024739 is in branch CR24739_7 - patch should be rebased on it. + OpenGl_GUM_CHECK, // check if geometry update is necessary Documentation comment should start with //!< here. + if (!aStructure->IsRaytracable()) + continue; + + if (!aStructure->IsVisible()) + continue; Why not + if (!aStructure->IsRaytracable() + || !aStructure->IsVisible()) + continue; ? + Standard_ShortReal* aTransform (NULL); Please avoid such style - prefer "aTransform = NULL;". + if (!(aSetIter == myArrayToTrianglesMap.end())) + { Why not "aSetIter != myArrayToTrianglesMap.end()" here? + BVH_Transform<Standard_ShortReal, 4>* aTransform = new BVH_Transform<Standard_ShortReal, 4>; Please do not omit default constructor braces. + aResult &= mySceneTransformTexture->SubData (myGlContext, aTransformOffset, + 4, aNodeTransform.GetData()); + + aTransformOffset += 4; OpenGl_VertexBufferEditor might be considered for batch CPU->GPU commits. |
|
Dear kgv, Remarks considered. |
|
Dear Bugmaster, please test the patch (CR24520). |
|
Dear BugMaster, Branch CR24520 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: 0f31cf91a721920f99044593d53ad4b940f83b25 Number of compiler warnings: occt component : Linux: 21 (27 on master) Windows: 0 (0 on master) products component : Linux: 12 (12 on master) Windows: 2 (2 on master) Regressions/Differences: No regressions/differences Testing cases: Not needed Testing on Linux: Total MEMORY difference: 393338620 / 392197888 Total CPU difference: 47479.45999999989 / 53399.689999999886 Testing on Windows: Total MEMORY difference: 420670136 / 414274688 Total CPU difference: 35274.8125 / 42798.984375 There are no differences in images found by testdiff. |
|
There are regressions in test cases in Debug mode: demo samples raytrace http://occt-tests/CR24520-master-occt-deb/Debian60-64/demo/samples/raytrace.html v3d raytrace connected http://occt-tests/CR24520-master-occt-deb/Debian60-64/v3d/raytrace/connected.html v3d raytrace plastic http://occt-tests/CR24520-master-occt-deb/Debian60-64/v3d/raytrace/plastic.html On WNT execution of these tests leads to hanging. |
|
Dear dbp, Please review patch. |
|
Dear bugmaster, please test the patch in branch CR24520. |
|
There are compile errors: Cannot open include file: 'Graphic3d_StructureManager.hxx' Cannot open include file: 'Handle_Graphic3d_StructureManager.hxx' Cannot open include file: 'Graphic3d_Group.hxx' Cannot open include file: 'Graphic3d_MaterialAspect.hxx' ... |
|
Dear bugmaster, Problem solved, please test the branch CR24520. |
|
Dear BugMaster, Branch CR24520 (and products from GIT master) was compiled on MacOS, Linux and Windows platforms and tested in Release and DEBUG mode. SHA-1: c3f18174d0d32e671b2f4928f2c43017acd7b0a2 Number of compiler warnings: occt component : Linux: 21 (21 on master) Windows: 1 (1 on master) products component : Linux: 12 (12 on master) Windows: 2 (2 on master) Regressions/Differences: No regressions/differences Testing cases: problem test cases in Debug mode http://occt-tests/CR24520-master-occt-deb/Debian60-64/v3d/raytrace/plastic.html http://occt-tests/CR24520-master-occt-deb/Debian60-64/v3d/raytrace/connected.html http://occt-tests/CR24520-master-occt-deb/Debian60-64/demo/samples/raytrace.html Testing on Linux: Total MEMORY difference: 351829164 / 352026040 Total CPU difference: 52527.98999999968 / 50789.29000000014 Testing on Windows: Total MEMORY difference: 381280880 / 381244252 Total CPU difference: 39615.703125 / 36679.046875 There are no differences in images found by testdiff. |
occt: master 84c71f29 2014-03-31 12:36:21
Committer: apn Details Diff |
0024520: Implementing affine transformations in ray-tracing |
Affected Issues 0024520 |
|
mod - src/OpenGl/OpenGl_SceneGeometry.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Workspace.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Workspace_Raytrace.cxx | Diff File | ||
mod - src/Shaders/RaytraceBase.fs | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-09 11:02 |
|
New Issue | |
2014-01-09 11:02 |
|
Assigned To | => duv |
2014-01-16 11:00 |
|
Relationship added | related to 0024503 |
2014-01-16 11:00 |
|
Relationship deleted | related to 0024503 |
2014-01-16 11:01 |
|
Relationship added | child of 0024503 |
2014-01-16 11:06 |
|
Note Added: 0027515 | |
2014-03-31 15:20 |
|
Description Updated | |
2014-03-31 15:21 |
|
Description Updated | |
2014-03-31 15:22 |
|
Note Added: 0028563 | |
2014-03-31 15:22 |
|
Assigned To | duv => dbp |
2014-03-31 15:22 |
|
Status | new => resolved |
2014-04-01 19:49 | kgv | Note Added: 0028609 | |
2014-04-02 13:55 |
|
Note Added: 0028627 | |
2014-04-02 16:16 |
|
Note Added: 0028636 | |
2014-04-02 16:16 |
|
Assigned To | dbp => bugmaster |
2014-04-02 16:16 |
|
Status | resolved => reviewed |
2014-04-03 10:44 |
|
Assigned To | bugmaster => mkv |
2014-04-03 14:16 |
|
Note Added: 0028655 | |
2014-04-03 14:19 |
|
Test case number | => Not needed |
2014-04-03 14:19 |
|
Assigned To | mkv => bugmaster |
2014-04-03 14:19 |
|
Status | reviewed => tested |
2014-04-03 14:20 | apn | Target Version | => 6.7.1 |
2014-04-04 12:26 | apn | Note Added: 0028675 | |
2014-04-04 12:26 | apn | Assigned To | bugmaster => duv |
2014-04-04 12:26 | apn | Status | tested => assigned |
2014-04-04 15:23 |
|
Note Added: 0028683 | |
2014-04-04 15:23 |
|
Assigned To | duv => dbp |
2014-04-04 15:23 |
|
Status | assigned => resolved |
2014-04-04 17:11 |
|
Target Version | 6.7.1 => 6.8.0 |
2014-04-07 10:13 |
|
Note Added: 0028705 | |
2014-04-07 10:13 |
|
Assigned To | dbp => bugmaster |
2014-04-07 10:13 |
|
Status | resolved => reviewed |
2014-04-08 15:59 | apn | Assigned To | bugmaster => apn |
2014-04-09 10:17 | apn | Note Added: 0028746 | |
2014-04-09 10:18 | apn | Assigned To | apn => duv |
2014-04-09 10:18 | apn | Status | reviewed => assigned |
2014-04-09 12:13 |
|
Status | assigned => resolved |
2014-04-09 12:15 |
|
Note Added: 0028757 | |
2014-04-09 12:15 |
|
Assigned To | duv => bugmaster |
2014-04-09 12:15 |
|
Status | resolved => reviewed |
2014-04-09 12:25 | apn | Assigned To | bugmaster => apn |
2014-04-10 16:31 | apn | Note Added: 0028782 | |
2014-04-10 16:32 | apn | Assigned To | apn => bugmaster |
2014-04-10 16:32 | apn | Status | reviewed => tested |
2014-04-11 14:43 | apn | Changeset attached | => occt master 84c71f29 |
2014-04-11 14:43 | apn | Assigned To | bugmaster => apn |
2014-04-11 14:43 | apn | Status | tested => verified |
2014-04-11 14:43 | apn | Resolution | open => fixed |
2014-04-23 11:33 |
|
Summary | Implementing affine transformations in OpenCL ray-tracing (TKOpenGl) => Implementing transformations and selective updates in ray-tracing (TKOpenGl) |
2014-11-11 12:47 |
|
Fixed in Version | => 6.8.0 |
2014-11-11 12:52 |
|
Status | verified => closed |