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 694 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
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
smicha
Licensed Customer
Licensed Customer
 
Posts: 3151
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 5 guests

Fri Mar 29, 2024 11:33 am [ UTC ]