Blocks & Replication

Rhino 3D (Export script developed by SamPage; Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Post Reply
newske
Licensed Customer
Posts: 126
Joined: Sat Nov 03, 2012 11:51 pm

Hi Paul,
Would it be possible to have the replicate button respect the transformation matrices of block instances? Current, when 'replicate' is used, all scales and rotations are set to 0, whereas ideally if an rhino instance was transformed the octane proxy information should match.

tl;dr: replicate should convert block instance transforms into xyz scale and xyz rotation for Octane.

Regards,
Cam
Octane for Rhino | Windows 8.1 x64 | i7-3820 OC | GTX970 4GB OC & GTX 560 Ti 1GB OC | 32GB DDR3
User avatar
v-cube
Licensed Customer
Posts: 491
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany
Contact:

+1 !!!

that would be great!
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
felipezumaeta
Licensed Customer
Posts: 14
Joined: Tue Sep 14, 2010 3:00 pm

+1
User avatar
face_off
Octane Plugin Developer
Posts: 15697
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

This should be possible. I will try to add this in the next release.

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
User avatar
Marvez
Licensed Customer
Posts: 97
Joined: Wed Oct 08, 2014 4:55 pm

yes would be great
I7 5820K 16MB RAM SSD850PRO GTX 970/780
newske
Licensed Customer
Posts: 126
Joined: Sat Nov 03, 2012 11:51 pm

Thanks Paul. Perhaps it would also be useful to have this as a checkbox in the options, "Always use Rhino instance transformations", for example?
Octane for Rhino | Windows 8.1 x64 | i7-3820 OC | GTX970 4GB OC & GTX 560 Ti 1GB OC | 32GB DDR3
User avatar
face_off
Octane Plugin Developer
Posts: 15697
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

I just had a look at this, and it is replicating the rotation of the proxy to all other instances. So if you rotate the proxy 45 degrees in the Z axis, it will rotate all block instance proxies 45 degrees in the Z axis. So I think it is more an issue that proxies do not add the block instance transform to their rotation. Adding the block instance rotation to the proxy rotation is quite complex, because the plugin wouldn't know if you wanted the block instance rotation applied first, or the proxy rotation (and the order of rotation is critical, since proxies and block instances may have different axis orders). Take for example the situation where you have an XFrog tree, which requires a Y and Z rotation to get it upright - then rotating the block instance in the Y axis will result in the tree loosing it's upright position rather than spinning the tree is you require.

So in summary, I don't think the OP request is possible to implement in the short-term.

However there are other ways around this. For example, you could write a Rhino script to copy a block instance rotation to it's Octane proxy rotation (and Newske - I recall we had a discussion on how to do this a while back?)

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

face_off wrote:Adding the block instance rotation to the proxy rotation is quite complex, because the plugin wouldn't know if you wanted the block instance rotation applied first, or the proxy rotation (and the order of rotation is critical, since proxies and block instances may have different axis orders).

So in summary, I don't think the OP request is possible to implement in the short-term.

However there are other ways around this. For example, you could write a Rhino script to copy a block instance rotation to it's Octane proxy rotation (and Newske - I recall we had a discussion on how to do this a while back?)

Paul
In that case, would it be possible to have an option to override Octane's transforms with Rhino's transforms? The convention for Rhino would be to modify the instance in Rhino, and have the changes reflected in the render, as is the convention with other engines and proxies (ie. V-Ray for Rhino).

Regarding the Rhinoscript - yes, I did indeed apply it in RhinoGrow largely following this as a guide, however it seems like important functionality for Octane for Rhino nonetheless.

---------------------

An unrelated (yet still proxy related) item - see attached screenshot.
  • Proxies (.obj referenced, but no .csv matrix) that are hidden, or on a hidden layer, still show up. I realise that the 'hide' option works, but it's a bit counter intuitive in the Rhino workflow. It's also not possible to select multiple at once to check the 'hide' box.
  • Random colour textures do not apply across instances (however it does work when a .csv is applied).
octanescreen.PNG
Thankyou for the quick response as usual Paul.

Cam
Octane for Rhino | Windows 8.1 x64 | i7-3820 OC | GTX970 4GB OC & GTX 560 Ti 1GB OC | 32GB DDR3
User avatar
face_off
Octane Plugin Developer
Posts: 15697
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

would it be possible to have an option to override Octane's transforms with Rhino's transforms?
This should be possible - but it will wipe out any specific proxy scale/rotation you have applied to get the imported OBJ/ORBX to the correct size/rotation. I will see what can be done in the next few days.

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

face_off wrote:
would it be possible to have an option to override Octane's transforms with Rhino's transforms?
This should be possible - but it will wipe out any specific proxy scale/rotation you have applied to get the imported OBJ/ORBX to the correct size/rotation. I will see what can be done in the next few days.

Paul
That sounds great - thankyou Paul!
Octane for Rhino | Windows 8.1 x64 | i7-3820 OC | GTX970 4GB OC & GTX 560 Ti 1GB OC | 32GB DDR3
Post Reply

Return to “Rhinoceros 3D”