Heyeveryone, inthisvideo, I'm goingtoshowyouhowtomakethisreal-time 3D websitewithnocodingAndwe'regoingtouseDora, a verycoolwebbuilderplatformthat I'vejustfoundoutrecently.
このビデオでは、ノーコーディングでリアルタイムの3Dウェブサイトを作る方法を紹介します。
Solet's getintoitSoDorais a webbuilderplatformthatgivesyoutheabilitytobuildwebsiteswithnocodingSoit's quitesimilartootherwebbuildertoolslikeWebfloworFramersButwhatmakesitdifferentisthattheyhavesomereallycoolfeatureslikethe 3D featuresthatcanletyouimportanyAnimated 3D modelsdirectlytoyourwebsiteAndanothercoolthingisthatyoucananimateeverythinginyourwebsiteusingjustkeyframesandtimelinesSo I findthoseareprettyinteresting.
Sonow I'm goingtogiveit a trySotogetstartedyouneedtosignupandthenyouwillgetaccesstotheplatformSohere's whatyousee.
まずはサインアップして、プラットフォームにアクセスしてください。
Sothisis a projectpanelwhereallofmyprojectsarehereSonow I'm goingtocreate a newproject.
これはプロジェクト・パネルで、すべてのプロジェクトがここにあります。
So I'm goingtocallit 3D fishAllright, sohereweareinthemainDorainterfacesoasyoucanseethattheOveralllayoutisprettystandardandsimilarto a lotofcommontoolsnowadayslikeFigmaSoyoucanfeelrightathome.
全体的なレイアウトはごく標準的で、Figmaのような最近の一般的なツールとよく似ています。
SoontheleftpanelWehavethepagesandthecomponentsandatthetopheretheyofferyou a coupleoftoolswhereyoucancreate a containerortextor 3DsandHereis a menutoswitchtodifferentCanvassizelikeMacBookPro 14 16 So I'm goingtogowith 16 becausethisiswherewhat I'm usingrightnowAndhereisthetimelinetogglewhereyoucanturnonandturnoffthetimelinepanelsAndthisisthesaveindicatortomakesurethatyourprogresshasbeensavedandhereisthepreviewbuttonsoyoushouldclickheretopreviewyourprogressandyoucanalwaysrestarttoRefreshwhenwhateveryouchangewhatyou'redoingonthemainProjectfileandhereis a publishbutton.
Sowhenyouturnthisonitwillgiveyou a Doradomainwhereyoucanjustdemoyourwebsiteandpreviewitas a realwebsiteandtherightpanelisthecontextualmenuswhereitwillbecontextualdependsonwhatyouareselectingandInthemiddleis a maincanvaswherewewillworkonsobydefaultthisonecanbethehomepageSothefirstthing I wanttodoisjusttoshowyouRightintohowtoimportthe 3d becausethat's thefunpart.
Wehave a 3d widgetsheresoyoucangotothismenuandSelectfillspaceanditwillautomaticallyfillupthehorizontalspaceSoitwillbereallyhandywhenitcomestoresponsivebecauseitdoesn't matterhowwideyourscreenisItwillalwaysfillupthespaceandthenwecanclickheretoimportthe 3d modelsSocurrentlythereareonlyavailableforGLTFandGLBformatSotheperfectplacetofindthoseformatsistogotosketchfab.comandthensearchfor a modelso I'm goingtosearchfor a fishand I'm goingtoturnondownloadableandanimatedandthen I foundthisreallycoolfishrighthereSo, let's checkitout.
Thisisreallygoodsolet's purchasethisfishandactually I alreadypurchasedit, so I'm justgoingtopurchaseandThenfromhere I candownloadthefilesotheygiveyou a bunchofdifferentoptionsButwe'regoingtodownloadtheGLTFformatSothisiswhatwehaveafteryoudownloadandunzipthefileSowehave a lotoffileshereandoneGLTFandoneBINfilesothethingisthatyoucannotimportthisfileintothe 3d widgetsbecausenothing's gonnahappen.
ThereasonisthattheyneedtoworkwiththeseotherfilesaswellSowhatweneedtodoistopackallofthesefilesintoonesingleGLBformatSoallyouhavetodoisjustgotothiswebsite I put a linkunderthedescriptionandthendrageverythingintothissquarerighthereandwhatitdoesisitwillpackeverythingandDownloadthisGLBfile.
そこで必要なのは、これらすべてのファイルをひとつのGLBフォーマットにパックすることだ。
Sonowwehavethisfileherescenefile.
それで、ここにシーンファイルがある。
Solet's justrenameitasMr. FishandNowlet's gobacktoDoraandthenimportMr. FishtooursceneAllright, herewegowehavethefishheresoit's lookingprettygoodsotoseeitbetter, letmejustchangetheBackgroundcolorsintobluejustfornowsowecanseethefish a littlebitbetterSothethingisthatifyounoticethatthefishisnotmovingsotofixthatsupereasyjustclickonMr. FishDotGLBandthenthere's a togglehere.
Andinthis 3d scene, youcanselectthe 3d modelsandmoveitaroundandyoucanusetheleftmousetorotateandusetherightmousetopanthecameraandUsethescrolltozoominandzoomoutSoyoucancontrolhowitlookwhatangleisgonnabeandyoucanalsoaddkeyframetoitNextthing I wantedtodoistocreatesometextlayout.
Solet's justclickheretoaddsometextAllright, sowehave a texthereand I wantthistobealwaysinthecentersofthepagedoesn't matterhowBigthescreenissosupersimplejustgotothisconstraintandthenclickheretocenteritsonowit's alwaysbeingcenteredalignedtoTothecanvassoitdoesn't matterwhereyoumove.
テキストを追加するためにここをクリックしてみましょう。
It's alwaysbeinthecenter.
常にセンターにいる。
SothatisprettycoolSonow I'm goingtoaddtherestofthetextfor a herobannersandwiththistext I woulddothesameTo a lightcenterandthen I wantthistexttoalwaysfollowthebigonesTomakesurethatthespacingisalwaysthesameSoall I havetodoistoclickhereandthenconnectittothebottomofthebigtextSonowwhenyoumovethebigtextitwillalwaysfollowSonext I'm goingtoworkontheheaders.
このテキストも同じように、真ん中を軽くして、このテキストが常に大きなテキストに従うようにします。
Soweneed a button.
だからボタンが必要なんだ。
Sojustclickheretocreate a containerandwecanclickheretochangethecolortowhiteandchangetheradiustomaybegiveit 70 sowecanhave a peellikethisandmoveitsomewherearoundhereandthenaddsometextandThen I wantedthisbuttontoberesponsiveaswell.
SowhatwedoistoConnectthesedotstogetherAllofthesedotstoconnecttogethersonowwhenyouTransformthebuttonthetextwillalwaysbeinthecenterSoyoucanalsouse a containertocreate a simpleiconlikethehamburgermenuSonowlet's importtheDoralogoso I have a SVGherejustsimplydragitintothecanvasandThenwehavethelogoshowsuphere.
So I'm goingtopreviewitandgiveit a trySoYouseethatwhenyouscrolleverythingitjustgoesupSo I wantthisHeadertostaystickyatthetopandalsoberesponsiveaswellasthe 3D widgetssowhatweneedtodoistoselectthelogoandThenclickonthispointandthendragittotheviewporttopanditwillshowyouthismenusolet's justselectviewporttopandAlsohereontheleft.
Sowhenyouscrollit's lookingprettygoodsowhatwhat I wantedtodohereistoSpyitup a littlebitbyhavingthisnumbersbeing a littlebitparallaxComparingtotheheadlightswhilescrollingsowhatweneedtodoistogobackhereandthenselectthesethreenumbersandthengroupitintoonecontainersandLet's renameittonumbersandthenlet's makesurethatthisContainerisunderthe 3D widgetsbecause I wantittobebehindthefishSotomakeitparallax, weneedtoturnonthistimelinePanelandThewaythatthistimelinesworkisthatifyoumovethisPointerrightheresoyoucanseetheviewportismoving, right?
Soit's indicatethatthepageisscrollingsowhatweneedtodoisjustgobacktozeroandthenselectthethenumberscontainerhereandthenset a keyframeaszeroandthenmovethepointersandYoucanseehowit's Reflectingyoucanzoomoutheretosee a biggertosee a biggerpicturesandMoveitwaydownuntilthisframewherethenumberjustoutofthetopoftheviewportAndmaybeset a keyframehereAndwiththiskeyframe, I'm goingtomoveeverythingup a littlebitsowhenyouSowhenyoumovethepointeryouseethiskindofparallaxisgoingonSoitwillbemuchclearertoseeitinpreview.
Solet's take a lookSonowyouseethatthenumberisbeingparallax, butthepositionisnotcorrectSoonceyougobackandthengoinsidethecontainersLet's lockitsowedon't messwiththis.
数字が視差になっているが、位置が正しくない。
SogoinsidecontainersandthenmoveeveryindividualnumbersaccordinglysoYoucanseeheretomakesurethatiscorrectAndalsomovethenumbertwodown a littlebitanddothesameforthenumberoneSothisiswhatyou'regonnaseeSolet's giveit a previewSonowit's workingperfectlySothat's howyoucancreate a parallaxeffectusingthetimelineSolet's justunlockthis 3D witches.
コンテナの中に入って、個々の数字を適宜動かして、ここが正しいかどうか確認してください。
So I justnoticedthere's a cutofthe 3D witcheshere.
Solastthing I wanttodoisgiveit a niceanimatedbackground.
だから最後に、背景をアニメーションさせたいんだ。
Sosupereasy I alreadyhavethisloopanimatedbackgroundinthissoallweneedtodoistodragitintocanvasAndThenwehavethevideohereandlet's moveitwaydownthebottomofthelisthere.
Sooverall, I thinkeverything's lookingreallygoodThe 3D andparallaxisreallycoolSothat's how I create a 3D websitewithDorainjust a fewsimplestepsSoifyou'reinterestedinlearningmoreaboutDora, justfollowthelinkundermydescriptionTolearnaboutmorein-depthtutorialaswelltojointhecommunity.
SothisistheendofmytutorialtodaySo I hopeyoufindthishelpfuland I'llseeyouinthenextone
というわけで、今日のチュートリアルはここまで。
Heyeveryone, inthisvideo, I'm goingtoshowyouhowtomakethisreal-time 3D websitewithnocodingAndwe'regoingtouseDora, a verycoolwebbuilderplatformthat I'vejustfoundoutrecently.