position, rotation, scale to scatter matrix 3x4

Forums: position, rotation, scale to scatter matrix 3x4
Forum for OctaneRender Lua scripting examples, discussion and support.

position, rotation, scale to scatter matrix 3x4

Postby ruthenoid » Mon Nov 28, 2016 7:52 pm

ruthenoid Mon Nov 28, 2016 7:52 pm
Paste a list of positions, rotations and scales and assemble your matrices in octane.
This is my first lua script, so shut up/criticize to death?

screenshot.png

Usage:
  1. select a scatter node or don't
  2. start the script
  3. paste a space separated list of positions, rotations and scales (per line)
  4. fiddle with the rotation order and deg/rad option until it fits
  5. update your scatter data

Feel free to report bugs

posRotScale2scatter.lua
(7.56 KiB) Downloaded 308 times
v.0.1
OS: Win7 x64, RAM: 8Gb, GPU: GTX 460 2048 Mb
ruthenoid
Licensed Customer
Licensed Customer
 
Posts: 21
Joined: Sat Apr 17, 2010 6:51 am
Location: cologne, ger

Re: position, rotation, scale to scatter matrix 3x4

Postby smicha » Wed Feb 08, 2017 9:27 am

smicha Wed Feb 08, 2017 9:27 am
ruthenoid,

This is awesome - would you be willing to develop the script I started, Marcus and others coded ?
viewtopic.php?f=73&t=53839#p272454
viewtopic.php?f=73&t=41388
Win7, Modo 10.1, Octane for Modo and Sketchup, nVidia latest, TITAN+3x780 6GB, 2600K, P8P67WS, 32GB, 1350W
SMH10, EK, Airplex_480, SR1_560, 20xNB_PL2, 2xD5, Aquaero 6XT
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
smicha
Licensed Customer
Licensed Customer
 
Posts: 3145
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 2 guests

Tue Sep 17, 2019 2:17 am [ UTC ]