Optimierung von 3D-Grafiken fΓΌr WebGL (PLANT-SIM-Erfahrung)

In diesem Artikel konzentrieren wir uns auf die Optimierung der Unity-Szene des Plantsim 1.0- Projekts .: Der visuelle Teil einer digitalen Kopie des Tennessee Eastman-Prozesses, der in Unity 2017.1.1f1 implementiert wurde.



Bild



Eine Notiz des Partners des MAI IT Centers und des Veranstalters des Masterstudiengangs β€ž VR / AR & AI β€œ - PHYGITALISM .



, β€” PLC. , WEB-, WebGL, .



Unity
PlantSim 1.0 PC : Intel i7 Nvidia GTX 1070ti 2017.3.0f3 Default Pipeline 3D
PlantSim 2.0 : Intel i5 Nvidia 1050ti Google Chrome 2019.2.15f1 LWPR 3D




PlantSim 1.0, . PlantSim 2.0.



Bild

PlantSim 2.0





WebGL β€” 3D Google Chrome, Mozilla, Safari. , 30FPS+. .



Bild

Unity: WebGL Build



.



WebGL , . , , / 3D .



, 3D, , .



Bild



, :



  • OutPutTank β€” 2
  • Reactor β€” 1 ,
  • ReactorExplosion β€” 1 ,
  • Condenser β€” 1
  • Separator β€” 1
  • PipesSystem β€”
  • Stripper β€” 1
  • Valve β€” 6
  • Tank β€” 4
  • Refrigerator β€” 1
  • Compressor β€” 3

    PlantSim 1.0 189 736 , 60%. 75 895 , .

    Bild





, , , , . :



Bild

Reactor (PlantSim 1.0) β€”





Reactor 21998 . , 8800 . , , : OutPutTank, Reactor Striper β€” . , .



, Reactor ( , ), 7258 . , 8000. , UV , β€” , , , .



Bild

Reactor (PlantSim 2.0) β€”





ReactorExplosion , β€” . FPS , , 1000 Particle System. , : ? Unity , WebGL , , 5 ( FlipBook ). Unity.



FlipBook β€” , . , , . , , . , 5 , 1000.



, Reactor β€” WebGL FPS. Unity , Mesh renderer Skinned mesh renderer. transform points transform points (Origin ). , FPS 3–5 15–20 , 0,5 . , ReactorExplosion 41220 , , , , , .



. , 189736 ( ReactorExplosion, 148516 ). 60% , 59403 ( ). 61064 , , , . ReactorExplosion 102284 , .



, .



Bild





. , , :



  • Base Color/Albedo β€” RGBA , , . Alpha .
  • Ambient Occlusion β€” / .
  • Metallness β€” / , .
  • Smoothness β€” / , .
  • Normal Map β€” RGB , .
  • Height Map β€” / , . Normal Map.
  • Emission β€” RGB , . Global Illumination , .

    Bild

    Striper PlantSim 2.0


. β€” RGB - . ?



, R G B, A - . RGB . :



Bild

/



Combine texture Unity.

Normal Map. β€” , .



Bild

Compressor



, . :



  1. , Substance Painter, .
  2. HighPoly ( , , ) LowPoly , . Substance Painter, Blender .




β€” UV , . .



Bild

. β€”



, . , , UV . , , UV .



.



WebGL , . , . β€” .





, Unity, Global Illumination. β€œβ€ . Unity β€” Dynamic Static .



, .



, , . Lightmap . Realtime , .

Bild

Lightmap

PlantSim 2.0 , .



WebGL



FPS , Google Chrome. β€” FPS c i7 GTX 1070ti 30, , . , .



, , (, ), FPS, .



Bild

- . FPS .



Windows Apple MacBook PRO, , 3D . RTX 2080ti (, FPS 60). FPS .



, . , Google Chrome :



  1. ? , , .
  2. (, )?


, β€” . Google Chrome, , . NVIDIA β€” NVIDIA control panel. Google Chrome , .



Bild

Nvidia Control Panel β€”



, Google Chrome, FPS 70–90 β€” , 3D (), - .





, , WebGL β€” 3D WEB.



, , .



:






All Articles