Most cases of premature ejaculation do not have a clear cause. With sexual experience and age, men often learn to delay orgasm. Premature ejaculation may occur with a new partner, only in certain sexual situations, or if it has been a long time since the last ejaculation. Psychological factors such as anxiety, guilt, or depression can cause premature ejaculation. In some cases, premature ejaculation may be related to a medical cause such as hormonal problems, injury, or a side effect of certain medicines. Important announce to our visitors: buy kamagra uk online with no prescription if you require generic kamagra and get quick delivery to uk. Worrying that you won't be able to perform in bed can make it harder for you to do just that. Anxiety from other parts of your life can also spill over into the bedroom. Full information about Kamagra product line by Adjanta - buy kamagra oral jelly online in australia.

Archive for the ‘Python’ Category

Ramp rig

Tuesday, December 7th, 2010

Occasionally in my Maya rigging work I want to use and animate a ramp (or many ramps) as part of a node network, but going through the ramp-editing interface is tedious, and the graph editor doesn’t give me the visual feedback I’d like. So I wrote a script that creates a simple interface for manipulating a monochrome ramp in the viewport.

Note that real-time feedback is only available in the viewport’s “High Quality” mode.

Download the file here: rampRig01.py

(more…)

Coral Towers

Monday, August 30th, 2010

New attachment support in my favela-generating code, plus a Romanesque model set, and I’ve got a collaboration by de Chirico and Dr. Seuss.

Translucent City

Wednesday, August 4th, 2010

Made with my foetal citybuilder script, rendered in with mental ray using the misss_physical shader.

Voxelizer 1.0

Saturday, July 3rd, 2010

Voxelizer 1.0 is a script written in Python for Maya. It builds an array of animated cubes in the shape of selected target objects. It takes the color of the cubes from the texture and lighting of the object, and respects visibility and transparency. It also allows keyable voxel and gap sizes, by checking the sizes of optional control objects.

Download files here:
Voxelizer1.0.py
Voxelizer1.0_test.ma (Maya 2010)

Instructions and code follow:
(more…)

Banana 02

Thursday, June 24th, 2010

Separate controls for the size of the voxel grid and the size of the cubes.

Banana

Tuesday, June 22nd, 2010

The code now respects alpha, and can vary the cube size.

Colored Voxels

Tuesday, May 25th, 2010

Returning to the scene of the cubical crime…

I’ve found a way to apply colors to my mesh-voxelizing script, by sampling the color of the source model with Maya’s polyGeoSampler command. Incredibly, polyGeoSampler isn’t queryable. It’s used to bake the color of a mesh’s textures to the vertices of the mesh. So once you’ve done that, you can query *that* color with the polyNormalPerVertex command.

This technique only gives the expected result as long as your voxels are larger than your polys. Isn’t there any way to return the color of a texture at a given point on a poly?

Citadel

Monday, May 24th, 2010

A variety of shapes growing upward, ever upward, and occasionally outward, supported from below, except for the ground floor, which is supported by pure force of will.

Wii Nunchuk to Maya

Sunday, April 11th, 2010

Simple proof of concept: A Wii Nunchuk controller connected to Maya via an Arduino, which sends the Nunchuk’s accelerometer data through the serial port. Maya uses PySerial to open the serial port, reads the data, and converts it to an attribute value.

You can see that the accelerometer has quite a lot of “ring” from sharp shocks.

I based this test on Tod Kurt’s BlinkMChuck code. The Nunchuk is connected to the Arduino with this connector from Todbot. Here’s an archive containing the test files: WiiChukPOC.zip

And here’s a link to the setup required to configure pySerial: http://zoomy.net/2009/07/26/basic-arduino-to-maya-communication/

Code follows.
(more…)

Voxelize Meshes Script v.2

Thursday, February 25th, 2010

With the help of the patient people in the python_inside_maya forum, I’ve improved the Voxelize Meshes Script, mostly by more efficient use of the allIntersections method.

Instead of checking each point on the grid to see whether it’s inside one of the target meshes, this version shoots rays through the meshes along each axis and puts blocks at the intersections. This makes it approximately a zillion times faster, though I’m sure it could still be improved.

Update: Richard Kazuo from the p_i_m forum has excised lingering traces of pymel from my script, I’ve updated the code below with his improved version. It should now run with Maya’s default Python installation. Thanks Richard!

Update 2: Here’s the even-more-efficient voxelize_meshes_v.3.py … I’m putting this to bed now.

Maya Python code:
(more…)

Voxelize Meshes Script

Wednesday, February 10th, 2010

This script will voxelize selected meshes over the frame range of the timeline.

It is currently rather slow.

Pymel code:
(more…)

Voxelize Mesh Script

Monday, February 8th, 2010

This script will voxelize an animated mesh. It creates an array of cubes which fills the bounding box of the mesh’s motion through its animated range, and animates the visibility of each cube over the frame range based on its proximity to the mesh.

It’s quite slow, and would be faster if it used my octree, but it’s a start.

Written in Python with PyMEL for Maya.

Code follows:
(more…)

Pymel OOOctree

Sunday, February 7th, 2010

Please find below an expanding object-oriented octree implemented in Python with PyMEL for Maya. In this configuration, the octree functions as a space-partitioning scheme used to quickly find intersections between the bounding boxes of objects in scenes with many objects. It is not perfect but it does the job.

OOOctree_v.1.py

Usage and code follows.
(more…)

A Brief History of Manhattan

Wednesday, February 3rd, 2010

Not to scale.

Donut-upon-Avon

Wednesday, February 3rd, 2010

This donut was grown on the banks of the Upper Avon, and is popularly known as Shakespeare’s Donut. First described by Washington Irving, it was later the inspiration for the plan of the Globe Theater. Not coincidentally, a globe’s outer surface may be described by the transverse rotation of a sideways donut. However, this is not recommended.

How Globes Are Made, on Vimeo.