Noctua

CG Tools

Noctua header image 1

Portable app for windows

January 30th, 2012 · Uncategorized

SVN : The zipped binaries are available in the win32svn project here: http://sourceforge.net/projects/win32svn/files/.

In the subdirectory of your favorite version, just download the file that has a name like svn-win32-1.6.16.zip and unpack to your home dir, local hd or (in my case) usb stick.

→ No CommentsTags:

Toolbox

October 26th, 2011 · Uncategorized

A List of interesting links for further reference :
[Read more →]

→ No CommentsTags:

Doxygen documentation with cmake

October 26th, 2011 · Uncategorized

Automatic documentation generation at build time with cmake and doxygen is really easy just add the following line to your CMakeLists.txt.
[Read more →]

→ No CommentsTags:

Happy Feet 2 first trailer released.

July 16th, 2011 · Work

The first trailer for the film I’m actually working on was released recently.
Enjoy !

→ No CommentsTags:

Linux memo

May 31st, 2011 · Uncategorized

GENERAL
Split $PATH in a readable form :
echo $PATH | tr “:” “\n”
remove all files except the one named “DoNotCopy”:
rm -r -f *?[!DoNotCopy]
find recursively each .h file for the string “noctua”
grep -r –include=”*.h” noctua .
or
find -name ‘*.h’ | xargs grep noctua

SVN :
readable diff of 2 SVN versions :
svn diff http://svn/myFile@r82065 http://svn/myfile@r82082 –diff-cmd kdiff3
Merge trunk –> branch ( branch created at rev 125) From the branch local dir do :
svn merge -r 125:HEAD_REVISION http://svn/myProject/trunk .
Merge branch –> trunk ( branch created at rev 125) From the trunk local dir do :
svn merge -r 125:HEAD_REVISION http://svn/myProject/branch .

GDB :
GDB tutorial
show the callstack for each threads
thread apply all backtrace

FIND /REGEX :
Regex syntax
Search for all synamic and static libraries :
sos=`find -type f | grep ‘\.so$\|\.a$’`

SYMBOLS /LINKING :
List and filter symbols in “ToInspect.so” :
nm ToInspect.so | awk ‘{print $NF}’ | xargs -n 1 c++filt | grep TypedAttribute | grep typeid | grep float | grep -v serial
Show how symbols (variables and functions, for example) are resolved for a dynamic executable :
use LD_DEBUG

CYGWIN
execute a bash script from windows cmd
c:\cygwin\bin\bash –login “c:\backup-script.sh”

in case of bash script not working properly (eg : unjustified “no such file or directory” messages )
try using $dos2unix nomFich.sh to convert the file to the right format.

How do I access the C: disk from cygwin?
I like this permanent solution: create a directory for each of your disks and mount them:
> cd /
> mkdir c
> mount c: /c
> mkdir d
> mount d: /d
> …etc

Configure text editor in cygwin bash
Add the following function to .bashrc to map the command ed to notepad (eg ed myText.txt)

EDITOR=`cygpath -a “C:\Program Files (x86)\Notepad++\notepad++.exe”`
ed () {
FILE=`cygpath -w -a $@`
echo Editing: $FILE
`”$EDITOR” $FILE`&
}

Avoid cygwin fork error at Windows7 64bit.

The Fork error may occurs when you execute setup.exe of cygwin and update sygwin related libraries. For avoid this error, you need the following steps.

– Start windows comand prompt, and start /usr/bin/ash.
– Type /bin/rebaseall command in ash prompt.
– Start sygwin command prompt.

Reference: http://superuser.com/questions/194529/cygwin-fatal-error-unable-to-remap-what-does-it-mean

MAKE
ask make to show the command (g++ ..) : make -n

LINUX DEBUGING
Nice description of basic linux debugging tools : Debugging-Linux-Applications

→ No CommentsTags:···

LU Matrix Decomposition in parallel with CUDA

April 21st, 2011 · Real time

The cublasStrsm() function allow us to solve linear systems in parallel but only when triangular matrix are involved.
For the general case, we need to perform a LU decomposition of the matrix beforehand.

For now,the Cublas library lack this featureĀ  but almost all the Level 3 blass functions needed for the blocked LU decomposition are already available in Cublas.
The Blocked LU decomposition works like standard LU decomposition. But instead of applying the algorithm to digit, each step is performed onto block matrices.
[Read more →]

→ 11 CommentsTags:·····

Beauty of nature

April 25th, 2010 · Visual Art

The gorgeous light we got today, invited me to draw a little. I couldn’t find more than a blue pencil in my bag. This led me to rediscover a kind of drawing very close to etching which I practiced a lot few years ago.

→ No CommentsTags:··

HeightField Volume Rendering with CUDA

April 5th, 2010 · Programming, Real time

No code shared this time but a small video of my tests with CUDA.
[Read more →]

→ No CommentsTags:····

Quantic Dream new web site

April 5th, 2010 · Work

Quantic Dream has renewed it’s web site. Of course focused on their last title Heavy Rain.

For a game, which at first, didn’t look like it would succeed in terms of sales, today’s news certainly comes as fantastic news to Sony and Quantic Dream. After being on sale for only 5 weeks, Heavy Rain has reached a milestone and has sold over 1 million copies.

The game, regarded to be more like an interactive film, has joined God of War 3 and Final Fantasy 13 in an exclusive club to of sold over a million copies throughout March.

→ No CommentsTags:··

A Simple Dependency Graph Library

March 23rd, 2010 · Maya tools, Programming

Dependency graph could be usefull for many things. Past year, I wrote my own for a personal project. I provide here the library source code and all the testing stuffs.
[Read more →]

→ No CommentsTags:·······