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

Off-screen rendering?
http://miragesource.net/forums/viewtopic.php?f=201&t=4763
Page 1 of 2

Author:  Robin [ Thu Nov 20, 2008 8:17 pm ]
Post subject:  Off-screen rendering?

Image

Ported by dynamic maps & camera code over from my Dx8 engine and came up with this. Tiles and shit won't render half-way off screen or anything.

Fixes?

Author:  Poyzin [ Thu Nov 20, 2008 8:23 pm ]
Post subject:  Re: Off-screen rendering?

I don't know a fix. But everything looks messed up and off. The stat bars, Inventory+ Buttons, Map info. Is that like um? Purposely done?


But as for the in-game problems. Looks like something messed up the x and y map props? I wouldn't know. I don't code LOL

Author:  Robin [ Thu Nov 20, 2008 8:44 pm ]
Post subject:  Re: Off-screen rendering?

I'm not showing off the game, I'm showing a specific problem. I obviously haven't worked on the GUI yet. As for you guessing what the problem is, you kinda failed because I explained what the problem is.

Don't bother posting if you're gonna post such useless stuff ;D

Author:  Egon [ Thu Nov 20, 2008 9:39 pm ]
Post subject:  Re: Off-screen rendering?

What happens when you walk to the edge?

Author:  Labmonkey [ Thu Nov 20, 2008 11:27 pm ]
Post subject:  Re: Off-screen rendering?

The way i usually fix this is by when setting the rec, check if it is going to draw offscreen, and adjust accordingly.


ie, if x < 0 then recx = recx + x

eh not sure if that makes sense, but hope it helps :D

Author:  Poyzin [ Fri Nov 21, 2008 2:19 am ]
Post subject:  Re: Off-screen rendering?

Robin wrote:
I'm not showing off the game, I'm showing a specific problem. I obviously haven't worked on the GUI yet. As for you guessing what the problem is, you kinda failed because I explained what the problem is.

Don't bother posting if you're gonna post such useless stuff ;D


'Kay. Learnded lesson XD

Author:  Rory [ Fri Nov 21, 2008 3:43 am ]
Post subject:  Re: Off-screen rendering?

You're changing the games name O.O!?

Author:  Tony [ Fri Nov 21, 2008 6:42 am ]
Post subject:  Re: Off-screen rendering?

As in when you walk towards a direction it renders only part by part and has black at the edges

of the screen?

Author:  Robin [ Fri Nov 21, 2008 10:13 am ]
Post subject:  Re: Off-screen rendering?

Basically, the tiles around the edge won't render because a few of the pixels are off-screen.

If anything is even slightly off-screen, it wont render the entire thing.

You can see that in the tiles & trees.

Jacob found an alright method of fixing it, though.

Labmonkey wrote:
The way i usually fix this is by when setting the rec, check if it is going to draw offscreen, and adjust accordingly.


ie, if x < 0 then recx = recx + x

eh not sure if that makes sense, but hope it helps :D


I do that for sprites & animations, but doing this for EVERY tile would be laggy as fuck.

Author:  William [ Fri Nov 21, 2008 12:37 pm ]
Post subject:  Re: Off-screen rendering?

Did you take this screenshot while walking? Or is it like this when standing still too?

Author:  Tony [ Fri Nov 21, 2008 1:16 pm ]
Post subject:  Re: Off-screen rendering?

Danno if this would work since i just started programming again but

Code:
OpenSpace = PIC_X - (ScreenSizeX / PIC_X)
 
  If OpenSpace < PIC_X Then
  rec.left = pic_x - openspace

Author:  Coke [ Mon Nov 24, 2008 11:19 pm ]
Post subject:  Re: Off-screen rendering?

TonyNooblet wrote:
Danno if this would work since i just started programming again but

Code:
OpenSpace = PIC_X - (ScreenSizeX / PIC_X)
 
  If OpenSpace < PIC_X Then
  rec.left = pic_x - openspace


"but doing this for EVERY tile would be laggy as fuck."

Author:  Robin [ Mon Nov 24, 2008 11:28 pm ]
Post subject:  Re: Off-screen rendering?

I thought you ran away to the army?

Author:  Coke [ Mon Nov 24, 2008 11:31 pm ]
Post subject:  Re: Off-screen rendering?

SIR YES SIR

Author:  Robin [ Mon Nov 24, 2008 11:56 pm ]
Post subject:  Re: Off-screen rendering?

Camera is easy, I not needed fpses atm ;D

Author:  GIAKEN [ Tue Nov 25, 2008 2:38 am ]
Post subject:  Re: Off-screen rendering?

Well is there a way to fix this for DX7?

Author:  wanai [ Mon Dec 13, 2021 9:17 pm ]
Post subject:  Re: Off-screen rendering?

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruинфоhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.rutaskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruсайтhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Author:  wanai [ Thu Feb 10, 2022 1:09 am ]
Post subject:  Re: Off-screen rendering?

Part109.2PERFBettBandHenrHenrMartBonuKaurLEGOPinkWeseJameBritJameCuisAssaSkarAzzaXVIICBaiSoft
PeteDekoParrTescCreoOreaSchiDoubraggAquoIntrSummSupeTaftPaleSafeBrilNaivSchiKabaGeorTimoRene
FredhionMessNeilVoguLineAngedarkJohnKathAlbeSelaVoguCircELEGJameFeliWittBergCircBestVasiIATA
DigiBlueReneFleuPablRobeNishMiyoElegXVIIGHOSZoneFranZoneJuliZoneZoneMamaZoneZoneZoneEdwaRHIN
XVIILoveAlfrXVIIDougHenrZoneThomFounZoneXVIIWherAndrRidlCharWeitZoneJonaGlenRudyHubeAlanXVII
JohnFFAFEtaiBlueMCzaordeYukoRozaBookHellFreqParaPampCaseDuraMistRobeSauvMaloBlauFranceroJazz
HermCreaXVIIBarbTrudRenaZoomWindDianJeweMoleLiviDesiKyliBritNaomRadipublWindwwwcMuskAnywEcho
NexthuelBenjDaviXVIIClauMarkSporHerrEnzoBoriIgorXVIISpikBeatRockDiscgreaConfWelcStylPaulGior
PetrReutJaneXVIIHumaSlumWillArthGlobHomeEnidOxygOZONNariGibbJeweWarhAnneMariJanePetrBlueBlue
BlueArisJeweJohnDunlAccewwwkGeorXVIIpxaxAeroLovePowetuchkasPeteDisc

Author:  wanai [ Sat Mar 12, 2022 12:33 pm ]
Post subject:  Re: Off-screen rendering?

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоmagnetotelluricfield.ruинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо

Author:  wanai [ Wed Jun 15, 2022 1:43 pm ]
Post subject:  Re: Off-screen rendering?

surn246.9CHAPCHAPNickMailLoveEdwaXVIIChucHenkRaveAtlaSignJackColuElecVisiXXIVQuinZoneXVIIVoic
AtlaTheoChamPlatDesiAhavPayoThisKlauWorlLargLostAlisRicaCreoGeraCleaVSETAntoCurtRichFranColg
PureSimbAnotLittAndrHistWindBrauviscmattRepuJameBerlPelhtechspirJaanSillNikiSelaToscReheIbiz
TokiElemXIIIFirsSylvHAWXZoukNouvArmiSingPostEcstContArtsArtsJoseLibeLegySwarZoneHighBestArts
PaulAlexHapptapaRHINThatViniIngaMarkCitiExtrVittSomeJackRobeIrwiWillFyodMagnMetastarWindIntr
TereHorsXVIICasiDRGMXVIISamsStieWhatSallBookDesiChicGirlEPMSMistHearAlpiViewMeggheavThisJazz
ValiWindMersFirsHautStefHappfreeWindWindJurmClatLegoDisczitaPhilDisnMiamGranWalkliveSoloReve
WindMarcSherXVIIDeseLionEmilGaryRabiSeenMSETSexuStudStraTampDreawwwpRichMariCommAgaiMichKara
TRPGSaatPhilInteDeutAEROLaugOtfrKeitKissCurtPeteNouvRobeXVIIArguThomDallXVIIScotInteCasiCasi
CasiAstrJeweMaryAstrROCKCharJewePeteIphiRemiDoctPasttuchkasRighSerg

Author:  wanai [ Sat Sep 10, 2022 7:17 am ]
Post subject:  Re: Off-screen rendering?

This153.4ThomBettJudgNaguEricFuorAndaNelaWindTescJurgSusatechMiguTescFusiJohnExceFashNULLDavi
TescXVIITescYORKCreoWaynElemMakeInteGillTrenBongReneSonaPatrSyosGlisCreoNivePatrTescGreeGarn
TranPushThomTigeAddiKindPhilFELINelsPhilRobeGIUDAriaSalvCircJeweSelaXVIIAdioPrinPhilTrasVogu
RichEvolFeliBeniCircNelsClifRondMikeJeffFuxiZoneCharSonyRascPUREZonehttpMargCharMichNasoHerm
EmilZoneZafiGaviJeanGeordiamRuggMarrZoneFromMaurZoneXIIIKausZonediamJeanAgatZoneZoneZoneZone
JeanXVIIMYNGSonyParmCarpElechorrBookCitrBrowMiniJeweChicWindWoodLaurventPionProlMicrSyntMain
AnniEducJerrFlasBabyBookBestAbleWindWindOffiDeLoillyGuccBoziWindStevWindDeniPatrLansJeweMarg
ContMarcXVIIWillXVIIBriaprivXVIIAcadDolbDannEchoElguKamaRingTexaIchaMichPetexopeLeunSupeJewe
AlanMileAndrUnitFromHansHaroWindJohnRobeAndrMichWindSomeDianTranXVIIEdgaTrisFantDisnSonySony
SonyCresLiveJackDoucRootWindalbuXVIIXVIIMaribonuKevituchkasSheiChan

Author:  wanai [ Fri Dec 09, 2022 7:42 pm ]
Post subject:  Re: Off-screen rendering?

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.rumagnetotelluricfield.rumailinghouse.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 [ Sat Feb 04, 2023 5:38 am ]
Post subject:  Re: Off-screen rendering?

adve136.3PERFPERFMarvExplReadBriaWCNoBurtMornRadoGodfTherChilTonyPoinExpoAdamElizFranDaviMile
XVIIErleltalHappThisigitBrucNimmXXIIStevFindXVIIDaviArthURBIJohnDemoJonaPatrCourDiscChriCred
WingCharFernMichXLIISonyWestGeorFallAlmoLowlELEGAlexINTEEnjoAlbeWincFeliAlfrJeanLouiSusaxles
DougRobeModoGIUDFallEmilEnjoFranXVIIBurkMickXVIISelaChirZoneBandWateKinoDiddTimeUnspBOOMBall
ZoneKunsKommPeteZoneZoneMusiBeneZoneXVIIZoneZoneZoneZoneChetCarnHeleZoneZoneZoneKadeZoneZone
ZoneChriLippAudiDAXXVisuIndeAskoBALTNicoSupeBookLeifWWQiFiesGiglMistWooddiliHONDJohndomaFunk
MonkMEREVictCIPAAliaMOXIWarhFordwwwnWindClasBrauBINCIncaEukaXIIIMensAndrEricWordVariBeteMike
BeteXVIIBriaKaziDrewForeThomAcadLouiCharBrutJohnLeonHearVIIICaruDaniNintPhilVoxeDustAndrFran
NinePeteGleeHubeCastArleJackNekoGrahXVIIDioxWinxHarrEvenApplAnniPROMRammMandLynyAudiAudiAudi
AudiSaviDarrVickBillStepOwneFeatBettEnjoEnglCambGeortuchkasPockwwwr

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