Chrono Compendium
Zenan Plains - Site Discussion => Chrono / Gameplay Casual Discussion => Topic started by: utunnels on December 13, 2012, 12:21:21 pm
-
Well just tried three.js (http://mrdoob.github.com/three.js/) today, still need to find a way to add textures and animations though.
Clilck here with a browser that supports WebGL. (http://cc.ffsky.cn/files/webgltest.html)
For example, Chrome, Safari, Opera, Firefox...
-
I tried it in Firefox and Safari on my iPod, but I'm seeing only a gray page with a blank box. I wonder if the user needs some plugins?
-
Works just fine for me in Firefox on my laptop. The Wikipedia page on WebGL says it's supposed to not need plug-ins. I did some searches on WebGL; it looks like on mobile devices, WebGL has to be enabled in the browser settings.
Also, looks like utunnels got the textures working now.
-
Yeah, looks like this toy doesn't get along well with some browsers. Plus the model in JSON format is too huge for internet, there must be a way to compress it.
-
A small update with animation.
Bone animation would be too complicated to implement, and it appears three.js doesn't support multi-texture + morphing (or I haven't figure it out yet). *Edit* OK it does, not bad.
-
Oooh, it worked for me in Chrome! Wow, I have to wonder what utunnels is planning here. Chrono Cross ported to WebGL!?
-
LOL that'll be a too ambitious goal.
But an online model viewer isn't out of question.
-
Just because it's too ambitious doesn't mean it's impossible. :wink:
WebGL is a sweet little innovation that brings the wonders of 3D to your browser. But just like any other 3D software, it depends on your graphics capabilities -- if it doesn't support OpenGL well enough, then WebGL will be difficult. But it's still entirely possible to have Chrono Cross ported as a Web Application!
Here's an example for a FPS: https://developer.cdn.mozilla.net/media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1348775105_demo_package/game.html?low,low
Note: Not every browser supported will display WebGL on every computer, because as I said some graphics card aren't supported, and hence blacklisted. Even the latest Firefox on my netbook didn't display it, because Firefox blocks it (and for a good reason), and all I saw was a grey box.
To fix this (if only temporarily to view utunnel's toy), on Firefox type "about:config", then search for "WebGL" and double-click "webgl.force-enabled" to make the value "True". But it's always good to revert the changes.
-
Yeah I have tried lots of demos, unfortunately most of them ran too slowly on my pc.
Well it was just an experience. :P Maybe I should spend time on more useful things.
-
Well it was just an experience. :P Maybe I should spend time on more useful things.
As far as I've known you, man, there's hardly a thing you do that isn't useful. XD The very experiments on WebGL here will prove an interesting level-up on your aptitude for future developments. Your interests in OpenBOR development and other projects has benefited countless people already, especially here at the Compendium.
If anything, you're probably the most valuable member here!
-
Well, there's another reason to get something besides IE9. Heck, it doesn't even fully support HTML5 yet.
-
Zero percent body fat
(http://cc.ffsky.cn/files//serge.png)