use instances ?

VIP Information, news and announcements regarding new Octane Render commercial products and releases.
Post Reply
Hamed.Mojtabavi
Licensed Customer
Posts: 9
Joined: Sat Jul 14, 2012 4:20 pm

hi
is there any one here that can use instances ? and how??????
mib2berlin
Licensed Customer
Posts: 1194
Joined: Wed Jan 27, 2010 7:18 pm
Location: Germany

Hi, you need a release candidate version of octane, latest is 3.03.
Tutorial:

http://www.youtube.com/watch?feature=pl ... PsGuKA3dZY

Some exporter supports instances, blender do for example.

Cheers, mib.
Opensuse Leap 42.3/64 i5-3570K 16 GB
GTX 760 4 GB Driver: 430.31
Octane 3.08 Blender Octane
Hamed.Mojtabavi
Licensed Customer
Posts: 9
Joined: Sat Jul 14, 2012 4:20 pm

mib2berlin wrote:Hi, you need a release candidate version of octane, latest is 3.03.
Tutorial:

http://www.youtube.com/watch?feature=pl ... PsGuKA3dZY

Some exporter supports instances, blender do for example.

Cheers, mib.
tanx alot mib2berlin

Do you know how to use it in max ? is that like regular instaces in max?
User avatar
face_off
Octane Plugin Developer
Posts: 15696
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

For Octane Standalone, load the mesh you want to instance into an objects->mesh node. Then plug that node into a objects->scatter node. Plug the scatter node into the mesh pin of the rendertarget node. You will need to add at least one transform to the scatter node.

The transform is a position, scale and rotation matrix (only the first 3 rows of the 4x4 matrix). You can either make a transform matrix by hand, or generate one (not via Octane Standalone). I'm not a 3DS Max person, but I understand you can use the scatter plugin to generate the transform matrix. The OctaneRender for Poser plugin will generate the transform for you too.
You do not have the required permissions to view the files attached to this post.
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
vanhage
Licensed Customer
Posts: 31
Joined: Sun Jan 20, 2013 4:00 pm
Location: Brooklyn, NY, USA

Hello,

I've spent a few hours looking into creating an automatic scatter node matrix exporter to generate all the transforms parametrically using Rhino5/grasshopper and save them out as a txt file to automate things like foliage and entourage in Octane. I have some questions/observations that hopefully someone can shed some light on.

-I tend to work in mm, but it appears that all the camera controls and matrix inputs for the scatter node are in Meters? I would have thought that when you set the obj import units, those units would be the units for the file, guess not.

-Is there a way to swap the Y and Z axes for the coordinate system so that Z is up? I work mostly in rhino and grasshopper and all my transformation matrices are generated XYZ, NOT XZY.

-Correct me if i'm wrong, but it seems like the Z axis is working backwards. When I input values in the scatter node I have to input a negative value for Z to get it to move in the positive direction. I know this is the case in computer graphic software like processing, but I've never seen it in a 3d program. Am I missing something?

Thanks,
~Vanhage
Win 8 64 | 2X Geforce GTX680 | i7-3770K Ivy Bridge 3.5GHz | 32GB
User avatar
face_off
Octane Plugin Developer
Posts: 15696
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

-I tend to work in mm, but it appears that all the camera controls and matrix inputs for the scatter node are in Meters? I would have thought that when you set the obj import units, those units would be the units for the file, guess not.
Octane works in metres, so the transformation matrix needs to be in metres.
-Is there a way to swap the Y and Z axes for the coordinate system so that Z is up? I work mostly in rhino and grasshopper and all my transformation matrices are generated XYZ, NOT XZY.
If you are NOT using the daylight environment, you can re-assign the "up" vector of the camera to compensate for this (set up to 0, 0, 1). However ideally you should transform your transformation matrix such that Octane X = Rhino X, Octane Y = Rhino Z and Octane Z = Rhino Y (or maybe -Y). Whilst that is simple for vectors, it may be tricky for the rotation matrix part of the transform. I convert EVERYTHING to the Octane axis system before applying quaternions/rotation matrices. So if you have a plane that your transforms will be placed on, convert the Rhino coord system to Octane XYZ prior to applying any rotations you need. Good luck!

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
newske
Licensed Customer
Posts: 126
Joined: Sat Nov 03, 2012 11:51 pm

I use scatter from Rhino frequently.

A short python function for this would be:
def XFormFlipYZ(matrix):
XBasis= rs.XformChangeBasis2((1,0,0),(0,1,0),(0,0,1),(1,0,0),(0,0,1),(0,-1,0))
return(XBasis * matrix)
This will map Rhino Z to OBJ Y
Octane for Rhino | Windows 8.1 x64 | i7-3820 OC | GTX970 4GB OC & GTX 560 Ti 1GB OC | 32GB DDR3
Post Reply

Return to “Commercial Product News & Releases (Download here)”