четверг, 27 сентября 2018 г.

Helicopter renders


Shading tests helicopter.
Houdini, Mantra 




was made for cinema:

вторник, 1 мая 2018 г.

container

Houdini + redshift test instancing 

пятница, 19 января 2018 г.

вторник, 9 января 2018 г.

houdini sprite animation

houdini sprite animation with POPWrangle for removing too closely spaced points.
POPWrangle:
int handle = pcopen(0, "P", @P, 0.1, 2);
pciterate(handle);
if(pciterate(handle)) {
 int nnum;
 pcimport(handle, "point.number", nnum);
 if(nnum > @ptnum)
  i@dead = 1;
}

четверг, 18 мая 2017 г.

Radiola

Now this work in the render.ru gallery:  http://render.ru/gallery/work/114844#work






воскресенье, 11 декабря 2016 г.

CG Event 2016, Материалы к выступлению: GIT


Не большая презентация о GIT
part 2: GIT
пример работы с GIT на примере простых Nuke скриптов
git: video 1
git: video 2

так можно переопределить текстовый редактор Vim при commit 
git config --global core.editor "'D:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin" 
git config -l  

чтобы достучаться через proxy
git config --global http.proxy http://[user]:[password]@[ip adress]:8080 
git config --global --get http.proxy

добавить все файлы 
git add .

исключить некоторые типы файлов из добавления в репозиторий
нужно создать файл .gitignore его содержание:
/.sources 
/docs 
*.bak 
*~ 
*.db 
*.pyc 
файлы из указанных папок и указанных типов не будут добавляться в репозиторий  

четверг, 8 декабря 2016 г.

How can I create documentation with sphinx library

# генерация содержимого папки lib в папку docs/rst
sphinx-apidoc -o docs/rst .

# генерировать документацию
make html

для преодоления ошибок экранируем символы * обратной чертой \
"\*.py"

комментарии пишем с пропуском строки перед аргументами и внимательно относясь к отступам. Например:
text

arg:
   comment

in the comment you can print :
for bold string:
- **parameters**, **types**, **return** and **return types**::

for parametrs

parameters using :param <name>: <description>
type of the parameters :type <name>: <description>
returns using :returns: <description>
examples (doctest)
seealso using .. seealso:: text
notes using .. note:: text
warning using .. warning:: text
todo .. todo:: te

понедельник, 6 июня 2016 г.

STRIKE


STRIKE advertizing was created in year 2010 in 'Lesta Studio'.

пятница, 20 мая 2016 г.

How can you start IPython

for install enter string:
$ pip install "ipython[all]"

in the work catalog enter:
$ iptest notebook

easy tutorial:
https://www.youtube.com/watch?v=H6dLGQw9yFQ

четверг, 19 мая 2016 г.

How can I get the current time in python

-----------------------------------------
import time
time.asctime()
>>> 'Sat May 21 01:34:38 2016'

import time
gmtime = time.gmtime(time.time())
ftime = '%a %d %b %Y %H:%M:%S GMT'
str = time.strftime(ftime, gmtime)
str
>>> 'Fri 20 May 2016 22:35:40 GMT'

----------------------------------------
import email.utils

email.utils.formatdate()
>>> 'Fri, 20 May 2016 22:37:02 -0000'

email.utils.formatdate(localtime=True)
>>> 'Sat, 21 May 2016 01:36:46 +0300'

email.utils.formatdate(usegmt=True)
>>> 'Fri, 20 May 2016 22:36:57 GMT'

---------------------------------------- 
from datetime import datetime

print datetime.now()
>>> 2016-05-21 01:38:16.661000

print datetime.now().time()
>>> 01:38:27.261000

print datetime.utcnow()
>>> 2016-05-20 22:39:04.538000

​now = datetime.now()
print '{}:{}:{}'.format(now.hour, now.minute, now.second)
>>> 1:40:12

How can I convert *.ui to *.py file

Inside PySide you can create interface with visual tool:

c:\Python27\Lib\site-packages\PySide\designer.exe

it looks like this:


after creating some interface you can converted it to python file with correct classes

c:\Python27\Scripts\pyside-uic.exe uiLogOutput.ui -o uiLogOutput.py





Постоянные читатели