Author Topic: Preset conversion to .png  (Read 1616 times)

Offline LittleBlackMoon

  • Familiar Grounds Dweller
  • **
  • Posts: 50
  • Country: ca
  • Floof-O-Meter: 1
    • View Profile
Preset conversion to .png
« on: July 14, 2016, 04:53:28 pm »
Hey guys!

I'm making a preset and I plan to add some transparency and other things as well. So I converted everything(preset notepad, preset images) to png, but now it is showing up all white on the Preset Maker. Not sure what happened! Please help!

Thanks

Offline Reaper

  • Exotic Butters
  • Community Champion
  • ****
  • Posts: 2,498
  • Country: us
  • Floof-O-Meter: 72
  • OOF
    • http://firesboss.deviantart.com/
    • ravenmccain1
    • witheredfoxy12
    • View Profile
Re: Preset conversion to .png
« Reply #1 on: July 14, 2016, 05:03:38 pm »
You probably messed up with the coding or the files which probably made it turn your preset white.


Avatar By Spooks :3

Offline LittleBlackMoon

  • Familiar Grounds Dweller
  • **
  • Posts: 50
  • Country: ca
  • Floof-O-Meter: 1
    • View Profile
Re: Preset conversion to .png
« Reply #2 on: July 14, 2016, 05:07:28 pm »
You probably messed up with the coding or the files which probably made it turn your preset white.

material preset_3_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3bodyL.png
         }
      }
   }
}
material preset_3_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3bodyR.png
         }
      }
   }
}
material preset_3_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3head.png
         }
      }
   }
}
material preset_3_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3head.png
         }
      }
   }
}
material preset_3_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eyeL.png
         }
      }
   }
}
material preset_3_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eyeR.png
         }
      }
   }
}
material preset_3_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3tail.png
         }
      }
   }
}
material preset_3_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_3mane.png
         }
      }
   }
}



Here is my coding, if you see something can you tell me what I did wrong?

Thanks

Offline Shazadah

  • Dedicated Supporter
  • ***
  • Posts: 259
  • Country: us
  • Floof-O-Meter: 11
  • Call me NaruWolf
    • http://shay-wolf.deviantart.com
    • https://www.youtube.com/user/Mid
    • View Profile
Re: Preset conversion to .png
« Reply #3 on: July 14, 2016, 05:18:49 pm »
Mmmk. If you literally converted the notepad file, don't. It doesn't need to be, just leave it as is.

Second of all, in the preset's coding (the notepad file), it should already be set to .jpg, so go into the notepad file and change all the .jpg to .png and save. Once that's done you should be able to see your preset in the maker.

For transparency codes and other things, check out this thread here--->http://www.feral-heart.com/smf/index.php?topic=26062.0

Good luck to you floof!

EDIT:
I've been ninjaed...

I don't see anything wrong with your coding but I could be blind. Try switching preset folders, and/or make sure all your file names match up with the preset's coding.

Offline LittleBlackMoon

  • Familiar Grounds Dweller
  • **
  • Posts: 50
  • Country: ca
  • Floof-O-Meter: 1
    • View Profile
Re: Preset conversion to .png
« Reply #4 on: July 14, 2016, 05:53:10 pm »
Wow, I am just out of it, I totally forgot to save the new version of the notepad. It works now, thanks for the help!!

Offline LordSuragaha

  • The Karen Slayer
  • Immortal Legend
  • *****
  • Posts: 11,027
  • Country: 00
  • Floof-O-Meter: 1052
    • View Profile
Re: Preset conversion to .png
« Reply #5 on: July 14, 2016, 05:57:57 pm »
Locking this thread now since the issue has been solved.