Giter VIP home page Giter VIP logo

voly-labeller's People

Contributors

alexbo1 avatar christof avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

voly-labeller's Issues

Bug in artificial scene

Move through the camera positions. Around position 5 the screen starts to flicker. Maybe due to many transparent layers. It goes back to normal when continuing with the rotations and coming back to the start position.
screenshot from 2016-09-25 11-17-05
screenshot from 2016-09-25 11-17-32

Add objectId to every ObjectData

Pass the id as member of the transformation matrix as integer in a float to the shaders. Provides function to unpack it from the matrix.

The ObjectManager must now track all created ObjectData instances. Provide a method to create an instance using a template instance.

Fix "wireframe" rendering

It is probably caused by the ha-buffer rendering adjacent triangle edges twice and blending them, thereby creating a darker color for the edges. The question is how this is prevented in volyHA.

white circle

  1. start a complex scene, mr_serie14_bone_muscle_fat_tendons_ligaments_vessels.xml
    (4 volumes)
  2. move towards the volume (w key)
  3. the screen shows a white circle only

tested on a 840m graphic card, 2gb ram, 512x512 resolution

terminal output:
`
[2016-09-01 11:16:52] - 7275 Graphics.HABuffer: Clear time 1.31456 ms
[2016-09-01 11:16:52] - 7275 Graphics.HABuffer: Build time -1 ms
[2016-09-01 11:16:52] - 7275 Graphics.HABuffer: Render time 0 ms
[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131188, "Buffer usage warning: Discarding a video memory only buffer object. The data store will be reallocated on next usage of the buffer object.", "LowSeverity", "OtherType")
[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131188, "Buffer usage warning: Discarding a video memory only buffer object. The data store will be reallocated on next usage of the buffer object.", "LowSeverity", "OtherType")
[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131188, "Buffer usage warning: Discarding a video memory only buffer object. The data store will be reallocated on next usage of the buffer object.", "LowSeverity", "OtherType")
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 0 count: 6 firstIndex: 0 baseVertex: 0
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: head: 256 headoffset 0x1400 objectcount: 1
[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131218, "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.", "MediumSeverity", "PerformanceType")

[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131218, "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.", "MediumSeverity", "PerformanceType")

[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131218, "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.", "MediumSeverity", "PerformanceType")

[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 0 count: 6 firstIndex: 0 baseVertex: 0
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: head: 0 headoffset 0x0 objectcount: 1
[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131218, "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.", "MediumSeverity", "PerformanceType")

[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: Render objects with shader 8 with 3 objects
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 0 count: 2 firstIndex: 6 baseVertex: 4
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 1 count: 2 firstIndex: 8 baseVertex: 6
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 2 count: 2 firstIndex: 10 baseVertex: 8
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: head: 256 headoffset 0x1400 objectcount: 3
[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131218, "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.", "MediumSeverity", "PerformanceType")

[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: Render objects with shader 9 with 4 objects
[2016-09-01 11:16:52] - 7275 Reserve 64 bytes head 3072
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: Index 0 customBufferSize 64 custom 0x7f95b4fc3600 matrices 0x7f95b4fc4200
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 0 count: 1 firstIndex: 48 baseVertex: 18
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 1 count: 1 firstIndex: 85 baseVertex: 27
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 2 count: 1 firstIndex: 122 baseVertex: 36
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 3 count: 1 firstIndex: 159 baseVertex: 45
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: head: 0 headoffset 0x0 objectcount: 4
[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131218, "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.", "MediumSeverity", "PerformanceType")

[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: Render objects with shader 10 with 1 objects
[2016-09-01 11:16:52] - 7275 Reserve 64 bytes head 256
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: Index 0 customBufferSize 64 custom 0x7f95b4fc3700 matrices 0x7f95b4fc8200
[2016-09-01 11:16:52] - 7275 Reserve 64 bytes head 2048
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: Index 1 customBufferSize 64 custom 0x7f95b4fc3200 matrices 0x7f95b4fc8200
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 0 count: 3840 firstIndex: 160 baseVertex: 46
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: head: 256 headoffset 0x1400 objectcount: 1
[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131218, "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.", "MediumSeverity", "PerformanceType")

[2016-09-01 11:16:52] - 7275 Reserve 960 bytes head 512
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: Index 0 customBufferSize 960 custom 0x7f95b4fc3800 matrices 0x7f95b4fc4200
[2016-09-01 11:16:52] - 7275 Reserve 24 bytes head 2304
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: Index 1 customBufferSize 24 custom 0x7f95b4fc3300 matrices 0x7f95b4fc4200
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: counter: 0 count: 6 firstIndex: 0 baseVertex: 0
[2016-09-01 11:16:52] - 7275 Graphics.ObjectManager: head: 0 headoffset 0x0 objectcount: 1
[2016-09-01 11:16:52] - 7275 OpenGl: QOpenGLDebugMessage("APISource", 131218, "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.", "MediumSeverity", "PerformanceType") `

Fix bug which causes a white-out

This can often be reproduced by rotating the scene 90° around the y-axis. Sometimes the program did crash in this state (core dumps are available). Other times the program got out of this state (without moving the mouse). In every case the build times was -1, meaning that Timer::waitResult stopped waiting after 5000 calls to Timer::done(). The render time was 0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.