[CF-Devel] smoothing code.

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Wed Jul 9 16:03:17 CDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Mercredi 9 Juillet 2003 08:56, Mark Wedel a écrit :
>
     
      tchize wrote:
     
     >
     
      > I used this standard here
     
     >
     
      > for grass.base.111.png i named the pic sgrass.base.111.png
     
     >
     
      > i put the picture in arch/ground/smooth/grasslike
     
     >
     
     
     >
     
        I'd personally probably prefer it to be something like
     
     >
     
      grass_sm.base.111.png or the like, and have these smoothed graphics in the
     
     >
     
      same location as the graphics they smooth (and not all dumped into one
     
     >
     
      directory that is only indirectly associated with the graphics they
     
     >
     
      smooth).
     
     >
     
     
     >
     
        I just think that is a little easier to deal with/maintain.  If
     
     >
     
      necessary, create new subdirectories, but since there is only one smooth
     
     >
     
      graphic per image, that probably isn't necessary.
     
     >
     
     
     >
     
        I just find it easier to know that if I do something like a 'mv grass*'
     
     >
     
      that I'm getting all the relevant data for an object, and not that some
     
     >
     
      pieces may be missing.
     
     >
     
     
     >
     
        it'd probably also be nice to be able to put the 'smooth' line in the arc
     
     >
     
      or face file vs using a file in the lib directory - same thing - locality
     
     
Well the problem is that 
1 the pic used for smoothing is not dependent on object but on it's face (an 
animated object will have several smooths, one for each step of animation), 
so i can't put it in the arc file.
2 I assumed what you call the face file is the .png file (like 
grass.base.111.png). I can't see a way to put this in the picture
I understand the actual location of smooth datas is a bit innapropriate, but 
until someone has a better usable suggestion.

3 suggestion: i could put a file at the root of the arch directory which would 
be copied directly to the lib dir by the collect script.

>
     
      of information.  Just have the collect script pull out the smooth lines as
     
     >
     
      it processes the arc's (As it does for animatinos now).
     
     >
     
     
     >
     
        This isn't that big an issue, but I'd think it make things easier to
     
     >
     
      maintain.
     
     >
     
     
     >
     
     
     >
     
     
     >
     
      _______________________________________________
     
     >
     
      crossfire-devel mailing list
     
     >
     
     
      crossfire-devel at lists.real-time.com
      
      
     >
     
     
      https://mailman.real-time.com/mailman/listinfo/crossfire-devel
      
      
     -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/DIMbHHGOa1Q2wXwRAsGWAJ4lbhpxzRDPr8JHU9sEAeF6f7LOEwCdGx0m
lRd7lOJK9DJECXNxGaszo9o=
=HlFi
-----END PGP SIGNATURE-----


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list