## Load instances Tweet

Forum for OctaneRender Lua scripting examples, discussion and support.

### Load instances

Here is a script for loading instaces and organize them in a single node .
The format of the expected file is

instances.oscr
--------------
file :W:\path\path\path\couch_004.obj
0 ,0 ,1 ,-2.59897858188629 ,0 ,1 ,0 ,0 ,-1 ,0 ,0 ,-16.4285114743529 ,0 ,0 ,0 ,1
file :W:\path\path\path\panel.obj
1 ,0 ,0 ,-5.59525827547891 ,0 ,1 ,0 ,0.7 ,0 ,0 ,1 ,-8.45729409959543 ,0 ,0 ,0 ,1
1 ,0 ,0 ,-5.59525827547891 ,0 ,1 ,0 ,0.7 ,0 ,0 ,1 ,-6.54479409959543 ,0 ,0 ,0 ,1
1 ,0 ,0 ,-10.4777582754789 ,0 ,1 ,0 ,0.7 ,0 ,0 ,1 ,-4.63229409959543 ,0 ,0 ,0 ,1
1 ,0 ,0 ,-10.4777582754789 ,0 ,1 ,0 ,0.7 ,0 ,0 ,1 ,-6.54479409959543 ,0 ,0 ,0 ,1
1 ,0 ,0 ,-10.4777582754789 ,0 ,1 ,0 ,0.7 ,0 ,0 ,1 ,-8.45729409959543 ,0 ,0 ,0 ,1
Attachments
Load Instances.lua
(3.25 KiB) Downloaded 352 times
gmillas
Licensed Customer

Posts: 45
Joined: Fri Jun 25, 2010 6:15 am
Location: Greece

Return to Lua Scripting

### Who is online

Users browsing this forum: No registered users and 1 guest

Tue Aug 04, 2020 12:27 am [ UTC ]