Tutorial - Rendering A Shadow Map
Re: Tutorial - Rendering A Shadow Map
Hard to say without anything specific. Do the shadows that do show up match the bales exactly?
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 907
- Joined: Mon Sep 02, 2013 6:18 pm
- Team: MotoPin Racing
- Location: idaho
Re: Tutorial - Rendering A Shadow Map
Never saw your reply JLV. I just tried it all again and there is no shadows at all even though it does a render. The ones I thought were faint shadows were actually spots on my screen
Any ideas? Everything is working like it should except there are no visable shadows in the render.
Any ideas? Everything is working like it should except there are no visable shadows in the render.
Re: Tutorial - Rendering A Shadow Map
There are a lot of ways to get a blank render. There's no way to guess without seeing the files.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 907
- Joined: Mon Sep 02, 2013 6:18 pm
- Team: MotoPin Racing
- Location: idaho
Re: Tutorial - Rendering A Shadow Map
Does track.pov end with a } character?
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 907
- Joined: Mon Sep 02, 2013 6:18 pm
- Team: MotoPin Racing
- Location: idaho
-
- Posts: 907
- Joined: Mon Sep 02, 2013 6:18 pm
- Team: MotoPin Racing
- Location: idaho
Re: Tutorial - Rendering A Shadow Map
Just noticed when I cursor to the bottom corner of my map its the 2044 but my terrain.png is 1025x1025? Think Im getting really confused on this one...
-
- Posts: 907
- Joined: Mon Sep 02, 2013 6:18 pm
- Team: MotoPin Racing
- Location: idaho
Re: Tutorial - Rendering A Shadow Map
Re: Tutorial - Rendering A Shadow Map
Your scale is set to 2, so you'd want 2048 instead of 1638.4. You might find this shadows.pov file easier to modify since you just set the "#declare SCALE" line and let the script figure out the size for the field and camera.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 907
- Joined: Mon Sep 02, 2013 6:18 pm
- Team: MotoPin Racing
- Location: idaho
Re: Tutorial - Rendering A Shadow Map
OK that did it, thanks once again sir. Just so I know, where do you find or how to you see what scale it is? And how is it changed? Since last time I had you help me it was 1 and now its 2?
-
- Posts: 6614
- Joined: Fri Feb 18, 2011 6:03 pm
- Team: me
- Location: Charleston, SC
Re: Tutorial - Rendering A Shadow Map
slowngreen wrote:9 2.000000 -546.916382 7.866072
2nd number.jlv wrote:Your scale is set to 2
To get the 2048 like JLV told you; (Resolution -1) x scale. So in your case (1025-1)x2.
-
- Posts: 907
- Joined: Mon Sep 02, 2013 6:18 pm
- Team: MotoPin Racing
- Location: idaho
Re: Tutorial - Rendering A Shadow Map
Ok awesome thanks. Appreciate you guys taking the time to help, a map with shadows is so much more complete in my opinion.
Re: Tutorial - Rendering A Shadow Map
"statues" should have been defined in "track.pov", so the problem is likely in "track.pov".
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Re: Tutorial - Rendering A Shadow Map
Yes, I accidentely deleted #declare statues = union { when I was removing the startinggate lines from the track.pov.
Now it ia working fine
Now it ia working fine