Hi dojoers,
In this opportunity, I would like to share my status update for gfx project with Dojo.
What was achieved lately?
- Revised test page.
Yes, a new cool looking page! It cut around 40% loading time from previous version (because of dijit dependancy), which from ~40 seconds become ~20 seconds.
- Camera
Well, I suppose say the camera is better than previous one... It uses three axis vector (U, V and N axis of camera) and lookAt algorithm for moving and rotating the camera. Unfortunatelly, it has many bugs and errors when rotating (I could not understand why it happens) but it displays better perception when rotating (try it! It is fun!).
- OBJ loader
Monkey in the GFX20? Yes, I did the OBJ loader so that we can load OBJ file and display it in gfx20. Have you seen suzanne from blender? If not, go to test page to check how ugly he is...
What is my task in my agenda?
- Real world example
It is planned to give a real world example for gfx20 demonstration. What is it about? It will be kind of model viewer and I am planning to put mobile phone model to begin with... So stay tune!
- Documentation
I already discussed with my mentor to exchange another example to documentation. I will put couple tutorial, API reference, and dojo book to start with! Not forget to mention couple UML diagram as well such as class diagram and sequence diagram to understand gfx20 more!
- Source builder
Yes, to minimize the loading time, I need to research about source packager like dojo did! In order to reduce the useless GET latency time for scattered files.
- Revise camera
Again, modify camera algorithm to maximize the performance and robustness as well as minizing errors or bugs.
- Compatibility
Well this one is very hard one; the canvas 3d (firefox extension to display the 3d, which is core requirement to display gfx20 in firefox) says it needs firefox 3.0 with gecko engine 1.9 to run but it does not want to load in linux (not sure for mac OSX). I need to have decent way to tell that user can display gfx or not. This includes way to test opengl driver and canvas 3d compatibility.
- Status control
It is true that current version of gfx has very poor status reporting. What I mean with status reporting is information about the library loading or openning file progress (3d model file, perhaps?). Hence, I need to know how to display information status in effective way.
- Slow slow slow!
Hate to say but yes, gfx20 is very slow. Last time, I tried to open gfx20 in medium GPU card in the market but it is not nice to be displayed... Maybe I need to get over the algorithm again to check which is the bottleneck...
- Availability
Long time a go, I have a chat with one of dojo fellow from GFX. He is adding new gfx engine (project that Eugene did) in flash. This snapped idea about why we dont make an engine for gfx3d as well? This may increase the availability of the gfx20.
That is all folks! I will put more update for next time, of course I would really appreciate if you give me any sugggestion or critics! Oh yeah, sorry for people who try to run gfx20 but cant get it working... It is hard to deal with availbility problem (such as decent compatibility testing and unsupported version or browser) but feel free to give me idea for future! Thanks!
Note: I put a screenshot for those who are interested!
| Attachment | Size |
|---|---|
| screenshot.jpg | 86.43 KB |

The link is broken
The link is broken