tag:blogger.com,1999:blog-1023441640234597436.post7070871978569574886..comments2023-09-22T13:25:07.113-04:00Comments on Graphics Runner: Dual-Paraboloid Shadow MapsKyle Haywardhttp://www.blogger.com/profile/00654406875137720609noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-1023441640234597436.post-76687823901220988752011-09-23T19:47:47.389-04:002011-09-23T19:47:47.389-04:00IIRC when you're rendering the depth/shadow ma...IIRC when you're rendering the depth/shadow map, you're rendering from the center of the paraboloid and the camera is setup to essentially have the light attenuation set as the far plane.<br /><br />So now when you're rendering your shading pass, you need your z in the same space, and because you're rendering with your view camera near z and far z can be much different, so you need to use L / lightAttenuation (which should be equivalent to the light's near/far equation).Kyle Haywardhttps://www.blogger.com/profile/00654406875137720609noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-12447708303425699762011-09-23T12:02:19.309-04:002011-09-23T12:02:19.309-04:00Hi! Very interesting article, just a question: Why...Hi! Very interesting article, just a question: Why do you use "L / LightAttenuation" for z and not "(L - NearPlane) / (FarPlane - NearPlane)" as you did for building the shadow map ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-72636018831148395852011-05-11T03:47:49.646-04:002011-05-11T03:47:49.646-04:00I read your source code but I am using a point lig...I read your source code but I am using a point light located at the origin, so how do we setup the paraboloid's view matrix for the front and back map?<br /><br />instead of using d0(0, 0, -1) and d1(0, 0, 1) to set value for direction variable in shader source code, I use it to setup the view matrix like <br /><br />LighPostion + d0 (for front map)<br />LighPostion + d1 (for back map)<br /><br />I did that to setup the LookAt point being used for paraboloid's view matrix. Then before rendering the scene, I create shadow maps for front and back paraboloid by modifying view matrix for each map. But how can I modify it when I render the scene?xzhttps://www.blogger.com/profile/09806682409254948492noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-58458997612653732712011-05-02T20:56:21.960-04:002011-05-02T20:56:21.960-04:00Thank you, now I can download the source code.Thank you, now I can download the source code.xzhttps://www.blogger.com/profile/09806682409254948492noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-16830635932081070492011-05-02T13:15:41.776-04:002011-05-02T13:15:41.776-04:00It's probably an issue with MS skydrive, as it...It's probably an issue with MS skydrive, as it seems to be working for me. If it still doesn't work now, then let me know.Kyle Haywardhttps://www.blogger.com/profile/00654406875137720609noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-43019910115818765992011-05-02T08:05:42.923-04:002011-05-02T08:05:42.923-04:00Sorry, I cannot download the source code. Please r...Sorry, I cannot download the source code. Please reupload it if you have time.<br /><br />Thank.xzhttps://www.blogger.com/profile/09806682409254948492noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-63645295381703508312008-07-27T15:06:00.000-04:002008-07-27T15:06:00.000-04:00LOL, hey they are bad enough! It's the card more t...LOL, hey they are bad enough! It's the card more than anything else dude, it sux... bit diff for you guys over there in the US you can get the hardware at a cut price compared to here in the UK, rip of Britan! :( You lucky swines!! lolCharles Humphreyhttps://www.blogger.com/profile/10935746329039730399noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-51328287341896514002008-07-22T17:04:00.000-04:002008-07-22T17:04:00.000-04:00Hey charles ;) Your laptop specs aren't that bad J...Hey charles ;) Your laptop specs aren't that bad <BR/><BR/>JeremyUnknownhttps://www.blogger.com/profile/07094126611117577414noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-73759104611846302722008-07-18T11:12:00.000-04:002008-07-18T11:12:00.000-04:00Well you could also use the pack/unpack functions ...Well you could also use the pack/unpack functions and still use the ARGB32 surface format :)Kyle Haywardhttps://www.blogger.com/profile/00654406875137720609noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-54509605164643923072008-07-18T10:45:00.000-04:002008-07-18T10:45:00.000-04:00:( SM3.....Guess I can do a build for the 360 and ...:( SM3.....<BR/><BR/>Guess I can do a build for the 360 and see how that pans out.Charles Humphreyhttps://www.blogger.com/profile/10935746329039730399noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-53412794374646610942008-07-17T17:43:00.000-04:002008-07-17T17:43:00.000-04:00:) I should have it up by tomorrow.:) I should have it up by tomorrow.Kyle Haywardhttps://www.blogger.com/profile/00654406875137720609noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-84358979611082052992008-07-17T16:30:00.000-04:002008-07-17T16:30:00.000-04:00Dual parabaloid VSM shadows? Man I'm so excited I ...Dual parabaloid VSM shadows? Man I'm so excited I can't wait for the next post. ^_^Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-76146244024465294022008-07-17T16:23:00.000-04:002008-07-17T16:23:00.000-04:00Not tried it yet, still uploading my example of th...Not tried it yet, still uploading my example of the last one I broke, but it don't bode well does it lol. <BR/><BR/>It's your own fault posting such tempting treats for me to try out!!!<BR/><BR/>You could always wire me £2000 and I could get a nice laptop and stop bugging you with my issues lol.Charles Humphreyhttps://www.blogger.com/profile/10935746329039730399noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-13069583962750146712008-07-17T16:08:00.000-04:002008-07-17T16:08:00.000-04:00Lol. You're killin' me. This one does reflections ...Lol. You're killin' me. This one does reflections and shadows, so maybe you're pretty much screwed if the last one only ran below 30FPS.Kyle Haywardhttps://www.blogger.com/profile/00654406875137720609noreply@blogger.comtag:blogger.com,1999:blog-1023441640234597436.post-88643374491950086202008-07-17T15:21:00.000-04:002008-07-17T15:21:00.000-04:00Another one for me to break on my crappy laptop lo...Another one for me to break on my crappy laptop lol :)Charles Humphreyhttps://www.blogger.com/profile/10935746329039730399noreply@blogger.com