matrox with vertex-shaders? maybe with a g800

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • der-Leo
    mini MURCer
    • Mar 2001
    • 6

    #1

    matrox with vertex-shaders? maybe with a g800

    hi

    i found on the matrox ftp-server a dx8-sample-application for
    vertex-shaders.

    but for what?
    the g4x0 don't support vertexshaders.

    you can find the file here:

    it's there since 06-Feb-2001.

    maybe for a new card with full dx8 support?

    der-Leo
    der-Leo
  • Haig
    Moderator
    • Aug 1999
    • 1273

    #2
    Hi Leo,

    it's just a simple demo of geometry skinning using DX8 vertex shaders. You can use it on the G400 since this demo is using software vertex shaders.

    Haig

    Comment

    • cjolley
      Super MURCer
      • Aug 1999
      • 7672

      #3
      Oh Haig! You tease you.
      chuck
      Chuck
      秋音的爸爸

      Comment

      • xortam
        Super MURCer
        • Sep 1999
        • 4534

        #4
        <font face="Verdana, Arial, Helvetica" size="2">Originally posted by Haig:
        ... You can use it on the G400 since this demo is using software vertex shaders ...</font>
        Can the demo use HW shaders if the appropriate video card was used?
        <TABLE BGCOLOR=Red><TR><TD><Font-weight="+1"><font COLOR=Black>The world just changed, Sep. 11, 2001</font></Font-weight></TR></TD></TABLE>

        Comment

        • Haig
          Moderator
          • Aug 1999
          • 1273

          #5
          Theoretically it should, provided if the demo was programmed to also use HW vertex shaders

          Haig

          [This message has been edited by Haig (edited 06 March 2001).]

          Comment

          • Nappe1
            MURCer
            • Jul 2000
            • 561

            #6
            I am Back!

            this is starting to sound very promising...

            hmmh.... Anyone wants to buy ATi AIW Radeon when the summer comes?


            [This message has been edited by Nappe1 (edited 06 March 2001).]
            "Dippadai"

            Comment

            • Maggi
              Super MURCer
              • Jan 2000
              • 5057

              #7
              <font face="Verdana, Arial, Helvetica" size="2">Originally posted by Haig:
              Theoretically it should, provided if the demo was programmed to also use HW vertex shaders
              </font>
              ... is it ?

              Despite my nickname causing confusion, I am not female ...

              ASRock Fatal1ty X79 Professional
              Intel Core i7-3930K@4.3GHz
              be quiet! Dark Rock Pro 2
              4x 8GB G.Skill TridentX PC3-19200U@CR1
              2x MSI N670GTX PE OC (SLI)
              OCZ Vertex 4 256GB
              4x2TB Seagate Barracuda Green 5900.3 (2x4TB RAID0)
              Super Flower Golden Green Modular 800W
              Nanoxia Deep Silence 1
              LG BH10LS38
              LG DM2752D 27" 3D

              Comment

              • Haig
                Moderator
                • Aug 1999
                • 1273

                #8
                Nope.

                Haig

                Comment

                • Maggi
                  Super MURCer
                  • Jan 2000
                  • 5057

                  #9
                  dammit ... would have been too easy ...
                  Despite my nickname causing confusion, I am not female ...

                  ASRock Fatal1ty X79 Professional
                  Intel Core i7-3930K@4.3GHz
                  be quiet! Dark Rock Pro 2
                  4x 8GB G.Skill TridentX PC3-19200U@CR1
                  2x MSI N670GTX PE OC (SLI)
                  OCZ Vertex 4 256GB
                  4x2TB Seagate Barracuda Green 5900.3 (2x4TB RAID0)
                  Super Flower Golden Green Modular 800W
                  Nanoxia Deep Silence 1
                  LG BH10LS38
                  LG DM2752D 27" 3D

                  Comment

                  • DGhost
                    Super MURCer
                    • May 2000
                    • 2573

                    #10
                    Hmmm....

                    out of simple curiosity...

                    1) How hard would it be to rewrite to to use hardware vertex shaders.... seeing as the only thing that looks to define it as a vertex shader is in one commmand.... dunno much about DX tho...

                    it seems to be defined in this line:
                    hr = m_pd3dDevice->CreateVertexShader( dwDecl,(DWORD*)pCode->GetBufferPointer(),&m_dwShader,D3DUSAGE_SOFTWAREP ROCESSING );

                    and later, in the init, it checks for either hardware or presumably software implementation of vertex shaders... again, i'm not much into DirectX, but it seems to me it was written so that it could (w/ minimal effort) be rewritten to take advantage of it...

                    and, according to the DX sample code i have, by changing the D3DUSAGE_SOFTWAREPROCESSING to a 0 should accomplish this...

                    2) And i noticed lots of calls to things like D3DXMatrixMultiply() and D3DXMatrixTranspose()...

                    my understanding of DirectX is that functions inside it can be either hardware accelerated, or not. now then, for code readability, it would be easier to use the built in functions... but usually programmers prefer to use their own functions... it is very useful to know how the code works...

                    and, seeing as the other demos i have seen from matrox define their own functions for these things, why would they switch over to using the DirectX implementations?


                    Any comments? Haig? =)
                    "And yet, after spending 20+ years trying to evolve the user interface into something better, what's the most powerful improvement Apple was able to make? They finally put a god damned shell back in." -jwz

                    Comment

                    • SCompRacer
                      Super MURCer
                      • Jan 2000
                      • 1023

                      #11
                      Hello Haig!....they got an opening in Montreal area for my company, got a chance for an interview.

                      How do Canadians feel about Yankee transplants?
                      MSI K7D Master L, Water Cooled, All SCSI
                      Modded XP2000's @ 1800 (12.5 x 144 FSB)
                      512MB regular Crucial PC2100
                      Matrox P
                      X15 36-LP Cheetahs In RAID 0
                      LianLiPC70

                      Comment

                      • Haig
                        Moderator
                        • Aug 1999
                        • 1273

                        #12
                        You're right DG, it wouldn't be a big deal to change it over to hardware based. Then again, most dx8 demo's can go from hardware to software back and forth with minimal effort.

                        Yankee transplants are a dime a dozen over here so another one wouldn't hurt

                        Haig

                        Comment

                        Working...