Page 1 of 1

Where can I read and learn about instancing?

Posted: Thu Jan 24, 2013 12:10 am
by bravoddb
Hi, I would like to know if can I import or merge some objects in to Octane?

I'm using sketchup to make the models architectural model, and I would like to import some complex furniture in to Octane if this is possible, and I also have read that some time would be possible use instancing.

Thanks.

Re: Where can I read and learn about instancing?

Posted: Thu Jan 24, 2013 9:56 am
by face_off
Hi

There are 2 components to Instancing...1) generating the instance files (csv files containing the transforms which describe each instance of the geometry, and 2) using the "scatter" node in Octane to load the csv file to render the instances. Octane Standalone plus all the plugins cater for 2), however the Poser plugin is the only plugin to date (o my knowledge) which will generate the transform file. See https://vimeo.com/54438243 for details on the later. Also check the thread at http://render.otoy.com/forum/viewtopic. ... et#p100608 for instancing from Sketchup details.

Paul

Re: Where can I read and learn about instancing?

Posted: Thu Jan 24, 2013 10:01 am
by newske
It's not overly difficult to write an instancing export script if you know Python or a compatible language with Sketchup (Ruby?)

We have done so for Rhino and use it often.

All you have to do is generate the transformation matrix and possible map Sketchup Z to OBJ Y (changebasis transformation) - though can anyone verify this? That's how it is in Rhino.

You also don't need to go to octane .csv. You might find it easier, but you can actually link .txt files to scatter nodes, which I find easier to update.

Cam

Edit: Rhino export in question is in RhinoPython using the Python-wrapped Rhino SDK.