
- Posts: 29
- Joined: Wed Aug 22, 2012 10:50 am
Ryan Hays wrote:Create an image sequence of your different bitmaps, pipe that into a time stretcher. Put a Random modifier on the Time Stretcher's source time with the maximum being the number of frames in your image sequence. Pipe that into your particle emitter = random bitmap per particle.
Create an image sequence of your different bitmaps, pipe that into a time stretcher. Put a Random modifier on the Time Stretcher's source time with the maximum being the number of frames in your image sequence. Pipe that into your particle emitter = random bitmap per particle.
{
Tools = ordered() {
SequanceLoader = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "E:\\--- SandRain\\sssds\\Black & White Portraits\\sequance1.jpg",
FormatID = "JpegFormat",
StartFrame = 1,
Length = 43,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 42,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 0,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 2,
GlobalEnd = 44
}
},
CtrlWZoom = false,
NameSet = true,
ViewInfo = OperatorInfo { Pos = { 995.877, 234.588 } },
UserControls = ordered() {
MakeLocal = {
INP_Default = 0,
INPID_InputControl = "ButtonControl",
BTNCS_Execute = " args = { tool = comp.ActiveTool, copyTree = true }\n path = comp:MapPath(\"Scripts:support/Loader_MakeLocal.lua\")\n comp:RunScript(path, args)\n ",
IC_ControlPage = 0,
LINKID_DataType = "Number",
LINKS_Name = "Make Local",
}
}
},
pEmitter1 = pEmitter {
ID = 39,
Inputs = {
Number = Input { Value = 1, },
NumberVariance = Input { Value = 8.6, },
Lifespan = Input { Value = 250, },
LifespanVariance = Input { Value = 47.1, },
PositionVariance = Input { Value = 0.0556, },
TemporalDistribution = Input { Value = 1, },
Style = Input { Value = FuID { "ParticleStyleBitmap" }, },
["ParticleStyleBitmap.Animate"] = Input { Value = 2, },
["ParticleStyleBitmap.DropToolsHere"] = Input {
SourceOp = "SequanceLoader",
Source = "Output",
},
Region = Input { Value = FuID { "BitmapRgn" }, },
["SphereRgn.Size"] = Input { Value = 1, },
["BitmapRgn.Bitmap"] = Input {
SourceOp = "FastNoise1",
Source = "Output",
},
["ParticleStyle.SizeOverLife"] = Input {
SourceOp = "pEmitter1SizeOverLife",
Source = "Value",
},
["ParticleStyle.BlurOverLife"] = Input {
SourceOp = "pEmitter1BlurOverLife2D",
Source = "Value",
}
},
ViewInfo = OperatorInfo { Pos = { 1147.88, 234.588 } },
},
pEmitter1SizeOverLife = LUTBezier {
KeyColorSplines = {
[0] = {
[0] = { 0.5, RH = { 0.3, 0.5 }, Flags = { Linear = true } },
[1] = { 0.5, LH = { 0.7, 0.5 }, Flags = { Linear = true } }
}
},
SplineColor = { Red = 0, Green = 0, Blue = 0 },
NameSet = true,
},
pEmitter1BlurOverLife2D = LUTBezier {
KeyColorSplines = {
[0] = {
[0] = { 0.5, RH = { 0.3, 0.5 }, Flags = { Linear = true } },
[1] = { 0.5, LH = { 0.7, 0.5 }, Flags = { Linear = true } }
}
},
SplineColor = { Red = 0, Green = 0, Blue = 0 },
CtrlWZoom = false,
NameSet = true,
},
pRender1 = pRender {
Inputs = {
_MotionBlurWarning = Input { Disabled = true, },
GlobalIn = Input { Value = 2, },
GlobalOut = Input { Value = 251, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
UseFrameFormatSettings = Input { Value = 1, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
OutputMode = Input { Disabled = true, },
PreGenerateFrames = Input { Value = 250, },
KillParticlesThatLeaveTheView = Input { Value = 1, },
["MaterialID.MaterialID"] = Input { Value = 1, },
["ObjectID.ObjectID"] = Input { Value = 1, },
Input = Input {
SourceOp = "pEmitter1",
Source = "Output",
}
},
ViewInfo = OperatorInfo { Pos = { 1289.21, 234.588 } },
},
Merge3D2 = Merge3D {
Inputs = {
SceneInput1 = Input {
SourceOp = "pRender1",
Source = "Output",
},
SceneInput2 = Input {
SourceOp = "Camera3D1",
Source = "Output",
}
},
ViewInfo = OperatorInfo { Pos = { 1437.88, 234.588 } },
},
FastNoise1 = FastNoise {
Inputs = {
GlobalIn = Input { Value = 2, },
GlobalOut = Input { Value = 251, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
UseFrameFormatSettings = Input { Value = 1, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
XScale = Input { Value = 8.56, },
Inverted = Input { Value = 1, }
},
ViewInfo = OperatorInfo { Pos = { 1147.88, 292.164 } },
},
Camera3D1 = Camera3D {
NameSet = true,
CustomData = {
Settings = {
[1] = {
Tools = ordered() {
Camera3D1 = Camera3D {
Inputs = {
ApertureW = Input { Value = 0.831496062992126 },
AoV = Input { Value = 19.2642683071402 },
["Stereo.Mode"] = Input { Value = FuID { "OffAxis" } },
["MtlStdInputs.MaterialID"] = Input { Value = 1 },
ApertureH = Input { Value = 0.467716535433071 },
FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" } },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1 }
},
Name = "Camera3D1",
CtrlWZoom = false,
NameSet = true,
ViewInfo = OperatorInfo { Pos = { 550, 214.5 } },
CustomData = {
}
}
}
},
[6] = {
Tools = ordered() {
Camera3D1 = Camera3D {
Inputs = {
FLength = Input { Value = 49.0568334445481 },
["Transform3DOp.Translate.Z"] = Input { Expression = "self.ImageInput.Metadata.Translate.Z" },
ImagePlaneEnabled = Input { Value = 0 },
AoV = Input {
Value = 19.2642683071402,
Expression = "self.ImageInput.Metadata.RSCameraFOV or self.ImageInput.Metadata['rs/camera/fov']"
},
AovType = Input { Value = 1 },
["Transform3DOp.Rotate.Y"] = Input { Expression = "self.ImageInput.Metadata.Rotate.Y" },
ApertureH = Input { Value = 0.9 },
FilmGate = Input { Value = FuID { "HD" } },
["Transform3DOp.Rotate.X"] = Input { Expression = "self.ImageInput.Metadata.Rotate.X" },
["Transform3DOp.Translate.X"] = Input { Expression = "self.ImageInput.Metadata.Translate.X" },
PlaneOfFocus = Input { Expression = "self.ImageInput.Metadata.RSCameraDOFFocusDistance or self.ImageInput.Metadata['rs/camera/DOFFocusDistance']" },
FilmBack = Input { Value = 1 },
["Transform3DOp.Rotate.RotOrder"] = Input { Value = FuID { "ZXY" } },
["Transform3DOp.Rotate.Z"] = Input { Expression = "self.ImageInput.Metadata.Rotate.Z" },
["Stereo.Mode"] = Input { Value = FuID { "OffAxis" } },
ApertureW = Input { Value = 1.6 },
["Transform3DOp.Translate.Y"] = Input { Expression = "self.ImageInput.Metadata.Translate.Y" },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1 },
["MtlStdInputs.MaterialID"] = Input { Value = 1 }
},
CtrlWZoom = false,
NameSet = true,
ViewInfo = OperatorInfo { Pos = { 387, 145 } },
CustomData = {
}
}
}
}
}
},
Inputs = {
["Transform3DOp.Translate.Z"] = Input { Value = 1.76, },
["Transform3DOp.UseTarget"] = Input { Value = 1, },
AovType = Input { Value = 2, },
FLength = Input { Value = 32.9697081995756, },
["Stereo.Mode"] = Input { Value = FuID { "OffAxis" }, },
FilmBack = Input { Value = 1, },
FilmGate = Input { Value = FuID { "ArriAlexa16x9" }, },
ApertureW = Input { Value = 0.937007874015748, },
ApertureH = Input { Value = 0.52755905511811, },
PlaneOfFocusVis = Input { Value = 1, },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, }
},
ViewInfo = OperatorInfo { Pos = { 1437.88, 293.376 } },
},
Renderer3D1 = Renderer3D {
CustomData = {
ToolVersion = 2,
},
Inputs = {
["RendererSoftware.ShadowsEnabled"] = Input { Value = 1, },
["RendererSoftware.Channels.Nest"] = Input { Value = 1, },
["RendererSoftware.LightingEnabled"] = Input { Value = 1, },
GlobalIn = Input { Value = 2, },
GlobalOut = Input { Value = 251, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
UseFrameFormatSettings = Input { Value = 1, },
AutoCropDataWindow = Input { Value = 1, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
SceneInput = Input {
SourceOp = "Merge3D2",
Source = "Output",
},
RendererType = Input { Value = FuID { "RendererOpenGL" }, },
["RendererOpenGL.AntiAliasing.Channels.RGBA.HighQuality.Enable"] = Input { Value = 1, },
["RendererOpenGL.AntiAliasing.Presets.Nest"] = Input { Value = 1, },
["RendererOpenGL.AntiAliasing.Presets.Color.Supersampling.HighQuality.Rate"] = Input { Value = 5, },
["RendererOpenGL.AntiAliasing.Presets.Color.Multisampling.LowQuality.SampleCount"] = Input { Value = 2, },
["RendererOpenGL.AntiAliasing.Presets.Color.Multisampling.HighQuality.SampleCount"] = Input { Value = 3, },
["RendererOpenGL.AntiAliasing.Presets.Aux.Supersampling.HighQuality.Rate"] = Input { Value = 3, },
["RendererOpenGL.AntiAliasing.Presets.Aux.Multisampling.LowQuality.SampleCount"] = Input { Value = 2, },
["RendererOpenGL.AntiAliasing.Presets.Aux.Multisampling.HighQuality.SampleCount"] = Input { Value = 3, },
["RendererOpenGL.AccumQuality"] = Input { Value = 32, },
["RendererOpenGL.MaximumTextureDepth"] = Input { Value = 3, },
["RendererOpenGL.TransparencySorting"] = Input { Value = 1, }
},
ViewInfo = OperatorInfo { Pos = { 1598.54, 234.588 } },
SubInputsData = {
RendererOpenGL = {
Version = 1
}
}
}
}
}
KrunoSmithy wrote:If you want random , probably don't need the time stretcher.
Something like this maybe. Replace "SequanceLoader" with your image sequance....
Adrian Mcyorian wrote:Oh Dear! thank you!, that time strecher node from hell was making me crazy, i think Black magic should put attention to some nodes that are really really confusing!
Users browsing this forum: No registered users and 85 guests