Texture loading dilemma

Problems building or running the engine, queries about how to use features etc.
Post Reply
tippythop
Gnoblar
Posts: 11
Joined: Thu Apr 19, 2018 10:18 am

Texture loading dilemma

Post by tippythop » Wed Mar 13, 2019 3:39 pm

Ogre Version: 1.8
Operating System: Windows 10
Render System: d3d

I've got a little dilemma with an application im in the process of coding. So I had some small issues I've had answered a while back and figured out and now im almost good to go except for something im stumped on. This project is consisting of re-writing new code for an mmo that ceased several years ago. Some of you may have seen my other posts.

Anyway to the point, its a 3d casino mmo. They had near the very end of its life over 280 some odd slot machines spread throughout the casino. All unique slot games, anyways these slot machine meshes had a dds texture overlayed on them containing the games logo and all that fancy stuff. What im trying to figure out is how in the world they got these textures to render to them. In total they had 6 different slot machine meshes, 3 reel,4 reel and 5 reel and 3 other variations.

I have found the material file that contains the slot names the first line of code is just the typical shader used for rendering the slot blank texture. Below this is ALL the game names, example: material sfNameofSlotSh and so on the same for 280 others. There 0 scene files i can find that have anything to do with rendering these slot faces.

I have the casino scenes loaded in a scene editor and it just shows the slot blank texture. There are also 15 or so table games and signs attached to these that show a blank texture that is set in a material file again with the game names. Is it possible their game client handled this somehow?

In game these slots and table were clickable objects that launched the corresponding game.

Code: Select all

material SlotFaceSh : bm_FixedFunction
{
	technique
	{
		pass
		{
			ambient 1 1 1 1
			diffuse 1 1 1 1
			specular 0 0 0 0
			emissive 0 0 0

			texture_unit
			{
				filtering anisotropic
				max_anisotropy 4
				texture_alias DiffuseMap
				texture Slot_Face_Blank.dds
			}
		}
	}
}

material sfRajahsRupies : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_RajahsRupies.dds
}
material sfBlackbeardsPirateGameShow : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_BlackbeardGameshow.dds
}
material sfHighSeasAdventure : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_HighSeas.dds
}
material sfGreenGrab : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_GreenGrab.dds
}
material sfLuckyBreak : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_LuckyBreak.dds
}
material sfShockwave : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_Shockwave.dds
}
material sfPhantomBabies : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_PhantomBabies.dds
}
material sfDragonstone : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_Dragonstone.dds
}
material sfTunzamunny : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_Tunzamunny.dds
}
material sfBuckaneers : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_Buckaneers.dds
}
material sfRealityRichesTV : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_RealityRiches.dds
}
material sfMajorLeagueMillions : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_MajorLeagueMillions.dds
}
material sfKashKong : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_KashKong.dds
}
material sfMorgansBounty : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_MorgansBounty.dds
}
material sfCentaurus : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_Centaurus.dds
}
material sfBoPeep : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_BoPeep.dds
}
material sfWizardry : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_Wizardry.dds
}
material sfWestwardDough : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_WestwardDough.dds
}
material sfDoughDough : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_DoughDough.dds
}
material sfPopcorn : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_Popcorn.dds
}
material sfJackpot : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_Jackpot.dds
}
material sfBugs : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_Bugs.dds
}
material sfMoneyWorks : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_MoneyWorks.dds
}
material sfMadMultiplier : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_MadMultiplier.dds
}
material sfProfessor : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_Professor.dds
}
material sfShiverMeTimbers : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_ShiverMeTimbers.dds
}
material sfZoltar : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_Zoltar.dds
}
material sf5XDiceSuperSize : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_5XDiceSuperSize.dds
}
material sfCheddarChase : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_CheddarChase.dds
}
material sfLuckyBreak : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_LuckyBreak.dds
}
material sfPatriotWild3x : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_PatriotWild3X.dds
}
material sfWinnabunchBonus : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_WinnabunchBonus.dds
}
material sfCoolCash : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_CoolCash.dds
}
material sfDoubleTripleYourMoney : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_DoubleTripleYourMoney.dds
}
material sfDoubloons : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_Doubloons.dds
}
material sfEmperorsGold : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_EmperorsGold.dds
}
material sfMadMoney : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_MadMoney.dds
}

material sfDinosaurs : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_Dinosaurs.dds
}
material sfFlowerPower : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_FlowerPower.dds
}
material sfPairsRe : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_Pairs.dds
}
material sfPizzaPieRe : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_PizzaPieRe.dds
}
material sfSpyGamesRe : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_SpyGames.dds
}
material sfSweetThings : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_SweetThings.dds
}
material sfTheOrientRe : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_TheOrientRe.dds
}
material sfBenjamins : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_Benjamins.dds
}
material sfCashedAway : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_CashedAway.dds
}
material sfVideoPoker : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_VideoPoker.dds
}
material sfAztecSun : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_AztecSun.dds
}
material sfFactorFiction : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_FactorFiction.dds
}
material sfTokyoLights : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_TokyoLights.dds
}
material sfCupidsArrow : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_CupidsArrow.dds
}
material sfBongoBango : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_BongoBango.dds
}
material sfDresstheGeek : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_DressGeek.dds
}
material sfBeefcakes : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_Beefcakes.dds
}
material sfFruitFest : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_FruitFest.dds
}
material sfGoingOnce : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_GoingOnce.dds
}
material sfGlitzBlitz : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_GlitzBlitz.dds
}
material sfPolloLoco: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_PolloLoco.dds
}
material sfCeatureCash: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_CreatureCash.dds
}
material sfBargainBuyers: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_BargainBuyers.dds
}
material sfBowlARama: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_BowlARama.dds
}
material sfBartenderOlympics: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_BartenderOlympics.dds
}
material sfBigHouse: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_BigHouse.dds
}
material sfHalloween: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_Haloween.dds
}
material sfMaestrosMoolah: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_MaestrosMoolah.dds
}
material sfWhatsTheDiff: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_WhatsTheDiff.dds
}
material sfLongHaul: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_LongHaul.dds
}
material sfSnowballWars: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_SnowballWars.dds
}
material sfShadyAcres: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_ShadyAcres.dds
}
material sfLeonidas: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_Leonidas.dds
}
material sfLongestDrive: SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_LongestDrive.dds
}
material sfCashClimb : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotFT_Face_CashClimb.dds
}
material sfThePlayer : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_ThePlayer.dds
}
material sfCasinoCash : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_CasinoCash.dds
}
material sfHyperPotamus : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_HyperPotamus.dds
}
material sfEarthquake : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_Earthquake.dds
}
material sfFairies : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotRT_Face_Fairies.dds
}
material sfMakinMoney : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_MakinMoney.dds
}
material sfTreasureTrain : SlotFaceSh
{
	set_texture_alias DiffuseMap SlotHT_Face_TreasureTrain.dds
}
0 x

Post Reply