Reputation: 9606
I have to make a basic Computer Graphics Assignment in which I have to display a basic model on the screen and give the user controls to move the position/orientation of the components of the model. I have some background with OpenGL
but I was thinking about making this assignment in WebGL
instead. So what I want to know is whether there are any limitations in terms of features in WebGL
? I would be working on Windows
so I have an option to learn DirectX
instead but that has a steep learning curve and is limited by platform. Also, what possible problems I should be prepared for while working with WebGL
? Assume I have one of the latest graphics-cards.
Upvotes: 3
Views: 2312
Reputation:
There are HUGE advantages to doing it in WebGL IMO
Upvotes: 3
Reputation: 9547
Basically, most things you can to in OpenGL, you can do in WebGL. There are some caveats, though :
On the bright side, it's more easy to setup than all other ways : simply cut'n paste a tutorial's html code, and you're ready to go. No include paths, no dependencies, etc. If your assignment really is simply drawing a simple model and rotating it with the mouse, WelGL is probably the way to go.
Upvotes: 1