Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by AMIR_REZAs · Dec 18, 2017 at 12:18 PM · webplayerwebglwebhtmlhtml5

Unity webgl or threejs or babylonjs ? Which one is the best for me?

I want to make an online simulator which people easily access it and run at various platforms. This online simulator contains some simple 3d models and an environment to walk through. What is important is that the size of the web application should be less than 10mb and it should load and run smoothly. I want to use some 3d models so I know my models should have less size but I want to know which WebGL framework is best in my conditions. Pleas help me to choose the best.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by cjsimon333 · Dec 18, 2017 at 02:04 PM

There isn't necessarly a best framework for your described situation, only that each has their own set of pros and cons. Using Unity has the benefit of being able to put something together quickly with an easy to use drag and drop, abstracted system making certain features easier to implement, like shaders, lighting, particle effects, etc. that you would typically have to write yourself. If you are planing on targeting other platforms, using Unity would save you time from having to port your project to other platforms yourself. That being said, because of the way Unity cross compiles it's code to JS, I would imagine that file size and loading times are significantly larger than that of the other two frameworks.


As for using one of the frameworks, you will have to write code scene setup and object placement, and code for other features you would like to implement, but most frameworks nowadays have fairly extensive libraries for such tasks anyways, so it's a matter of getting comfortable working with existing libraries. If you decide to use either one, it really comes down to preference, because the potential differences won't likely poise any major benefits, seeing how the project scope isn't that large. Look at both of their coding styles and stick with one you like more. You could do a small hello world for each framework to get familiar with both and then continue with the one you find easier to use. Doing more research on your options will help narrow down which one you think best fits your use case.


Here are a couple links for reference:

  • http://www.html5gamedevs.com/topic/21631-why-babylonjs-if-unity-export-webgl/

  • https://www.gamedev.net/forums/topic/673626-unity-webgl-or-js-framework-webgl/

  • https://answers.unity.com/questions/979803/can-i-determine-optimum-webgl-memory-size.html

  • https://www.sitepoint.com/three-js-babylon-js-comparison-webgl-frameworks/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

82 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Open a "Save As" window for web game to save a created screenshot? 0 Answers

VideoPlayer not playing in WebGL Build 0 Answers

Itch.io webgl not uploading properly 1 Answer

WebGL Redirect 0 Answers

Set content of a custom tag of a WebGL template via script 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges