Re: how to emulate the invisibility effect

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

From: Phil Taylor (ptaylor_at_private-citizen.com)
Date: 10/28/04

  • Next message: edenxiii: "RenderColorTarget bug?"
    Date: Thu, 28 Oct 2004 12:01:46 -0700
    
    

    true your way is better unless there is some other constraint, so a 2nd
    choice would be to draw with transparency.

    "randomize user" <no@way.com> wrote in message
    news:VC8gd.121$he4.21@newsfe6-win.ntli.net...
    >
    > "Phil Taylor" <ptaylor@private-citizen.com> wrote in message
    > news:%23luPUNQvEHA.2536@TK2MSFTNGP11.phx.gbl...
    >> or make it transparent with alpha.
    >>
    >
    > yeah - but wouldn't that be more difficult for the OP who is needing to
    > ask
    > these questions? Also would it affect performance to use alpha instead of
    > not drawing (I would think, obviously yes) - though I guess for a
    > "Warehouse
    > simulation" it probably doesn't need the same kind of fine tuning that a
    > game would. I use the draw/no draw system (flags) all the time and it is
    > so
    > simple, just though the OP would apreciate an quick and easy method,
    > though
    > of course it depends on how the rest of is code is already structured and
    > if
    > it is indeed "simple" to just block a call to ->drawprimitive etc.
    >
    > The post did throw me a little as the title suggested an "effect" such as
    > transparency (ie with refraction for instance), but the body of the post
    > seemed to ask simply how not to draw something. If it was the former then
    > yes - the way I posted would be useless ;)
    >
    >
    >
    >
    >


  • Next message: edenxiii: "RenderColorTarget bug?"

    Relevant Pages

    • Alpha blending not depending of order of drawing(rendering)
      ... Is there a way to draw something with alpha blend (transparency) and ... when I draw first red one, and next yellow one (in other way first ... that it is becauose of order of draawing - alpha blending ... and be depended of ZBuffer order, order and not be depend of drawing ...
      (microsoft.public.win32.programmer.directx.managed)
    • Re: Textures with Alpha
      ... The SDK has an article on doing Texture Alpha, ... > I'm having a devil of a time trying to render some textures with alpha. ... But when I try to draw the ... > on a rectangle made up of 2 triangles, using transparency, the background ...
      (microsoft.public.win32.programmer.directx.managed)
    • Re: Image with transparency?
      ... onscreen graphics context such as a panel using draw(...). ... transparency "key" color, and yields another Image object that posesses ... transparent pixels. ...
      (comp.lang.java.gui)
    • Re: Grphics: How to draw an image transparent
      ... to draw an image and I'm also able to draw a transparent gif (well, ... What I want is to render the entire image (regardless of its own ... transparency or file-format / pixel-format) with a specific alpha. ... Imagine a slider where the user can modify the alpha value in the range ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Grphics: How to draw an image transparent
      ... to draw an image and I'm also able to draw a transparent gif (well, ... GDI+ simply handles the transparency on its own). ... What I want is to render the entire image (regardless of its own ... transparency) with a specific alpha. ...
      (microsoft.public.dotnet.languages.csharp)