<?php
/// how to define a variable in a function to use globals
function myCode(){
$GLOBALS['magic'] = "what";
}
myCode(); /// -- run function
echo $magic; //<-- OUTPUT WHAT.
function test(){
echo $GLOBALS['magic']; /// <-- output What
};
?>
Thursday, January 31, 2013
Define Variable in Function to use GLOBALLY
Need to define a variable within a function, but you'd like to use it throughout your script.....
here is an example on how to create it and how you can use it.
Monday, January 28, 2013
Cloning Brush Shapes
One of the keys to successfully using the clone tool is using a brush that does not have a perfect shape. Below is an image of some cloning brush shapes. If you create a brush shape similar to these and add some dynamics to the brush (ie. rotation, jitter), you will find your image to be a bit more believable and hard to spot patterns.
Sunday, November 25, 2012
Mental Ray Daylight System / Final Gather Global Illumination
These are my results from rendering with FG / GI Maps and without.
Notice how long it takes to render w/ and without
Notice how long it takes to render w/ and without
Saturday, November 17, 2012
Quality Difference in Exporting Footage / Video
Here is a test I did using a RED Epic. I took the R3D file and exported it at 3 different qualities to see what the difference would be color wise.
Looks at the difference between Animation Compression and H.264. It seems to be a huge difference.
Friday, July 13, 2012
Tuesday, May 15, 2012
Thursday, April 5, 2012
Scanning DPI
NOTES from the WEB:
DPI Formula for traditional animation resolutions
1920 / 6 field = 320 dpi
Output width in pixels / artwork field width in inches = scanning dpi
2048 pixels / 5 field inches = 409 dpi
A HD 720p 10 field scene would be:
1280 pixels /10 inches = 128 dpi
A 640 x 480 NTSC video 12 field scene would be
640 pixels / 12 inches = 53.3 dpi
DPI Formula for traditional animation resolutions
1920 / 6 field = 320 dpi
Output width in pixels / artwork field width in inches = scanning dpi
2048 pixels / 5 field inches = 409 dpi
A HD 720p 10 field scene would be:
1280 pixels /10 inches = 128 dpi
A 640 x 480 NTSC video 12 field scene would be
640 pixels / 12 inches = 53.3 dpi
Subscribe to:
Comments (Atom)


