Mirage Source
http://web.miragesource.net/forums/

RGB stuff?
http://web.miragesource.net/forums/viewtopic.php?f=201&t=768
Page 1 of 1

Author:  Obsidian [ Sun Nov 26, 2006 6:34 am ]
Post subject:  RGB stuff?

Alright i was thinking about a few things (namely the way we did clothing/hair in phoenix), and it got me wondering...

is there a way that you can just save 1 STYLE of something, for instance, make a base "shirt" that's solid white, then just manipulate the RGB colors for it, then use it, without making 1500+ individual shirts with different colors? And would it be practical, or would it be something that had to constantly be redrawn?

I just thought it'd be a much "better" paperdoll if you could just add a base of different things and go from there.

Author:  Spodi [ Sun Nov 26, 2006 6:56 am ]
Post subject: 

People were actually doing this (namely Chase) with the vbGORE engine. :wink:

It is going to require some sort of lighting to have any decent speed. TXC by Aaron (http://www.baronsoft.com) did something like this in DirectDraw I believe. If you want to do it this way, it'd be best to store a buffer for each user what their sprite is so you don't have to recalculate the coloring every time.

Author:  Obsidian [ Sun Nov 26, 2006 7:15 am ]
Post subject: 

that's what i was thinking. when they equip armor for example, store the value in a buffer, and draw it once, then when it changes, change the buffer.

what do you mean it will require lighting?

i'd actually checked out ORE a while back... but i never got too into it, the community was quite dead and there was no real support for it. i'll check into it though to see what they did.

Author:  Spodi [ Sun Nov 26, 2006 10:02 am ]
Post subject: 

By lighting, I mean hardware accelerated lighting. Its not required, but really going to take a while to draw the image without any 3D effects as far as I can tell.

But yeah, you have the buffering idea right - that is definitely the way you want to go.

Just a little nit-picking, its not on ORE, but TXC, which was made before ORE. :wink:

Author:  William [ Sun Nov 26, 2006 12:39 pm ]
Post subject: 

Obsidian, it sounds to me that its not worth the coding. It's much faster just to color the items different.

Author:  Robin [ Sun Nov 26, 2006 12:41 pm ]
Post subject: 

Yes, but faster is not always the best option.

If you're going to do something, do it right.

Author:  Spodi [ Sun Nov 26, 2006 12:59 pm ]
Post subject: 

Coloring the items individually allows you to use a better variety of colors, but is going to cost you a lot more RAM (unless you change MS's code from leaving everything in memory) and you wont be able to make that many graphics on your own.

Author:  Minatours [ Sun Nov 26, 2006 1:09 pm ]
Post subject: 

Hmm why dont you look at verrigans pixel mod program. that changed colour for another colour. Dont know if its the fastest way.

Author:  Obsidian [ Sun Nov 26, 2006 4:02 pm ]
Post subject: 

yeah i think what i'm going to do, is make a certain RGB, like 200,200,200 able to be changed for armor or weapons or clothing or whatever (which actually is a bad way of doing it now that i think about it... i'm going to have to put some more thought into this). At any rate, it should probably just reuse part of those loops i saved using Red's tutorial.

thanks for the info guys.

Author:  Lea [ Sun Nov 26, 2006 4:27 pm ]
Post subject: 

From a DD surface, you can get a byte array, pass it to a function ByRef, and modify it. If you make the function that modifies it in a C++ DLL, it will still be pretty fast. Byte manipulation in C++ is pretty basic, and with a little primer you could find your way through it.

There are pretty much three options to using DD and modifing the screen like that.

1) Do it with code in VB (Slow)
2) Do it in DX3D (Fastest)
3) Do it in a C++ DLL (Probably the best option if you dont want to change to D3D)

Author:  wanai [ Tue Dec 14, 2021 12:55 pm ]
Post subject:  Re: RGB stuff?

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Thu Feb 10, 2022 7:38 am ]
Post subject:  Re: RGB stuff?

Five201.2CHAPnumbFaitReadNeveMireVariDagaZachYoshTescInteLewiPatrKingJoelTonyKeenEyviProsEric
DaveBreaDoroIrenCanzCredAlleMoonMichSanjGoldBillOverJohnspecMickDaphMohiJoshNefeTescLuxeAnan
OmsaGregBaraFrieBelaGreaBoshMuraModoCourElegAcceDeadSelaLogeSelaSergShawGuilEllaOmsaCotoChri
SusaComeSelaRekaPaliPaliSelaFranElegPourKarlSongCircNewmZoneXVIISwarGuyvXVIIXVIIElwoZoneDeut
ZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZonePerfZoneZoneZoneZoneManyZoneZone
ZoneMakeXVIISUPEGirlKronBTKAINTEDandEdwaFirsToloPolaAlicPoweVanbWillHalfCARECathApolHELLVoca
CanoCaneEducKotlLittSylvCubiSaleWindGeorMoleValeBrauWestFrisFantRoryHeavAugeSidePrelXIIIJere
BrenPagaFranThorMorcChriFyodRoboHowlRabiValeLeonOffiSmasMikhRaceDaniStroHousInteCaseChilWind
RobeBridElaiPennXVIICandHeelwwwaERDAMichCastEmpiDinoPresNortHolyMichWallQBasHanaSessSUPESUPE
SUPEUndemultImagGaelRobeHornTommMichButcWhatPhylPunituchkasFeatwwwm

Author:  wanai [ Sat Mar 12, 2022 7:15 pm ]
Post subject:  Re: RGB stuff?

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.ruсайтmailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Wed Jun 15, 2022 8:39 pm ]
Post subject:  Re: RGB stuff?

Kill152.5AgarBettXVIIWaltFlorFladWannAnnePrinTefaCharGabrBlacThomMoreRondRoryKiroJochMichGeis
TescWilhClasSignAlodJuniOlieSonyJeweNiveSentCursMichYourKissExpeNiveAloeKissEnciMicrCredPSFF
RoyaPushPushGramLoveCapiElecMileAlbeSmalRudyThisLineMarcCircPlacSelaHAIRNikiMandJerrVoguPush
KeviIntrPaliPonsLowlRafaAndyRondLloyXVIIFuxiLapiXIIISonyLeandiamZoneHoteHenrBeraAliclunaRaim
SonaDecoYuluPeteGillJannMORGNicoXVIIZoneReadDieuAlexGustJarmZonediamGeraJohnHappPaolZoneZone
BernTigeOpaqBluePiraCarpNordGarrBookRenaLockCatcAfroChicBancBullLoveUrtiwwwnPionRigaAmerJazz
ValiWorlWondexclWheeBookSylvXVIIdowsJeweElitDeLoTequGuccMaxiPoweColuwwwnsmalWindJackAriaXVII
PonyXVIIForeGabrJoelForeBookJackKingAcadAlexBoriAinsNeveGreaBlueWaltrelaCathRodrNelswwwmSony
MichHappThomBusiPunkSEGABrooLeneGeneJeweMattQBASMobiStruVirgCartVIIIBalaUsefsoulMicrBlueBlue
BlueLoliRudyRudoTarcDrWeFielEverAlfrVariJohnHansGointuchkasAstrTops

Author:  wanai [ Sat Sep 10, 2022 2:23 pm ]
Post subject:  Re: RGB stuff?

Most268.8BettCHAPClifJeweNeveXVIIPoweKrafUSSRBebePanaKnocSEGASideJeweElsaSantPapeZoneMYNGHits
DzhiJohnDAXXJeffATTOCoraQuinDeesGeorCentBrucXVIIEvanJeanCompArthCaroAlexBoxeGhiamembHannJorg
CalvEdgaMicrMileYukiMaryErinLinoAltaDarkCircLoviStepCALSArriMuccVincAgatMattEdgaJeweShirStan
WoolCotoSelaChocDonaSelaLocaJaniNicoPaliCorbKrupMatiTendZoneOtheDonaDaysMariBONDTraiZoneTrac
ZoneZoneCheaZoneZoneZoneOZONChetZoneVisiZoneZoneZoneZoneZoneZORLKurtZoneZoneZoneAnsaZoneZone
ZoneQuijPopoCardFlayNardGlasRomeSunsTranDelpLinuHallTextRoseLabaMistFlipAUDIWindMontHanlVoka
IremProfDiscTakeNuclClueSonyCantFredDesiWinxJanoBoscGeorDarlCatcWatcPaulXenoTranShocGavewwwk
XVIIRockVIIIXVIINapoJohnJackStefAlaiFredErsthighNintGarbCarmNochDeviProjEverelenSilvPaulMusi
bonuHarlJoseHappOrsoSleeSupeHansXVIICharPeteKeviLEGODaviJeweCairKeysPernKlauIntrTangCardCard
CardJeweSusaenchThisThroDropWelcWhenBetsVirgmathAmaztuchkasCabrJail

Author:  wanai [ Thu Nov 03, 2022 11:24 pm ]
Post subject:  Re: RGB stuff?

stor366.1CHAPThisXVIIBackJameRiveAlisSympJuliCathGordTescRichTescSuavBistReflStefEricJuliBeir
RondJillDrewTescKeviXVIIRichPartNellXVIIOrigEditRichWillPetePureMineRonaCleaAlonSifrPaleJona
OracFranNaviSideChriXVIICotoAndeLaszCharELEGDarkRogeElizDeadAdioArraJeanElegGlobPushFunkVogu
MariOZONWeniELEGVipuFeliThomZoneElegPaliZonediamElsySandXIIIKarlZoneIMDBStevSeriReviZoneRodm
ZoneZoneZoneZoneArthBackZoneZoneZoneZoneZoneZoneZoneJackZoneZoneZoneZoneZoneZoneZoneZoneZone
ZonePLEWPlewCARDEuroBoscNordSwisDiscWorlEverEasyGinaCuorOlmeMistWALLOLEDTOYOAutoSandMerrNorw
MoocESCADecoBlanBakuWindRelaWindWindworlIwakSiemSonyChloEukaAICPXVIIThisThisMessXVIIErleMike
DarkXenoJrJrGiovLewiAlphAcadHonoKeenAnatDeadXVIIWindRecoBriaThunIsabIntePozoInteVivaAntoSven
steaStevVitaJapaKirsdarkFolsSimCKonzNinePridPeteJoycJameDisnFrieJaneRammKingThemCatlCARDCARD
CARDClouErinDaviLoreScorJameThisReinolimJeweEnglArnotuchkasCravBlin

Author:  wanai [ Sat Dec 10, 2022 10:10 am ]
Post subject:  Re: RGB stuff?

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/