Search DLab 1.0

Wednesday, October 20, 2010

belle and chy :D

http://www.pleatfarm.com/2010/07/23/biodynamics-structures-in-san-francisco/

ORIPA, an editor for designing crease patterns of Origami works.

http://mitani.cs.tsukuba.ac.jp/pukiwiki-oripa/index.php?ORIPA%3B%20Origami%20Pattern%20Editor

Tuesday, October 19, 2010

AutoCAD for Mac

Download a free trial version..........here.
http://www.dailytonic.com/softblock-modular-system-with-led-lighting-by-molo/
http://www.archiexpo.com/prod/molo/office-partition-4374-20248.html

Monday, October 18, 2010

4th Year Midterm Review - Aj Narin's Group

tomorrow at 9am - 12noon, room 308
drop by if you are in the campus

and post the photos from midterm review
thanks

Saturday, October 16, 2010

post photos / videos from midterm review

either here or in flickr / picasa / youtube
and post a link here as slideshow
thanks

Thursday, October 14, 2010

Worrying solves Nothing


Amazing works and Podcast by Stefan Sagmeister
listen+download the podcast

SIGGRAPH - Electronic Theatre - Choose 16

SIGGRAPH Asia 2010 Registration
for Electronic Theatre, choose
Thursday 16 Dec 2010: 19:00~21:00

Let me know if you already chose something else.

Electronic Theater
A two-hour overview of the best animations, visual effects, and scientific visualizations produced in the last year. The jury assembled this show to represent the must-see works in computer graphics for 2010. The Electronic Theater also includes a few pieces shown by special invitation. On opening night, 16 December, the Electronic Theater begins with presentation of the Computer Animation Festival's Best of Show and Best Technical Awards.

Saturday, October 9, 2010

Oct 12 : Midterm

BRING CAMERA FOR MIDTERM.
Come in at 7am or earlier to setup.
 You won't have time to setup after 9am
as you will have to take photo/vdo while the other group
is presenting and take note of the discussion for your friends

(see the table below for which group you are responsible for).

Let me know if you have any question or concern.
All the best, m

ROOM 404
time           group          Note/Photo/Vdo by
 7:00 -  9:00  Setup
 9:00 -  9:30  Mint + Champ   Nill + Palm
 9:30 - 10:00  Belle + Chy   
Mint + Krist
10:00 - 10:30  Wawaa + Bow    Belle B + Fai
10:30 - 11:00  Tony + Nill    Belle S + Wawaa
11:00 - 11:30  Belle + Fai    Bow + Tony
11:30 - 12:00  Palm + Krist   Chy + Champ
12:00 - 13:00  Lunch
13:00 - 14:00  Group Discussion
               / Reevaluation

SIGGRAPH Registration

Registration Instruction for Siggraph Asia 2010,

   1. Click http://www.siggraphasia2010.co.kr/ , choose Group Registration
   2. Choose “Group Member”
   3. Then input the code given by you at “Conference Code” box
   4. Then input ACM student membership number
       to move to the personal info page, fill in the survey, finish.
   5. You will receive a confirmation letter to your e-mail.
   6. About 1 week before the conference you will all receive
       another confirmation with barcode,
       please print and take them to our venue.


Register for ACM then e-mail me
for Conference Code

Money

INDA will return 1,000 baht from SIGGRAPH registration
get your money from K.Sai in the office

Wednesday, October 6, 2010

actionscript question

Aj Moe,
I have chosen to go with the Array method (once again, flash security is acting up), but I've run into a few difficulties. If you recall on the last presentation, I used Array with my AR to change the x,y position of the cubes randomly. That method, however, produced effect only when I restart flash player. This time, I want it so that the random effect take place every time the marker is detect (so that I do not have to restart flash quite so many time in the presentation) and I'm not sure how to produce that effect!

A bit lengthy but here's my code

package
{
import com.transmote.flar.FLARManager;
import com.transmote.flar.marker.FLARMarker;
import com.transmote.flar.marker.FLARMarkerEvent;
import com.transmote.flar.utils.geom.FLARPVGeomUtils;
import com.transmote.utils.time.FramerateDisplay;

import flash.display.Sprite;
import flash.events.Event;
import flash.media.Video;
import flash.net.URLLoader;
import flash.net.URLRequest;

import org.libspark.flartoolkit.support.pv3d.FLARCamera3D;
import org.osmf.image.ImageLoader;
import org.osmf.swf.SWFLoader;
import org.papervision3d.materials.BitmapFileMaterial;
import org.papervision3d.materials.MovieMaterial;
import org.papervision3d.objects.DisplayObject3D;
import org.papervision3d.objects.primitives.Plane;
import org.papervision3d.render.LazyRenderEngine;
import org.papervision3d.scenes.Scene3D;
import org.papervision3d.view.Viewport3D;



[SWF(width='640', height='480', backgroundColor='#000000', frameRate='40')]

public class midtermv2 extends Sprite
{
private var fm:FLARManager;
private var scene:Scene3D;
private var view:Viewport3D;
private var camera:FLARCamera3D;
private var lre:LazyRenderEngine;
private var p:Plane;
private var con:DisplayObject3D;
private var marker:FLARMarker;



public function midtermv2()
{
initFLAR();

}

private function initFLAR():void
{
fm = new FLARManager("flarConfig.xml");
fm.addEventListener(FLARMarkerEvent.MARKER_ADDED, onAdded);
fm.addEventListener(FLARMarkerEvent.MARKER_REMOVED, onRemoved);
fm.addEventListener(Event.INIT, init3D);
addChild(Sprite(fm.flarSource));
}

private function onAdded(e:FLARMarkerEvent):void
{
marker = e.marker;
p.visible = true;

}

private function onRemoved(e:FLARMarkerEvent):void
{
marker = null;
p.visible = false;

}

private function init3D(e:Event):void
{
scene = new Scene3D();
camera = new FLARCamera3D(fm.cameraParams);
camera.z = -30;
view = new Viewport3D(640, 480, true);
lre = new LazyRenderEngine(scene, camera, view);

var val:Array = ["pat.jpg", "pat2.jpg"]

var a:String = (val[int(Math.random() * val.length)]);

var mat:BitmapFileMaterial = new BitmapFileMaterial(a);

p = new Plane(mat, 320, 240);
p.scaleY = -1;
p.rotationZ = -90;
p.visible = false;

con = new DisplayObject3D();
con.addChild(p);

scene.addChild(con);
addChild(view);
addChild(new FramerateDisplay());

addEventListener(Event.ENTER_FRAME, loop);
}

private function loop(e:Event):void
{
if(marker != null)
{
con.transform = FLARPVGeomUtils.convertFLARMatrixToPVMatrix(marker.transformMatrix);
}
lre.render();
}
}
}

The related lines of code is in the italic, and you can see what I did is set up an array, make a string variable call "a" which is equal to random string from the array, and then I parse "a" variable into the BitmapFileMaterial data (so AR will load that jpg)

You can see that they are all in the "init3D" function, and it work OK just like the last AR presentation with the cube. Now, however, I want the var a:String = (val[int(Math.random() * val.length)]); to take place in the "onAdded" function so that when the marker is detected, it select a random string from the array and then parse it to the
BitMapFileMaterial in the init3D function (so that I would get a random image every time marker is detected). I'm not quite sure how, becuase whenever I separate the var a:String = (val[int(Math.random() * val.length)]); and var mat:BitmapFileMaterial = new BitmapFileMaterial(a); into different function, the error comes up and say "a" is an undefined property.

Please help if you have the time, this'd been bugging me since yesterday. If you think its too much of a technical thing right now, I will leave it as is (restart flash every time to see random) and go work on production

PS. could it also be that init3D function needed to be nested inside the onAdded function for it to work. And sorry for being wordy on this post

132.5 by Issey Miyake


very nice

Tuesday, October 5, 2010

SIGGRAPH update

Your SIGGRAPH Asia 2010 pass is purchased today.
Please register for ACM Student member to complete the registration process:


It's USD $19. Please confirmed once you register in the Google Doc

We got 16 passes, means that there are only 4 people joining us for SIGGRAPH.
Can you let me know who are those 4?

Thanks,
m