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 Fri Jun 13, 2025 4:59 am
All times are UTC + 0
Optimize pasting shadow frames?
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Mon Jun 02, 2025 3:41 am    Post subject:  Optimize pasting shadow frames? Reply with quote  Mark this post and the followings unread

Can I suggest the algorithm for pasting into shadow frames ignores the colour matching and just does a simple binary yes/no test for each pixel?

This wouldn't interfere with any other use case, since the shadows option has to be selected in the menu.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Mon Jun 02, 2025 11:32 am    Post subject: Reply with quote  Mark this post and the followings unread

Also, thinking about it some more, it might be also doable to avoid colour matching when copying and pasting from one shp to another using the same palette within the program?

So for example making an urban version of a temperate building, the unittem/uniturb.pal is the same for both, this would mean 7 of the 8 frames are identical, only the rubble being different... it should be like 100ms to paste from one to the other not 30sec.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] 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.1746s ][ Queries: 11 (0.0109s) ][ Debug on ]