Forum
Contact





DirectX using C#
DirectX using C++
DirectX using Visual Basic



Latest Forum posts

 Texture on a 3d Object
  Posted by: ToastbrotX
  When: 10/09/2010 at 10:23:08

 Unable to Build
  Posted by: Rich_Zap
  When: 09/09/2010 at 15:39:33

 HLSL calculating normals
  Posted by: Rich_Zap
  When: 09/09/2010 at 15:34:56

 Texture on a 3d Object
  Posted by: ToastbrotX
  When: 09/09/2010 at 11:14:19

 DRIVER ERROR XBOX 360
  Posted by: Anonymous
  When: 09/09/2010 at 01:12:47

 Reflection problem in corners ...
  Posted by: Anonymous
  When: 08/09/2010 at 21:03:35

 Texture on a 3d Object
  Posted by: radulph
  When: 08/09/2010 at 17:34:01

 InvalidDataException???
  Posted by: Anonymous
  When: 08/09/2010 at 09:10:36

 Unable to Build
  Posted by: Anonymous
  When: 08/09/2010 at 07:49:36

 Suggestion to change a few lines
  Posted by: Insomnica
  When: 06/09/2010 at 14:37:05

 Collision with series 1
  Posted by: radulph
  When: 05/09/2010 at 13:33:14

 HLSL calculating normals
  Posted by: miroslavign
  When: 04/09/2010 at 17:26:26

 Collision with series 1
  Posted by: ToastbrotX
  When: 04/09/2010 at 16:52:02

 HLSL calculating normals
  Posted by: Rich_Zap
  When: 04/09/2010 at 15:00:20

 Collision with series 1
  Posted by: ToastbrotX
  When: 04/09/2010 at 12:28:41

 HLSL calculating normals
  Posted by: miroslavign
  When: 04/09/2010 at 08:46:31

 Walk along a wall
  Posted by: Anonymous
  When: 03/09/2010 at 10:28:02

 model problems
  Posted by: muffinman
  When: 03/09/2010 at 06:47:32

 Vertices problem
  Posted by: Anonymous
  When: 03/09/2010 at 05:48:35

 OcTree Question
  Posted by: Zorzomezz
  When: 03/09/2010 at 04:07:03




Topic: Combining of Shadow Mapping and PRT



  
Goto parent category
  
Create a new user account


   Combining of Shadow Mapping and PRT
 Poster : daVinci
 Posts: 4
 Country : Russia
 City: Chelyabisk

  
Posted by daVinci on 29/10/2006 at 11:50:13
I really wonder if shadow mapping can be combined with PRT lighting. It would be nice to see cool soft PRT shadows for static objects and shadow mapped dynamic objects. Is it possible? What do you think?
 Poster : riemer
 Posts: 1388
 Country : Belgium
 City: Antwerp

  
Posted by riemer on 29/10/2006 at 12:36:02
Everything is possible, some things just take more time than others :)

But it should be feasible. First I would draw store the intensity of the precomputed lighting as white values in a texture. Then, for each dynamic light, I would add the intensity to the texture.

In the end, simply multiply each pixel with the corresponding (projected) value in the intenisty image.

What's your opinion on this?
 Poster : daVinci
 Posts: 4
 Country : Russia
 City: Chelyabisk

  
Posted by daVinci on 29/10/2006 at 13:19:37
It is plausible to assume that this solution can work. I have been just staring the shadows research. I want to implement shadow mapping and PRT. After that I want to try it's combined.

Actually, PRT has a lot of limitations, but it looks pretty good. I would like to know if it is safe to say shadow mapping is the best shadow technique.

The tutorial is really good. Thank you muchly.
 Poster : riemer
 Posts: 1388
 Country : Belgium
 City: Antwerp

  
Posted by riemer on 30/10/2006 at 05:33:02
For real-time 3D shadowing, you have 2 options: Shadow Mapping or Shadow Volume. There are some discussions about which one is the most performant, they both have their own pros and cons.

I opted for the shadow mapping technique, because it allowed me to show some nessecary HSLS techniques (projective texturing, setting depth values,...).

This is the wikipedia link:
http://en.wikipedia.org/wiki/Carmack's_Reverse
 Poster : Anonymous
 Posts:
 Country :
 City:

  
Posted by Anonymous on 30/05/2010 at 09:44:24
AaK7Qa  <a href="http://ojrejjwulznj.com/">ojrejjwulznj</a>, [url=http://bikxwnqsltan.com/]bikxwnqsltan[/url], [link=http://jjnszsewecat.com/]jjnszsewecat[/link], http://aadwianuqosd.com/

  
Post a new reply
 





Google
 
Web www.riemers.net
If you appreciate the amount of time I spend creating and updating
these pages, feel free to donate -- any amount is welcome !
- Website design & DirectX code : Riemer Grootjans -
©2006 Riemer Grootjans


News
Home
Forum
XNA 2.0 Recipes Book (8)
XNA 3.0 Recipes Book (8)
Downloads
Extra Reading (3)
Matrices: geometrical
Matrix Mathematics
Homogenous matrices
Community Projects (1)
Tutorials (160)
XNA 3.0 using C# (89)
DirectX using C# (54)
Series 1:Terrain (14)
Opening a window
Linking to the Device
Drawing a triangle
Camera
Rotation - Translation
Indices
Terrain creation
Terrain from file
DirectInput
Importing bmp files
Colored vertices
DirectX Light basics
Mesh creation
Mesh lighting
Series 2: Flightsim (19)
Series 3: HLSL (19)
Short Tuts (2)
Resizing problem
Checking Device caps
DirectX using C++ (15)
DirectX using VB (2)