Shadows when playing sequences.

Shadows when playing sequences.

Post by Yi Zhan » Fri, 22 Feb 2002 04:47:59



Hi, All,

I have a problem. I am using DirectX 8.0's overlay to play
sequence of bitmaps. When a bright object in very dark
background, the bright object will leave trace of its
shadows in the background when its screen position changes
during play the sequence. Those shadows are not there when
I look at each bitmap by itself.

For my situation, when the figure itself is moving, there
is no shadows. Shadows are only happening when the figure
and background are not moving themselve, but their screen
positions change. I have tested them on DELL flat panel
1701 and Sony trinitron 20" monitor with Gforce 3 graphic
card.

Will appreciate any hint and help

Thanks.

Yi Zhang.

 
 
 

Shadows when playing sequences.

Post by Rich - Microsoft Direct3D M » Fri, 22 Feb 2002 07:31:59


[Please do not mail me a copy of your followup]



Quote:>I have a problem. I am using DirectX 8.0's overlay to play
>sequence of bitmaps. When a bright object in very dark
>background, the bright object will leave trace of its
>shadows in the background when its screen position changes
>during play the sequence.

This is a property of the CRT phosphors.  They don't immediately turn
off when you switch from a full-white pixel to a completely black
pixel.  All CRT monitors will have this phenomenon, but depending on
the particular phosphor formulation some will exhibit more 'trails'
than others.  LCD displays do not have this characteristic since they
don't have phosphors, but they have other issues with their display
technology.
--
Ask me about my upcoming book on Direct3D from Addison-Wesley!
  Direct3D Book http://www.xmission.com/~legalize/book/
    Don't Support Spammers!  Boycott Fractal Painter 7!
     http://www.xmission.com/~legalize/spammers.html

 
 
 

Shadows when playing sequences.

Post by Garrett Clar » Fri, 22 Feb 2002 09:22:26


I'm sure what you're seeing is real (not a monitor
artifact) because of some recent weird (cool) things I've
displayed by accident. If instead of Clear()ing the
device between frames you paint a screen-sized quad with
an alpha-containing texture you can manipulate the
blending ops to create persistent trails behind objects.
To avoid this, check that you either use device->Clear()
or find the logical error in your texture blending states.
Regards

>-----Original Message-----
>[Please do not mail me a copy of your followup]



>>I have a problem. I am using DirectX 8.0's overlay to
play
>>sequence of bitmaps. When a bright object in very dark
>>background, the bright object will leave trace of its
>>shadows in the background when its screen position
changes
>>during play the sequence.

>This is a property of the CRT phosphors.  They don't
immediately turn
>off when you switch from a full-white pixel to a
completely black
>pixel.  All CRT monitors will have this phenomenon, but
depending on
>the particular phosphor formulation some will exhibit
more 'trails'
>than others.  LCD displays do not have this

characteristic since they

- Show quoted text -

Quote:>don't have phosphors, but they have other issues with
their display
>technology.
>--
>Ask me about my upcoming book on Direct3D from Addison-
Wesley!
>  Direct3D Book http://www.xmission.com/~legalize/book/
>    Don't Support Spammers!  Boycott Fractal Painter 7!
>     http://www.xmission.com/~legalize/spammers.html
>.

 
 
 

Shadows when playing sequences.

Post by Rich - Microsoft Direct3D M » Sat, 23 Feb 2002 04:41:30


[Please do not mail me a copy of your followup]



Quote:>I'm sure what you're seeing is real (not a monitor
>artifact) because of some recent weird (cool) things I've
>displayed by accident.

Well yes, if you don't Clear() the frame, then you're going to be left
with the previous frame's contents, unless you used the DISCARD swap
effect -- in which case you'd be left with junk.

However, because the original poster said this:

Quote:>>>[...] When a bright object in very dark
>>>background, the bright object will leave trace of its
>>>shadows in the background when its screen position
>changes
>>>during play the sequence.

I'm guessing its the monitor trail because he specifically notes that
this happens with bright objects only.
--
Ask me about my upcoming book on Direct3D from Addison-Wesley!
  Direct3D Book http://www.xmission.com/~legalize/book/
    Don't Support Spammers!  Boycott Fractal Painter 7!
     http://www.xmission.com/~legalize/spammers.html
 
 
 

Shadows when playing sequences.

Post by Yi Zhan » Thu, 07 Mar 2002 05:56:04


After a more careful look, I realize that the shadows are
parts of a bitmap which will be shown, say, 10 bitmaps,
later.  It only happens areas where are in very dark color.

It seems to me Direct Draw has some kind of "intelegence"
which "knows" to not redaw pixels under certain shresholds.

Regards.

>-----Original Message-----
>[Please do not mail me a copy of your followup]


code

>>I'm sure what you're seeing is real (not a monitor
>>artifact) because of some recent weird (cool) things
I've
>>displayed by accident.

>Well yes, if you don't Clear() the frame, then you're
going to be left
>with the previous frame's contents, unless you used the
DISCARD swap
>effect -- in which case you'd be left with junk.

>However, because the original poster said this:

>>>>[...] When a bright object in very dark
>>>>background, the bright object will leave trace of its
>>>>shadows in the background when its screen position
>>changes
>>>>during play the sequence.

>I'm guessing its the monitor trail because he

specifically notes that

- Show quoted text -

Quote:>this happens with bright objects only.
>--
>Ask me about my upcoming book on Direct3D from Addison-
Wesley!
>  Direct3D Book http://www.xmission.com/~legalize/book/
>    Don't Support Spammers!  Boycott Fractal Painter 7!
>     http://www.xmission.com/~legalize/spammers.html
>.

 
 
 

Shadows when playing sequences.

Post by Yi Zhan » Thu, 07 Mar 2002 05:55:59


After a more careful look, I realize that the shadows are
parts of a bitmap which will be shown, say, 10 bitmaps,
later.  It only happens areas where are in very dark color.

It seems to me Direct Draw has some kind of "intelegence"
which "knows" to not redaw pixels under certain shresholds.

Regards.

>-----Original Message-----
>[Please do not mail me a copy of your followup]


code

>>I'm sure what you're seeing is real (not a monitor
>>artifact) because of some recent weird (cool) things
I've
>>displayed by accident.

>Well yes, if you don't Clear() the frame, then you're
going to be left
>with the previous frame's contents, unless you used the
DISCARD swap
>effect -- in which case you'd be left with junk.

>However, because the original poster said this:

>>>>[...] When a bright object in very dark
>>>>background, the bright object will leave trace of its
>>>>shadows in the background when its screen position
>>changes
>>>>during play the sequence.

>I'm guessing its the monitor trail because he

specifically notes that

- Show quoted text -

Quote:>this happens with bright objects only.
>--
>Ask me about my upcoming book on Direct3D from Addison-
Wesley!
>  Direct3D Book http://www.xmission.com/~legalize/book/
>    Don't Support Spammers!  Boycott Fractal Painter 7!
>     http://www.xmission.com/~legalize/spammers.html
>.

 
 
 

1. playing sequences of movies (cosmo)..

I recently saw a Perception board in an nt pc work (the perception is
made by dsp and is a realtime video solution for windows nt. It has
a dedicated hard drive etc). From what I saw, the quality is much like
the cosmo. One thing they brag on it doing is the fact that it can play
back multiple sequences of animations/movies in one continuous stream.
No matter where they are on disk. It played seamless from movie to movie.

I don't know what a cosmo takes to play a movie file. It would be nice if you
could play movies back to back, like the perception. Without the hassle
of merging two or movies together to make one, what can be enormous,
movie file. I guess its a matter of the cosmo not needing to pre-read
any header or what not in each movie. Or am I just dreaming of improving
hardware via software?

Just curious,

James

--

University of Kentucky College of Architecture
fax 606-323-1990

2. Plugin Bundle Offer

3. Playing sequence of MOV files?

4. Error Message in Strata 2.1.1

5. playing several runtime *.crp from a CD in a defined sequence

6. Sequence Shadow?

7. Shadow Play (Please critique)

8. Editing animation sequences and videotape (was: Transferring Animation Sequences to Video Tape)

9. shadows shadows shadows...

10. PLAY DAMN IT PLAY

11. My VS6 video plays on one system, but won't play on another