- Home /
Performance using Mesh from importet .obj file against Mesh created with Graphics Class
I just want to ask if there is a big performance difference between using a Mesh i importet from a .obj file and a Mesh i create with the Graphics class in Unity.
Becouse i want to show allot simple shaped objects at the same time.
Answer by Mike 3 · Jun 30, 2010 at 03:17 PM
The difference here is only whether displaying a mesh in scene is faster than by using Graphics (There should be no difference between runtime generated meshes and 3d tool created models after the initial creation).
Having it in the scene should be a lot faster than using Graphics.DrawMesh, as you don't have to send the mesh to the graphics card every frame
And also if i create a single mesh at Start of my Application, and referncing it to every object i create. Is there a different?
Nope, works the same as long as it's in scene. if you're drawing it with Graphics.Draw$$anonymous$$esh, it'll be the same speed as drawing an imported mesh through the same function
Thanks for the answer $$anonymous$$ike! Saves me a little bit of time. ;)
Your answer
![](https://koobas.hobune.stream/wayback/20220613063514im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Odd shadow behaviour from generated mesh 1 Answer
How to create a plow of fields ? 0 Answers
How to tell that i am drawing the same mesh to Graphics.drawMesh? 0 Answers
Creating a 3D curve? 0 Answers
Graphics.DrawMesh not working 2 Answers