Archive for the ‘FX Pipeline’ Category

Setup Arduino on CentOS 7

Posted: October 2, 2014 in Arduino, FX Pipeline

Setup Arduino on CentOS 7

arduino centos 02_com arduino centos 04_com arduino centos 06_com

Here I will Show you how you can start your Arduino on Linux CentOS 7.

First you need following:

1. Arduino device

2. USB Cable for Arduino

3. Arduino IDE – Free download from : http://arduino.cc/en/Main/Software

The RXTX that comes with Arduino was modified to support devices of the form /dev/ttyACM*, which are used by the Arduino Uno and Mega 2560 boards (which use an ATmega8U2 instead of an FTDI chip for USB-serial communication)
The RXTX library requires that you specify the serial ports.
Arduino’s (and other USB-serial devices) end up as /dev/ttyUSB# or /dev/ttyACM#.

when you start Arduino IDE first time you may see this error when upload code to device:

error message is: Serial port COM1 not found. Did you select the right one from the Tools > Serial Port menu?

And when you go to select the Serial Port, the option Tools > Serial Port is greyed out

So lets Fix this Error and start your Ardunio on CentOS 7

Plug your arduino, then from terminal:

# dmesg | tail
you will see something like (for arduino < UNO):
[rsharma@localhost ~]$ dmesg | tail
[ 1373.684427] wlo1: associate with 48:f8:b3:23:7c:b1 (try 1/3)
[ 1373.688116] wlo1: RX AssocResp from 48:f8:b3:23:7c:b1 (capab=0x411 status=0 aid=3)
[ 1373.691558] wlo1: associated
[ 1373.691583] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[ 2221.667753] usb 2-1.1: new full-speed USB device number 8 using ehci-pci
[ 2221.756669] usb 2-1.1: New USB device found, idVendor=2341, idProduct=0043
[ 2221.756682] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 2221.756688] usb 2-1.1: Manufacturer: Arduino (www.arduino.cc)
[ 2221.756693] usb 2-1.1: SerialNumber: 95237323934351606171
[ 2221.757248] cdc_acm 2-1.1:1.0: ttyACM0: USB ACM device
[rsharma@localhost ~]$
# lsusb
the output will be similar to this:
[rsharma@localhost ~]$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 138a:003c Validity Sensors, Inc. VFS471 Fingerprint Reader
Bus 002 Device 004: ID 04f2:b230 Chicony Electronics Co., Ltd Integrated HP HD Webcam
look for arduino or FTDI(if prior arduino UNO) write the two 4 digit ID: they are like 093a:2510
093a is the vendor ID
2510 is the product ID
# cd /etc/udev/rules.d/
# gedit 99-arduino.rules

// Add following lines in arduino rules file

for UNO
SUBSYSTEMS==”usb”, ATTRS{idProduct}==”XXXX”, ATTRS{idVendor}==”YYYY”, SYMLINK+=”ttyACM%n”
the others:
SUBSYSTEMS==”usb”, ATTRS{idProduct}==”XXXX”, ATTRS{idVendor}==”YYYY”, SYMLINK+=”ttyUSB%n”
# udevadm control –reload
reboot the system

SET THE PERMISSION

// Add user in Groups

# usermod -a -G uucp rsharma

# usermod -a -G lock rsharma

# usermod -a -G dialup rsharma

# ls -ld /run/lock

# cp /usr/lib/tmpfiles.d/legacy.conf /etc/tmpfiles.d/

# gedit /etc/tmpfiles.d/legacy.conf

change “d /run/lock 0775 root root – ” = to>>  “d /run/lock 0775 root lock – ”

# chmod o+rwx /run/lock

# ls -ld /var/lock

# chmod o+rwx /var/lock

Now Unplug and plug the Arduino device and Restart arduion IDE.

and you can see now Tools > Serial Port menu is activated.

just take a Quick test with your Device

// Copy this code in your IDE and upload to Micro controller

void setup() {
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
delay(1000);              // wait for a second
digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
delay(1000);              // wait for a second
}

arduino_centos


Houdini Flip Simulation – Hallway Flood Scene Tutorial

Free Tutorial Series by Rajiv Sharma, Technical Director

hallway_v004.120

Houdini_FX_workflow

In this Tutorial Series I will cover following:

Part01 – Export scene from Maya to Houdini
Part02 – understand alembic scene and prepare for simulations
Part03 – create flip simulation
Part04 – create foam, spray and bubbles
Part05 – export simulations in bGEO
Part06 – meshing of particles with VDB tools
Part07 – Photo realistic Texturing and Shading of Flip Scene
Part08 – Physically accurate Lighting setup
Part09 – Render passes from Houdini
Part10 – Compositing in Nuke

Checkout the VFX Pipeline Channel.

You can subscribe  to get updates of all Free Visual Effects Tutorials.

Introduction Video

Part01 – Export scene from Maya to Houdini

Part02 – Alembic Scene and Prepare for Texturing, Simulations, Animation and Rendering

Part03 – Set up Flip Simulation

Part04 – Create foam, spray and bubbles

Part05 – export simulations and and File Cache

Part06 – meshing of particles with VDB tools

Part07 – Photo realistic Texturing and Shading of Flip Scene

Part08 – Lighting Set up of Flip Scene

Part09 – Render Passes and Rendering of Flip Scene

Part10 – Composting of Render Passes in Nuke


houdini_playblast

Houdini Playblast Tool

This tool can be free download  from below link.

 

HoudiniPlayblastTool is a Develop for manage preview (Playblast) versions.
Feature of this tool :
1.Create preview and save automatically in proper location.
2.Maintain a complete list of saved playblast with version notes.
3.Version History window will display all versions.
4.Version History support multiple users.
5.from Version History You Can load any preview in mplay in a single click
6.This tool can also build movie(.mp4) if you turn on ‘Build Mov’.
7.Open Recent created preview
8.Add notes to versions
9.publish previews to publish location
10. publish multiple selected previews in asset location
11. display a complete history of preview publish
12. customize paths easily
13. choose player
14. Email Notification after playblast done

This tool is develop on Linux Centos 7,  Houdini 13, Python 2.7

Windows and mac users can use this tool but can not take advantages of few features.

 Release Date :  17 Sept 2014

download

ScreenShots

houdini playblast tool v0.1- 01

houdini playblast tool v0.1- 02

houdini playblast tool v0.1- 03

houdini playblast tool v0.1- 04

houdini playblast tool v0.1- 05


houdini_flip_tutorial

Houdini 13 Flip Fluid Simulation Tutorial.
PART 01
start with Houdini Flip particles shelf.
1. convert objects to liquid particles in Houdini
2. create water tank and interaction of rigid body in Houdini
3. create foam, spray, bubbles with water simulation in Houdini


h13

How to render image with motion blur In Houdini

In this video we will learn how to render image frame with motion blur in Houdini.
with examples:
Render character animation with motion blur in Houdini
Render rigid body fracture geometry with motion blur in Houdini
Render Particles effects with motion blur in Houdini


h13

Houdini FX – How To Emit and Generate Particles in Houdini

In this video we will learn how may types we can generate or emit particles in Houdini 13.
Particle Emit from Locator in Houdini 13
Particle Emit from Surface in Houdini 13
Particle Emit from Texture Map in Houdini 13

 


05. VFX Pipeline.