2008年12月10日水曜日

Replace your instance with KT instance object (proxy,almost)

su2ktを使ってインスタンスオブジェクトの置き換えが出来ます。
KTでiesを使うときもSUで設定したスポットライトを置き換えますが、
treeなどの重い物にもとても有効です。

フォーラムのチュートリアルのFletchさんの記事から


This tutorial was written by Kim Frederik. I hope it's useful for you.

It is using SketchUp faceme components as an example, but if you have instanced objects in your scene and want to replace them with a KT model (like tree or car or furniture) it works.

However, in SU you can place proxies (i.e. 2D trees) and if you're using the latest SU2KT plug-in, which allows you to export components as instances to KT, you can replace these with instanced 3D Xfrog trees in KT (if you have them)...

The below is an example, where I've placed some 2D trees in SU and in KT I've replaced these with some X-Frog trees from a KT Model library...

The way I can make it work right now using the SU2KT plug-in made by Tomasz is as follow:
Insert some 2D trees in a scene in SU and then when exporting, you first select all the 2D trees (and only these) and then set the Export selection ONLY to Yes in the SU2KT Export Options window...
Then open your existing model in KT and Merge the new exported trees into the scene...
(The 2D components will now get imported as instanced objects..)

Now follow these steps to replace the proxies with real 3D trees from the KT model libraries...
1.) Insert a tree or another component you want to replace the proxies...
(Repeat to match the number of different models you want to be instanced)
2.) Select one of trees inserted and open the Instancing Brush tool
(Tools > Instancing Brush)
3.) After having selected the model click the Instance button...
Select the surface and click the Canvas button...
4.) Click the Brush button and enter a name for your new instanced object...
5.) In the Scene Tree View select the instanced proxie you want to be replaced by the new high poly 3D tree and right-click it...
6.) Select Instancing in the sub-menu and select the another Instanced object (in this example the 3D tree instanced object you've just created)...
7.) Repeat point 2, 3, 4, 5 and 6 as much as you want...

Voila - you're now able to place proxies in SU and replace them in KT with instanced objects...

0 件のコメント: