Megalune || Tim King
Design-Sketches-Articles-Bio

Flash VR Effect 1.0

October 31st, 2007 — 8:00 am

Today I am giving away a simple Flash VR file. You will need to create images at the various angles of your subject. Then simply import all of your images into this Flash file, adjust the speed to your tastes, and you will have a simple VR effect for the web or wherever.

Move you mouse to the right and the model will rotate counter-clockwise. Move the mouse to the left and the model will rotate clockwise.

Plan for further development include:

  • adding vertical rotation
  • smoother rotation
  • on the fly updating (no need to have Flash to edit the content)
  • a simple GUI

Model taken from 3dtotal.

All the ActionScript is on the first frame. It is as follows:

stop();

// Edit topSpeed to modify how fast the VR can rotate

var topSpeed:Number = 2;
var frameSpeed:Number;
var frame:Number = _root._currentframe;

// Functions, no need to edit these

onEnterFrame = function () {
 frameSpeed = Math.round(topSpeed*(_xmouse-Stage.width/2)/(Stage.width/2));
 newFrame = _root._currentframe+frameSpeed;
 if (newFrame>_root._totalframes) {
  newFrame = newFrame-_root._totalframes;
 } else if (newFrame<=0) {
  newFrame = _root._totalframes+newFrame;
 }
 gotoAndStop(newFrame);
 frame = _root._currentframe;
};

Download the source code! [ 1.5M ]

Keyboard Shortcuts

October 30th, 2007 — 12:57 pm

Below are PDFs containing helpful shortcuts to many common design programs. Some of these were developed by the folks over at Computer Arts, the rest were created by yours truly.

The shortcuts here are the defaults. Most of these programs will allow you to customize these to suit whatever needs // wants // quirks you may desire. Hope you find them helpful!

InDesign CS2 Object Snapping

October 29th, 2007 — 9:49 am

Nope. You can snap to guides and grids, but there will be no snapping of one object to another. Not in CS2. No sir. You can go ahead and do that all you want in Illustrator, but InDesign will not let you bring that trash into its home. Playa!

Cinema 4D Antialaising Filter Comparisons

October 24th, 2007 — 9:28 am

This is a side-by-side comparison to the available filters for basic rendering in Cinema 4D V8.2.

Each image is rendered with the default values. Model found at 3dtotal.

Cinema 4D Radiosity Settings

October 23rd, 2007 — 9:18 am

C4D Radiosity

With just a few simple settings (and a lot of extra time) you too can create much more realistic lighting in your scenes. I am working in Cinema 4D release 8.2, and have found the setting below to produce results that I am pretty happy with in a fair amount of time.

You can download my file [ 613k ] and mess around all you want. Try adjusting the values to suit your needs, or just to experiment with how it effects the look or render time. Model found at 3dtotal.

C4D Radiosity

ASP List Directory 1.0

October 21st, 2007 — 9:51 am

There have been occasions where I have needed to just dump some files in a hidden directory of a website for internal use or to preview to a client. I don’t want to create a whole preview site for just this instance, and I want to keep directory browsing off for the rest of the site.

ASP offers some simple tools to list all the files in a specific folder and any sub-folders. The following code wasn’t written by me, credit goes to Mike Hall. I did however make some modifications to his original code. He had it set up in such a way as that you needed to manually enter which folders would be listed. I wanted something simpler. Something you could just drop in a folder on your site and it would automatically load and list all the files. I also didn’t want the index file to appear in this list.

Here is an example of the code in action (with some additional formatting).

View the source code!
Download the source code! [ 1k ]

Check out the updated version as well.

VIZ Scanline Antialaising Filter Comparison

October 17th, 2007 — 8:59 am

This is a side-by-side comparison to the available filters for scanline rendering in VIZ 2008.

Each image is rendered with the default values.

Monitor & TV Sizes

October 15th, 2007 — 7:57 am

All sizes are in inches and approximations. The size shown is for the screen and does not account for the frame, which will differ by brand and model.


Diagonal 16:9 Height 16:9 Width 4:3 Height 4:3 Width
14 6.9 12.2 8.4 11.2
15 7.4 13.1 9.0 12.0
17 8.3 14.8 10.2 13.6
19 9.3 16.6 11.4 15.2
20 9.8 17.4 12.0 16.0
21 10.3 18.3 12.6 16.8
22 10.8 19.2 13.2 17.6
23 11.3 20.0 13.8 18.4
24 11.8 20.9 14.4 19.2
26 12.7 22.7 15.6 20.8
27 13.2 23.5 16.2 21.6
28 13.7 24.4 16.8 22.4
30 14.7 26.1 18.0 24.0
32 15.7 27.9 19.2 25.6
37 18.1 32.2 22.2 29.6
40 19.6 34.9 24.0 32.0
42 20.6 36.6 25.2 33.6
43 21.1 37.5 25.8 34.4
46 22.6 40.1 27.6 36.8
50 24.5 43.6 30.0 40.0
55 27.0 47.9 33.0 44.0
58 28.4 50.6 34.8 46.4
60 29.4 52.3 36.0 48.0
61 29.9 53.2 36.6 48.8
63 30.9 54.9 37.8 50.4
65 31.9 56.7 39.0 52.0
70 34.3 61.0 42.0 56.0
71 34.8 61.9 42.6 56.8
84 41.2 73.2 50.4 67.2
103 50.5 89.8 61.8 82.4

VIZ 2008 Keyboard Shortcut Overrides

October 8th, 2007 — 4:00 pm

viz-overrides.gifAutodesk VIZ has different sets of keyboard shortcuts depending on what you are doing. There are the main set of hotkeys, as well of unique hotkeys for areas such as the Material Editor, NURBS, etc…

Hitting “B” in the main GUI will give the bottom view, while “B” in the Material Editor toggles the background. This is only if the Keyboard Shortcut Override toggle is turned on.

To ensure that it is on (it is by default) Make sure the T key icon is down. This icon can be found in the Extras toolbar, which can be toggled by right clicking anywhere on the toolbars.

List Files to .txt

October 5th, 2007 — 11:09 am

Working of several dozen projects a year, I need a way to archive older files to a DVD but still find them quickly when I need them again. Here is a little trick that I have put into practice. I find it is useful when coming to a new project or back to one after a lengthy absence.

After burning a DVD for archiving older project files, I make a text file with the name of every file on that disk. That way I can do a search in the text document and quickly see which disk to pull out for the file I need.

Here is the process: In the Start Menu, go to Run and type “cmd”. Browse to the directory you want to index, say the D drive (type d:). Then type “dir /s >> document.txt” (the “/s” will get all sub folders too, if you don’t want this, just leave it off).

This will list everything into a new text document named “document.txt” There are other options you can do to this, such as “dir /s /b >> document.txt” which will list only the filename, none of the date modified or size information. For more on these options, see Microsoft’s Documentation (or type “dir /?”).

Page 1 of 212»