Tutorial - Rendering A Shadow Map

User avatar
byrd55621
Crushed Dissenter
Posts: 525
Joined: Sat Mar 07, 2015 6:41 pm
Team: Quality designs
Location: ohio
Contact:

Re: Tutorial - Rendering A Shadow Map

Postby byrd55621 » Sun May 08, 2016 2:28 pm

Do skins cheap!!!!
If you enjoy my content please donate https://www.paypal.me/ByrdGreen
Feel free to visit my facebook: https://www.facebook.com/556Designs/

User avatar
Bradclay306
Posts: 137
Joined: Fri Aug 19, 2016 4:42 pm
Location: england

Re: Tutorial - Rendering A Shadow Map

Postby Bradclay306 » Wed Jan 11, 2017 3:12 pm

ok so i did everything you said, it was looking fine and i placed the file in my personal folder and nothing is coming up in game??? help? i made it output from POV-ray as a PBM then exported it to photoshop rescaled it to 1025 and saved it as shadows.PGM.. no clue whats going on

Image

Image

Image
-If you like riding my shitty tracks please donate so i can buy subway footlong subs <3 https://www.paypal.me/Bclay306

barrington314
Posts: 6049
Joined: Fri Feb 18, 2011 6:03 pm
Team: me
Location: Charleston, SC

Re: Tutorial - Rendering A Shadow Map

Postby barrington314 » Wed Jan 11, 2017 3:54 pm

Is it grayscale?

User avatar
Bradclay306
Posts: 137
Joined: Fri Aug 19, 2016 4:42 pm
Location: england

Re: Tutorial - Rendering A Shadow Map

Postby Bradclay306 » Wed Jan 11, 2017 5:42 pm

correction. i missed a step. how do you set it to greyscale?
-If you like riding my shitty tracks please donate so i can buy subway footlong subs <3 https://www.paypal.me/Bclay306

User avatar
Bradclay306
Posts: 137
Joined: Fri Aug 19, 2016 4:42 pm
Location: england

Re: Tutorial - Rendering A Shadow Map

Postby Bradclay306 » Wed Jan 11, 2017 5:52 pm

barrington314 wrote:Is it grayscale?


ok, so ive saved it as a greyscale. but when i save it as a shadows.PGM . the pgm disapears which it didnt before and it has the ps logo next to it. it wont show up still?
-If you like riding my shitty tracks please donate so i can buy subway footlong subs <3 https://www.paypal.me/Bclay306

barrington314
Posts: 6049
Joined: Fri Feb 18, 2011 6:03 pm
Team: me
Location: Charleston, SC

Re: Tutorial - Rendering A Shadow Map

Postby barrington314 » Wed Jan 11, 2017 6:21 pm

Bradclay306 wrote:
barrington314 wrote:Is it grayscale?


it has the ps logo next to it.

I've always wondered why that happens to people. It doesn't happen to me so I haven't looked into it.

I'm curious if you take this file and place it in your track folder if it changes to the ps logo...
http://www.mediafire.com/file/7pzkezbp7 ... hadows.rar

When you are saving it as shadows.pgm, are you changing that "pgm" after you've saved or are you at this point... changing the b to g and then clicking save? Also, see how mine has the "use lower case extension" checked and i am using lower case? I wonder if that could make a difference? These are all things that I'm not sure if it matters or not but worth trying I guess.
Image

User avatar
Bradclay306
Posts: 137
Joined: Fri Aug 19, 2016 4:42 pm
Location: england

Re: Tutorial - Rendering A Shadow Map

Postby Bradclay306 » Wed Jan 11, 2017 6:36 pm

barrington314 wrote:
Bradclay306 wrote:
barrington314 wrote:Is it grayscale?


it has the ps logo next to it.

I've always wondered why that happens to people. It doesn't happen to me so I haven't looked into it.

I'm curious if you take this file and place it in your track folder if it changes to the ps logo...
http://www.mediafire.com/file/7pzkezbp7 ... hadows.rar

When you are saving it as shadows.pgm, are you changing that "pgm" after you've saved or are you at this point... changing the b to g and then clicking save? Also, see how mine has the "use lower case extension" checked and i am using lower case? I wonder if that could make a difference? These are all things that I'm not sure if it matters or not but worth trying I guess.
Image


the file you sent appears with a ps logo but its a pgm file? which makes no sense? i was saving it as a .PGM and a photoshop logo was coming up. and if i save it as a .PBM the pbm logo comes up and if i change the end to .pgm nothing changes?
http://www.mediafire.com/file/v2v9dpq2o ... hadows.rar

this is the file at the right size 1025 in a pbm format after pov-ray. can you get it in the right format and send it me? see if that works? its that one isnt greyscale btw
-If you like riding my shitty tracks please donate so i can buy subway footlong subs <3 https://www.paypal.me/Bclay306

barrington314
Posts: 6049
Joined: Fri Feb 18, 2011 6:03 pm
Team: me
Location: Charleston, SC

Re: Tutorial - Rendering A Shadow Map

Postby barrington314 » Wed Jan 11, 2017 6:44 pm

http://www.mediafire.com/file/h38xzxo5h ... hadows.rar
This file SHOULD work. If it doesn't I think you have some other kind of issue where your PC doesn't want to accept that file. lol. Try googling why your pgm files show up with ps logo.

barrington314
Posts: 6049
Joined: Fri Feb 18, 2011 6:03 pm
Team: me
Location: Charleston, SC

Re: Tutorial - Rendering A Shadow Map

Postby barrington314 » Wed Jan 11, 2017 6:47 pm

wait. i sent you the bmp back on accident.
http://www.mediafire.com/file/7o9plyo3b ... hadows.rar

User avatar
Bradclay306
Posts: 137
Joined: Fri Aug 19, 2016 4:42 pm
Location: england

Re: Tutorial - Rendering A Shadow Map

Postby Bradclay306 » Wed Jan 11, 2017 6:55 pm

barrington314 wrote:wait. i sent you the bmp back on accident.
http://www.mediafire.com/file/7o9plyo3b ... hadows.rar


ok its showing up with the ps logo but its a pgm file.. and its not showing up in game. could i possibly ask to send you the track and put the pgm file in the folder and see if it works? been trying this all day aha.
-If you like riding my shitty tracks please donate so i can buy subway footlong subs <3 https://www.paypal.me/Bclay306

barrington314
Posts: 6049
Joined: Fri Feb 18, 2011 6:03 pm
Team: me
Location: Charleston, SC

Re: Tutorial - Rendering A Shadow Map

Postby barrington314 » Wed Jan 11, 2017 6:57 pm

Sure. go ahead and PM me so we arent hogging this thread up.

User avatar
Tiago Freitas #23
Posts: 212
Joined: Fri Dec 16, 2016 6:33 pm
Team: JR Racing Team
Contact:

Re: Tutorial - Rendering A Shadow Map

Postby Tiago Freitas #23 » Sat Jan 21, 2017 12:28 pm

So why i get this?
Image

Shadows.ppm is 1025x1025 as the terrain.png

Shadows.ppm is in Gray scale

What i did wrong?

User avatar
Tiago Freitas #23
Posts: 212
Joined: Fri Dec 16, 2016 6:33 pm
Team: JR Racing Team
Contact:

Re: Tutorial - Rendering A Shadow Map

Postby Tiago Freitas #23 » Sat Jan 21, 2017 12:40 pm

sorry i wrote wrong is shadows.pgm not shadows.ppm as i said

User avatar
Tiago Freitas #23
Posts: 212
Joined: Fri Dec 16, 2016 6:33 pm
Team: JR Racing Team
Contact:

Re: Tutorial - Rendering A Shadow Map

Postby Tiago Freitas #23 » Sat Jan 21, 2017 1:41 pm

I fix it dont worry guys

User avatar
Tiago Freitas #23
Posts: 212
Joined: Fri Dec 16, 2016 6:33 pm
Team: JR Racing Team
Contact:

Re: Tutorial - Rendering A Shadow Map

Postby Tiago Freitas #23 » Sat Jan 21, 2017 1:41 pm

fixed not fix it
:lol:


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 1 guest