Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Apr 18, 2024 5:08 am
All times are UTC + 0
[All]Autoshadows are generated from the wrong vertex!
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Fri Sep 03, 2004 4:44 am    Post subject:  [All]Autoshadows are generated from the wrong vertex! Reply with quote  Mark this post and the followings unread

Those who saw the help file and the civilian building example there may have noticed that auto shadows are not correct, as usual. But the result was somewhat close to what it should have been.

I know I used a very high size value. But it's also clear that the shadows were generated from the wrong point (bottom left, [0,0]). They should actually be generated from bottom right because the light comes from the bottom left.

I plan to create an algorithm to fix this problem in 3.2 and I believe the autoshadows will be more realistic... because in the current way it's impossible to find a perfect value for it. But according to my tests so far, the angle 0 seems to produce the best results... (also has a little tendency for access violation... beware O.o)



autoshadows.jpg
 Description:
misplaced shadows O.o
 Filesize:  30.94 KB
 Viewed:  1864 Time(s)

autoshadows.jpg



Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1447s ][ Queries: 14 (0.0115s) ][ Debug on ]