Implementing Occlusion Query on Vincent

  • estl

    estl - 2006-02-15


    I’m trying to build Occlusion query for NV-query and CHC on Vincent.
    As far as I know, the query thing needs “flush” function to declare the vertex is visible or not. So I want to see the implementation and make a little change to use it.

    But I could find only this.
        void Context :: Flush(void) { }

    Where can I find flush part?

    And if you already work out occlusion_query, please let me know.


    • Hans-Martin Will

      Flush is indeed a NOP in Vincent, because there is no GPU to wait for. You will probably want to change the render functions to deposit a return value in the context, which you can retrieve in Flush.

      Hope that helps,

    • estl

      estl - 2006-02-16

      Thank you for your fast answer.
      It was a great help.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks