Hi!
- Is it possible to have sliders in the transform nodes instead of text boxes where you have to put the values yourself ? Or maybe there is a way to change it?
Using the channel box click and drag is not very handful.
- Same with the Projection node. If there is a way to have a proxy representation of the projection in the scene it would be very usefull ! Something that we can transform, rotate and scale to affect the projection node's transformation.
Thank you!
Transform Node Slider/ Projection Proxy
Moderator: JimStar
If you don't like dragging attributes with the channel box,Renart wrote:Hi!
- Is it possible to have sliders in the transform nodes instead of text boxes where you have to put the values yourself ? Or maybe there is a way to change it?
Using the channel box click and drag is not very handful.
- Same with the Projection node. If there is a way to have a proxy representation of the projection in the scene it would be very usefull ! Something that we can transform, rotate and scale to affect the projection node's transformation.
Crtl Drag in the attribute editor field do the same.
But it's even more handy as you can have 3 speed of virtual cursor :
-Ctrl Left Mouse Button drag: slow cursor
-Ctrl Middle Mouse Button drag: normal cursor
-Ctrl Right Mouse Button drag: fast cursor
Also you can just connect the Translate, Rotate, Scale attribute of a Maya Locator node to the Octane Transform node,
to manipulate it directly in the viewport:
(If you use "Local coordinate space" in the project node, you must parent the locator to the object)
- Attachments
-
- ProjectionTransfromManipulator.zip
- (13.26 KiB) Downloaded 268 times
Pascal ANDRE
Thank you Calus!
I didn't know you can drag the values on the attribute editor as well
For the projection, it's a good idea!
I made a quick and dirty script to make the process more easy everytime :
I'm gonna create a thread in the tutorial folder as well 
Cheers!
I didn't know you can drag the values on the attribute editor as well

For the projection, it's a good idea!
I made a quick and dirty script to make the process more easy everytime :
Code: Select all
import maya.cmds as cmds
#Octane_Projection_Setup
#Select the texture node to project and run the script. It will create a locator linked to the projection to make the transform more easy to manipulate.
#You can change the projection type by changing the octaneBoxProjection with what you need
#Nodes creations
TextureNode = cmds.ls(sl=1)
NameSuffix = TextureNode[0]
ProjectionNode = cmds.createNode('octaneBoxProjection', n='octaneBoxProjection_'+NameSuffix)
TransformNode = cmds.createNode('octaneTransform3D', n='octaneTransform3D_'+NameSuffix)
ConversionNode = cmds.createNode('unitConversion', n='unitConversion_'+NameSuffix)
LocatorNode = cmds.spaceLocator(n='Locator_'+NameSuffix)
#Connections
cmds.connectAttr('Locator_'+NameSuffix+'.rotate','unitConversion_'+NameSuffix+'.input')
cmds.connectAttr('unitConversion_'+NameSuffix+'.output','octaneTransform3D_'+NameSuffix+'.Rotation')
cmds.connectAttr('Locator_'+NameSuffix+'.scale','octaneTransform3D_'+NameSuffix+'.Scale')
cmds.connectAttr('Locator_'+NameSuffix+'.translate','octaneTransform3D_'+NameSuffix+'.Translation')
cmds.connectAttr('octaneTransform3D_'+NameSuffix+'.outTransform','octaneBoxProjection_'+NameSuffix+'.Transform')
cmds.connectAttr('octaneBoxProjection_'+NameSuffix+'.outProj',NameSuffix+'.Projection')
#SetAttributes
cmds.setAttr('unitConversion_'+NameSuffix+'.conversionFactor',57.296)

Cheers!