Showing posts with label Jiglib. Show all posts
Showing posts with label Jiglib. Show all posts

Thursday, April 2, 2009

[JigLib] new JigLib+Away3D example

Hmm?

- good news is huge update and new example released, but bad news is it not seem to work on me ;o

So?

- Away3D geek don't like to wait, then i fix it, and also add handy SimpleView+Stat

Result?

  - faster? slower? see for your self ;)

JigLibFlash Away3D 

http://sleepydesign.com/labs/as3/JigLib/Away3D/ExAwayBalls.html

Source?

- it's working "only today svn" http://sleepydesign.com/labs/as3/JigLib/Away3D/ExAwayBalls.as

Next?

- i currently addict to my own AIR web browser, someone want to joy dev it with me? tell me and i'll put them to google code ;)
- btw thx for all click to ads, i got $29.27 now (almost 2 years), so i'll get 100$ pay around next 2-3 years not bad eh? what i gonna buy that day? lol ;)

Technorati Tags: ,

Friday, February 13, 2009

[Away3D] v2.3 released + new JigLib demo

Read here and more here, okie! now my turn ;) in case JigLib release new Car and Drag demo, but nothing seem to support Away3D like expected ;o, so look like it's my duty to make for Away3D geek, no need to wait!

Here we go

- Engine run test: use your keyboard to move sphere
http://sleepydesign.com/labs/as3/JigLib/Away3D/ExJigLibAway3DFlash3DPhysics.html
image

- Car Drive : use your keyboard to move car
http://sleepydesign.com/labs/as3/JigLib/Away3D/ExJigLibAway3DCarDrive.htmlimage 

- Mouse Drag : use your mouse or your m8 mouse :p kidding
http://sleepydesign.com/labs/as3/JigLib/Away3D/ExJigLibMouseDragAway3D.htmlimage

what's you can expect is clean code with some comment, and best of all is now you can be access in svn
here http://away3d.googlecode.com/svn/branches/jiglib and all 3 examples include there just browse!

That's all?

- not yet, as you can see new profiler and stat appear on top there, that's right! new handy tool is coming to town!, here's how to use it

   1:  // init
   2:  Tasks.init(this, "Tasks test run by katopz");
   3:   
   4:  // begin task
   5:  Tasks.begin("Loop");
   6:   
   7:  // try slow down
   8:  for(var i:uint=0;i<20000;i++)
   9:  {
  10:      var j:Number = Math.random()+Math.sin(i)+Math.cos(i);
  11:  }
  12:   
  13:  // end task
  14:  Tasks.end("Loop","00FFFF");




that's it! and now "Label" and total milliseconds result in specified loop will automatic appear in that taskbar and also plot in mr.doobs Hi-ReS! Stats on the right, nice ehh?


What's next?


- xmpp just out, maybe i can make it work trough strict firewall here (may be not lol) also empty room of cocomo is still waiting for me there, sadly all my free time has gone!

PS. any JigLib question plz ask them not me!, i know nothing more than you guy really! ;) have fun coding!


Technorati Tags: ,,

Wednesday, January 28, 2009

[ND3D] Smallest 3D engine for JigLib isn't it ;)

Lars just update his ND3D! also my MD2 mod there nice! then it's my turn ;)

Are you got plenty of free time?

- hmm...no! but i can't resist myself doing this (not again :P)...so let's skip boring part, here we go!

1. FileMaterial (17kb) : Lars add AlphaMaterialExample look pretty cool but i do hate to embed image in swf so let's mod it to load picture from external

image
http://sleepydesign.com/labs/as3/ND3D/JigLib/ND3DFileMaterial.html

2. Line3D and LineMaterial (16k) : and yes another handy while debugging thing it's axis which mean i need some line here, let's mod it (a bit dirty cause i use 3 vertices here)

 image
http://sleepydesign.com/labs/as3/ND3D/JigLib/ND3DLine3D.html

3. MD2 with Axis (22k?) it's 18k before isn't it lol, blame me see below for reason ;)

 image
http://sleepydesign.com/labs/as3/ND3D/JigLib/ND3DMD2.html

4. Here's most fun and hardest part cause ND3D didn't have Matrix also transform!, actually it's a good news for minimal crazy here cause we can use Matrix class from JigLib and the result is 31kb perfect for banner size limit ;)

image
http://sleepydesign.com/labs/as3/ND3D/JigLib/ND3DJigLib.html

and yes that's why size is increasing! but i'm quite sure that no one blame me here ;)
btw, all source code has been sent to Lars and let's him make decision that all features here 'll be add or not (you can blame him now  :P , lol)


What's next?

- i really want to try Unity3D, sadly that i got no Mac here, can some one rapid click my banner plz! i got 11$ now in 1 year, so it's just only 100 year to but some Mac LOL

Technorati Tags: ,,,,,,

Tuesday, January 13, 2009

[Away3D] JigLib Flash 3D Physics Engine

What?

bla bla bla i'm lazy to describe thing better see below :P

Then?

it's said Flash but you still can compile with Flex, and yes even try with Away3D, what you waiting for? just do it!

Required?

Result?

after 1 hour mod some class....tadaaaa http://sleepydesign.com/labs/as3/JigLib/Away3D/JigLibAway3DFlash3DPhysics
plz keep in mind it's just quick idea to apply JigLib to Away3D, no material , no light, you can expected many dirty code there (also old PV3D code to compare), feel free to clean/optimize it! ;)

Source?

sure! it's new year right? ;D
http://sleepydesign.com/labs/as3/JigLib/Away3D/JigLibAway3DFlash3DPhysics.zip


happy new year + coding!

Technorati Tags: ,,,,,,