Re: VERY persistent vertex's

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Turns out I was mixing apples and IB...I mean oranges...hehe! I was trying
to draw one type of vertices but giving it another type of vertices....My
bad... : )

[==P==]

"ZMan" <zman@xxxxxxxxxxxxxx> wrote in message
news:eWBQM639FHA.2320@xxxxxxxxxxxxxxxxxxxxxxx
> There is no memory that could store this - so there must be some leftovers
> in your code from the previous versions.
>
> Delete the entire bin directory and then recompile - that should make sure
> that its nothing to do with a mix up between debug and release (though
> I've never seen anything like what you describe)
>
> Are you telling drawprimitve that there are more vertices than you have?
> Did you change the vertex format so the buffer is bigger than before, and
> then drawing with the old vertex format? (though usually this just makes a
> horrible mess)
>
> If that doesn't work email me the code and I'll take a look.
>
> --
> Zman
> http://www.thezbuffer.com - News and information for Managed DirectX
>
>
>
> "Peter Oliphant" <poliphant@xxxxxxxxxxxxxxxx> wrote in message
> news:uBRhGr39FHA.3560@xxxxxxxxxxxxxxxxxxxxxxx
>>I know this has to be something I've done that's dumb, but this is just
>>too weird. For context, I'm going through the 'Manageed DirectX 9 - Kick
>>Start - Miller", although book is written for C# and I'm convertng it all
>>to VS C++.NET (since C++ is the language I'll be using).
>>
>> I create a small experimental program that drew a Red square using two
>> triangles. This was done ala creating the two vertices and triangles
>> every frame and drawing them using DrawUserPrimitives. Then, following
>> the book, I reverted to creating only 3 vertices, store them in a Vertex
>> Buffer (i.e., on the video card), and then show by virtue of
>> DrawPrimitives method. I have completely removed the old square code.
>>
>> What's weird is that some of the definition of the square from the
>> previous experiment is still there! I've tried re-booting, turning
>> machine off. I've also cleaned the solution and rebuilt everything many
>> times. Same result. I've looked at my code: I only create 3 veritices,
>> all black. If I change the color of these vertices it still has Red
>> vertices (but at least one must also be Black, there is Black now, but
>> still Red), I'm guessing somehow from the previous experiment. I've even
>> searched my (very small) piece of code for the word Red. Nothing.
>>
>> Doubt anyone can help me with this, just thought I'd mention it. I'll
>> post code if requested. Obviously this is very weird (I'm frustrated, but
>> also amused)... : )
>>
>> --------
>>
>> Oh yeah, JUST found a 'clue' [maybe] with this. I compiled to both a
>> debug and a release version. The 'release' version is doing what my code
>> says (all vertices are correct color), the 'debug' version still shows
>> some Red vertices. Huhhhhhhhh? Do video cards have memory nowadays that
>> survive the computer being re-booted and completely turned off? WHERE is
>> is getting these Red vertices?
>>
>> [==P==]
>>
>>
>
>


.



Relevant Pages

  • Re: VERY persistent vertexs
    ... There is no memory that could store this - so there must be some leftovers ... Delete the entire bin directory and then recompile - that should make sure ... I have completely removed the old square code. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Exchange 2003 Private Store Corruption
    ... Once you've pulled the faulty RAM, create the new mailbox store and move ... then you can start working on the problem mailboxes. ... have DIMM's installed in pairs in this server? ... Online Diagnostic Utility says "Correctable Memory Threshold Exceeded" ...
    (microsoft.public.exchange.admin)
  • Re: Can operant conditioning account for all learning?
    ... are not replaying the raw sensory data form that event. ... problems your high level abstractions didn't recognize. ... I would suggest it uses the same amount of memory more ... Most likely the brain doesn't store things in ...
    (comp.ai.philosophy)
  • mm/ hacks -- Generic memory store?
    ... I want to do a memory management hack for generic memory stores. ... "store" for excess memory before OOM. ... RAM swap ... store would be capable of providing compression or encryption. ...
    (Linux-Kernel)
  • [PATCH V0 0/4] kztmem: page cache/swap compression via in-kernel transcendent memory and page
    ... The data store for this page-oriented data, ... independent data sources to share PAM resources effectively ... Transcendent memory, or "tmem", is a clean API/ABI that provides ... The first tmem implementation is in Xen. ...
    (Linux-Kernel)