Add a processing applet to a blog post

Posted by on Oct 27, 2010 in default, how to | 2 Comments

Anyone know how to do this? HELP! 😀 I am trying to figure it out.

I want to do it specifically for WordPress, but any info would be welcome.

Here is the applet working at another url.

Thanks,

Oliver

<APPLET name="sketch_oct28a" WIDTH="600" HEIGHT="400" archive="http://oliverwolfson.com/scripts/processing/sketch_oct28a/applet/sketch_oct28a.jar" standby="Loading Processing software..." codebase="http://www.movope.de/assets/java/" code="http://oliverwolfson.com/scripts/processing/sketch_oct28a/applet/sketch_oct28a.class" mayscript="true" scriptable="true" image="http://oliverwolfson.com/scripts/processing/sketch_oct28a/applet/loading.gif" boxmessage="Loading Processing software..." boxcolor="#FFFFFF">
<IMG SRC="http://oliverwolfson.com/scripts/processing/sketch_oct28a/applet/loading.gif" WIDTH="1" HEIGHT="1" />
</APPLET>

Apple Mac Pro Bluetooth issue solved

Posted by on Sep 19, 2010 in Apple, default, how to, Mac | 22 Comments

If you are using a Mac Pro with wireless Bluetooth devices, particularly a mouse, you may have noticed an annoying lag or stutter in the performance. I bought the Magic Mouse and a wireless keyboard to solve some ergonomic issues. Unfortunately, poor performance made the situation even worse. Now, after having fixed this problem, my wireless devices are working perfectly.

The problem seems to be poor reception from the Bluetooth unit that shipped with my Mac Pro. I solved this by installing a third party Bluetooth usb adapter. In order for the new usb Bluetooth to operate properly, I had to disable the original internal Bluetooth unit. The instructions to disable the Mac Pro’s Bluetooth are below:

Review the procedure for working on your Mac by downloading a manual here.

1. Turn off Mac Pro. Remove power cord. Remove case cover.
2. Remove the processor tray.

 

Mac Pro Processor Tray

3. Find the Bluetooth unit on the motherboard. It is located near the bottom, on the right hand side as you are looking into the case.

 

Mac Pro bluetooth unit

4. Remove the connector that connects the Bluetooth to the motherboard.

 

Mac Pro bluetooth connector

5. Replace processor tray, and close case.

 

bluetooth USB dongle

6. Install a usb Bluetooth adapter.

Above is the tiny IOGear USB 2.1 Bluetooth Micro Adapter GBU421, which seems to work well with my Mac.

Note: I am using an Intel based MacPro4,1, bought in 2009. If you are using an older Mac Pro, you may want to look at this article and this article, as I believe that the configuration is different.

Caveat: While I am fairly certain that the Mac Pro’s internal Bluetooth could use and antenna redesign, given that so many people are having this same issue, I was not able to completely resolve my issue until I moved the usb Bluetooth adapter up onto my Cinema display, which features usb ports, and is a bit closer to the wireless devices. When I placed the adapter on one of the Mac Pro’s USB ports, on the front of the tower, again the result was poor performance. This leads me to believe that there is some interference from my furniture as well.

Note: If you are using a Magic Mouse, Magic Prefs is a must. It greatly expands the functionality of the Magic Mouse.

Disclaimer

SyntaxHighlighter plugin for WordPress

Posted by on Aug 17, 2010 in code, default | No Comments

SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your WordPress powered site. Download the plugin here.

Code is styled with what they call a “brush”. See a list of syntax brushes here.

Ex:  for c code.

An example of C code, formatted and highlighted by the plugin.

  
/* sample C code */
 #include <stdio.h>

 main()
 {
    printf ("SyntaxHighlighter Evolved for WordPress \n");
    return 0;
 }

Example of a Python script , formatted and highlighted by SyntaxHighlighter, using the Python brush.

# Measure some strings:
a = ['cat', 'window', 'defenestrate']
for x in a:
    print x, len(x)

Example of a MEL script , formatted by SyntaxHighlighter, using the Plain Text brush, there is no MEL brush.

//random MEL script
string $myString = "some random MEL";
print ($myString +"\n");
print (size($myString));

Falling Diamonds

Posted by on Mar 15, 2010 in animation, default, rendering | No Comments

Part of a Thai music video in tribute to Petchara, a star of the 60’s, and featuring Weir, a current star. I was tasked with adding cg diamonds falling from above.

Yellow Diamond

Posted by on Jan 7, 2010 in default, rendering | No Comments

Yellow diamond render. Rendered with Mental Ray.

Books that I am currently reading

Posted by on Jan 4, 2010 in books, default | No Comments

I just finished this one.

The HDRI Handbook

I am now reading this one.

Adobe After Effects CS4 Visual Effects and Compositing Studio Techniques

Both are very informative. They come highly recommended from top industry professionals. Check them out if you have not already read.

Paint Drips

Posted by on Dec 15, 2009 in animation, default, rendering | No Comments

Video of paint splashes and drips mapped onto a 3D object and rendered at high contrast.

Make Studio Lights MEL Script

Posted by on Aug 24, 2009 in code, default, lighting, MEL, rendering | No Comments

Maya MEL script that some may find use useful. It’s called Make Studio Lights, and it does just that. It creates lights featuring procedurally textured reflection cards that simulate softbox and umbrella reflectors. These can work well in combination with indirect illumination in Mental Ray. I want to improve this, and will upgrade the script as I can.

Get the script.


A sample render scene.

makeStudioLightsTestRender

See this link for a new version of the softbox light, the control is somewhat easier to use in this version.

See this link for a newer HDR image based version of this script. May have improved results and easier to control custom manipulator.

Shattering glass test

Posted by on Aug 22, 2009 in animation, default, dynamics | No Comments

Test for dynamic shattering glass shatter animation project. This was modeled and rendered in Maya and animated in Real Flow.

Load More