ラベル RealTimePreview の投稿を表示しています。 すべての投稿を表示
ラベル RealTimePreview の投稿を表示しています。 すべての投稿を表示

2016年9月4日日曜日

SketchUp でパラメトリックモデリング [04]

Viz for SketchUp ver.0.6.1 (early beta) がリリースされました。前回のアップデート (ver.0.5.0) では Mac 版が起動できない状況でしたが、SketchUcation のフォーラムで報告したところ、すぐにアップデートされました。

 前回のポストでリストアップしたノード・リストを更新しました。(NEW061)と表記されているのが今回追加されたノードです。

今回、MakeCone, Cylinder, Line, Rect, Sphere, Teaset, Torus など、さまざまな形状をパラメトリックにコントロールできるノードが追加されています。そんな中で面白いのが、MakeTeaset です。プルダウンメニューから、TeaPod, TeaCup, TeaSpoon  を選択できるようになっています。
大昔からCGのレンダリングテストによく使われたオブジェクトの定番です・・
Viz で生成した Teaset を Visualizer でリアルタイムレンダリング


ver.
Name
Category
Description

Add
Math
Add two numbers/vectors/matrices
(030)
AryConst
Array
Create a array of constant values
(NEW061)
AryFileSink
Array, File IO
Write array data to a text fie
(030)
AryFileSource
Array, File IO
Read array data from a text file
(030)
AryGradient
Array
Create a array of values in the range [min, max]
(030)
AryReduce
Array, Math
Reduce all elements of an array to a single element
based on the selected function such as,
Min, Max, Add, And, Or

ArySize
Array
Compute the size of an array
(NEW061)
Bool3d
Geometry
Computes boolean operations on 3d solids
(NEW061)
CapEdge
Geometry
Cap an edge to for a surface
(NEW030)
Clamp
Math
Clamp the value of two numbers/vectors/matrices
(030)
Eq, Ne, Gt, Ge, Lt, Le が統合
Comp
Math, Logics
Compare x and y based on a comparison function such as:
==(Equal), !=(Not Equal)
>(Greater), >=(Greater Equal)
<(Less Than), <=(Less Equal)
(030)
Container
Container
Container for other nodes

CrossProd
Math
Cross product of two vectors

DirAlign
Geometry, Transformation
Rotate geometry so that Dir0 is aligned to Dir1

Div
Math
Divide two numbers/vectors/matrices

DotProd
Math
Dot product of two vectors/matrices
(NEW061)
ExtractEdge
Geometry
Extract the edge profile from a surface
(030)
Extrude
Geometry
Extrude curves or lines along a profile to create a surface

FBM
Noise
Fractional Brownian Motion noise fucntion
(030)
FaceArea
Geometry, Array
Compute the area of faces in the eometry
(NEW061)
FlipFace
Geometry
Flip face direction

Fx
Math
Mathematical function y=F(x) such as abs, sin, cos, etc.
(030)
Fxy
Math
Mathematical function z=F(x, y) such as min, max, and, or

GeometrySink
Geometry
Output geometry to the modeler

GeometrySource
Geometry
Input geometry from the modeler

GetAttr
Array, Geometry, Attributes
Get numeric attributes from geometry
(NEW061)
ImgFileSink
Imaging, File IO
Write an image to file
(030)
ImgFileSource
Imaging, File IO
Read an image file
(030)
ImgSample
Array, Imaging
Sample an image at position x
(030)
ImgSize
Imaging
Compute the dimensions of an image
(030)
Input
Containers
Create an input attribute in the parent graph

Length
Math
Length (Euclidean Norm) of a vector/matrix

LineSmooth
Geometry
Smooth lines by subdivision up to the specified threshold

MakeCircle
Geometry
Make a circle composed of line segments
(NEW061)
MakeCone
Geometry
Make a cone
(NEW061)
MakeCylinder
Geometry
Make a cylinder

MakeGrid
Geometry
Make a grid of quads
(NEW061)
MakeLine
Geometry
Make a line composed of line segments
(NEW061)
MakeRect
Geometry
Make a rectangle composed of line segments
(NEW061)
MakeSphere
Geometry
Make a sphere
(NEW061)
MakeTeaset
Geometry
Make pieces of a teaset
(NEW061)
MakeTorus
Geometry
Make a torus

Mul
Math
Multiply two numbers/vetorsmatrices

Neg
Math
Negate a number/vector/matrix

Normalize
Math
Normarize a vector/matrix
(030)
NumericInput
IO, Containers
Create an numeric input attribute in the parent graph
(030)
Output
Containers
Create an output attribute in the parent graph

PointNormal
Geometry
Compute the normal at points as average of the 
normal of faces sharing
(NEW061)
PointsToLine
Geometry
Make a line strip out of ppoint positions

Prod
Math
Product of a matrix and a vector / Product of two matrices

Random
Math
Random number generator
(030)
Reduce
Math
Reduce all elements of vector/matrix to a single element based on the selected function such as Min, Max, Add, And, Or

Revolve
Geometry
Revolve curves or ines around an axis to create a solid
(NEW061)
Rotate
Geometry, Transformation
Rotate geometry around an axis

SVec2
Math
Split a vector of size 2 into its two components x, y

SVec3
Math
Split a vector of size 3 into its three components x, y, z

SVec4
Math
Split a vector of size 4 into its four components x, y, z, w

Select
Math, Logics
Select X if condition C is true, otherwise select Y

SetAttr
Array, Geometry, Attributes
Set Geometry's attributes

Sub
Math
Subtract two numbers/vectors/matrices
(030)
TextureXForm
Geometry, Texture
Apply a transformation to the texture of geometry

Translae
Geometry, Transformation
Translate geometry

Triangulate
Geometry
Turn quas and polygons into triangles

Vec2
Math
Make a vector of size 2 from its two components x, y

Vec3
Math
Make a vector of size 3 from its three components x, y, z

Vec4
Math
Make a vector of size 4 from its four components x, y, z, w

X-Axis
Math
Vector pointing along the positive X axis

Y-Axis
Math
Vector pointing along the positive Y axis

Z-Axis
Math
Vector pointing along the positive Z axis
  

2016年1月28日木曜日

2016 で Visualizer / SketchUp で RealTimePreView [05]

昨年3月にフリーになった Visualizer ですが、最終リリース当時の SketchUp の最新版は 2015 でした。 Visualizer は 2013, 2014, 2015 に対応しており、インストールすると自動的にプラグインが所定の場所に格納されていました。

SketchUp は最新版が 2016 となりましたが、Visualizer は 2016 で動くのか?

SketchUcationでの書き込みSketchUp のフォーラムでも紹介されていますが 2016 でも動きます!!

現時点でも Visualizer のインストーラは公式ページから DL 可能です

いままで一度も Visualizer をインストールしたことがない場合は、インストーラを使ってインストールするわけですが、このインストーラは、Mac の場合、以下の様に幾つかのファイルを所定のフォルダにインストールします。

Imagination Visualizer.app (アプリケーション本体)
 -> /アプリケーション フォルダ
Imagination Visualizer.rb および Imagination Visualizer フォルダ
 -> /ライブラリ/Application Support/SketchUp 20XX/SketchUp/Plugins/ フォルダ (XX は 13, 14, 15)

Macintosh HD のライブラリフォルダの Application Support フォルダを開くと、SketchUp の 2013, 2014, 2015 3つのフォルダに、たとえ該当する SketchUp をインストールしていなくても、それぞれにインストールされてしまいます。

ということで、SketchUp 2016 に Visualizer をインストールするには、上記でインストールされた(あるいはすでにインストール済みの)Imagination Visualizer.rb と同名のフォルダを、2016 のプラグインのフォルダ(ルートのライブラリまたはユーザーのルートのライブラリフォルダ内の Application Support/SketchUp 2016/SketchUp/Plugins/)にコピーします。

その後 SketchUp 2016 を起動して、[SketchUp] メニューの [環境設定...] の [拡張機能] の一覧表で、 Visualizer をアクティブにすると、
[表示] メニューの [ツールパレット] から Visualizer のツールパレットを表示できるようになります。

手作業でプラグインをインストールする方法については SketchUpMac で昔書いていましたが、ルートのライブラリフォルダ内も認識してくれるので *.rbz をインストールする場合と使い分けるといいかもしれませんね・・


2014年7月3日木曜日

SketchUp で RealTimePreView [03]

以前、SketchUp での RealTimePreView について、Render[IN]Maxwell FIRE について紹介しました。すでに3年が経過し、Render[IN] は Render[IN]2 ($160) となりレンダリングエンジンが高速化、パノラマビュー対応、ネオンライト、背景画像の取り込み対応などが出来る様になりました。(詳しくはコチラ)
Maxwell はその後 SketchUp 専用版 Maxwell for SketchUp (FREE/$99) もリリースされました。(詳しくはコチラ)

そんな状況の中、今回はまたもう一つ、新たにリリースされた RealTimePreView 可能なレンダラ、 Visualizer For SketchUp ($19.99) の紹介です。

"Your Virtual Camera In SketchUp"  とキャッチフレーズにあるとおり、SketchUp 専用の RealTimePreViewer です。Render[IN] や Maxwell と比較した場合、光源としては外光(太陽光)だけなので、外光の入らないインテリアや夜景的な表現はできませんが、逆に外光さえ反映できれば、SketchUp の日付・時間のスライダにリアルタイムに対応したプレビューが可能です。

SketchUp でのモデリングをしつつその場でプレゼンテーションする場合や、テクスチャーの張り替えをリアルタイムにプレビューする場合など、コスト的にも$19.99 なので一つの選択肢として試してみるのも良いのではないでしょうか・・・

Visualizer は独立したアプリケーションで、SketchUp には Visualizer を呼び出すためのプラグインがインストールされ、これとは別に ImaginationVisualizer.app がアプリケーションフォルダにインストールされます。

ImaginationVisualizer.app
インストール後 SketchUp を起動して[表示]メニュー[ツールパレット]から[Visualizer]をチェックするとパレットが表示されます。
このパレットをクリックすると別アプリとして ImaginationVisualizer.app が起動してデフォルトでは最前面にそのウィンドウが表示されます。
後の操作はSketchUp 側でモデルを移動・回転・拡大縮小、Visualizer 側では、通常のカメラの感覚で、ピントや露出を合わせたい位置をクリック、被写界深度を右下のスライダで設定、ときわめて直感的に操作できます。
画像のサイズは4種類 (240x180, 320x240, 640x480, 1024x768) と限定的ですが、リアルタイムにプレビューすることに特化したコストパフォーマンスは好感が持てます。

参考として、Render[IN]2のプレビュー、Maxwell FIRE のプレビューを同じモデルで比較してみました。 それぞれデモ版もあるので、画質の差だけでなく、プレビューのレスポンスを比較して使い分けてみるのもよいと思います・・

Render[IN]2
Maxwell For SketchUp