Posts Tagged ‘hdk’

Very early release of code

So this will be short, I’m going to put the source code online together with an example of how to use instancePc.This is by no means finished and by all means still a work in progress, but hopefully you can learn something from it. So I apologize if it breaks. At the moment I’ve only been compiling for Ubuntu 9.04 so I have no idea if this even works on windows. I will continue to create more step by step posts and examples when I have a bit of time.

from example file: lots of leaves with instancePc

Here is the source code with an example file:

2010_10_12_instancepc

VRAYprocedural – getting started 2 – compiling

Compiling a VRAYprocedural example

Compiling a SOP

After you have copied the samples folder from $HFS/toolkit/samples it is time to try and compile one of the examples. It is a little bit easier to compile a normal sop rather than a VRAYprocedural, so let’s do that first. The SOP_Star.C is easy to test.

cd $HOME/dev/houdini11.0/samples/SOP
hcustom SOP_Star.C

This will create SOP_Star.so in $HOME/houdini11.0/dso which is the default where hcustom will put plugins for most nodes. VRAYprocedurals are not loaded by houdini, but are loaded by mantra. They should be put in:
$HOME/houdini11.0/dso/mantra
If all went well, you should be able to start up a new houdini and inside of a geometry node, lay down a star sop. A change to a plugin requires you to restart houdini. However changing a VRAYprocedural does not require you to restart houdini as it is loaded by mantra and mantra is only called when you launch a render.

How does it all link together?

VRAYprocedural flowchart

A flowchart of the VRAYprocedural connections

Read more

VRAYprocedural – getting started 1 – configuration

Getting started

Help!

Often the hardest thing is getting started. So I’m going to try and lay out plain and simple how I started and where to look for things. The goal for this post is to provide you with as much information on how to compile your first VRAYprocedural. You might already know a lot of this info as it can be found in the documentation or scattered on the forums, but let’s start easy and expand from there. Talking about documentation, Sidefx has added some pretty decent documentation online and you will be browsing through them often (bookmark!): General Houdini documentation and HDK specific documentation. There is also a bunch of good info on the odforce wiki.

On a side note, if you are “afraid” of programming/scripting/mathematics/goldfish :) /… there really is no reason for that. You just need to inform yourself better and “get over it” or “just do it”. So to help inform you there are plenty of resources out there, courses, video tutorials and books. Here is a list of some of the books that have helped me along the way of becoming a better TD: Technical Director books on Amazon

Read more

Return top