- Posts: 37
- Joined: Mon Mar 09, 2015 4:55 pm
Sorry, noob here.
With the friendly help of the user Okke Verbart I was able to make a first simple animation with a rotating cube3D.
But I can't figure out how to keep the aspect ration of the image I feed into one of the cube3D material inputs. The png gets speezed to the aspect ration of the geometries face. Is there way to avoid this?
With the friendly help of the user Okke Verbart I was able to make a first simple animation with a rotating cube3D.
But I can't figure out how to keep the aspect ration of the image I feed into one of the cube3D material inputs. The png gets speezed to the aspect ration of the geometries face. Is there way to avoid this?
- Rotating_Box_2.png (29.58 KiB) Viewed 816 times
- Rotating_Box_3.png (20.53 KiB) Viewed 816 times
- Code: Select all
{
Tools = ordered() {
Blinn1 = MtlBlinn {
Inputs = {
["Specular.Nest"] = Input { Value = 1, },
["Transmittance.Nest"] = Input { Value = 1, },
MaterialIDNest = Input { Value = 1, },
MaterialID = Input { Value = 16, },
},
ViewInfo = OperatorInfo { Pos = { 54.9013, -34.3259 } },
},
Rotate_Box = Cube3D {
NameSet = true,
Inputs = {
["Transform3DOp.Rotate.X"] = Input {
SourceOp = "Rotate_BoxXRotation",
Source = "Value",
},
["SurfaceCubeInputs.SizeLock"] = Input { Value = 0, },
["SurfaceCubeInputs.Width"] = Input { Value = 2, },
["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 6, },
FrontMaterialInput = Input {
SourceOp = "Blinn1",
Source = "MaterialOutput",
},
RightMaterialInput = Input {
SourceOp = "Blinn1",
Source = "MaterialOutput",
},
LeftMaterialInput = Input {
SourceOp = "Blinn1",
Source = "MaterialOutput",
},
BottomMaterialInput = Input {
SourceOp = "Blinn1",
Source = "MaterialOutput",
},
TopMaterialInput = Input {
SourceOp = "MaterialMerge1",
Source = "MaterialOutput",
},
BackMaterialInput = Input {
SourceOp = "Blinn1",
Source = "MaterialOutput",
},
MtlFace = Input { Value = 4, },
["Front.MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.5, },
["Front.MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0, },
["Front.MtlStdInputs.MaterialID"] = Input { Value = 9, },
["Right.MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.200000002980232, },
["Right.MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0, },
["Right.MtlStdInputs.MaterialID"] = Input { Value = 10, },
["Left.MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.699999988079071, },
["Left.MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.400000005960464, },
["Left.MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.699999988079071, },
["Left.MtlStdInputs.MaterialID"] = Input { Value = 11, },
["Bottom.MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0, },
["Bottom.MtlStdInputs.MaterialID"] = Input { Value = 12, },
["Top.MtlStdInputs.Specular.Nest"] = Input { Value = 1, },
["Top.MtlStdInputs.MaterialID"] = Input { Value = 13, },
["Back.MtlStdInputs.MaterialID"] = Input { Value = 14, },
},
ViewInfo = OperatorInfo { Pos = { 178.901, 64.6741 } },
},
Rotate_BoxXRotation = BezierSpline {
SplineColor = { Red = 255, Green = 128, Blue = 128 },
NameSet = true,
KeyFrames = {
[20] = { 0, RH = { 43.3333333333333, 0 } },
[90] = { 90, LH = { 66.6666666666667, 90 } }
}
},
MaterialMerge1 = MtlMerge3D {
Inputs = {
BackgroundMaterial = Input {
SourceOp = "Blinn1",
Source = "MaterialOutput",
},
ForegroundMaterial = Input {
SourceOp = "Loader1",
Source = "Output",
},
MaterialIDNest = Input { Value = 1, },
MaterialID = Input { Value = 17, },
},
ViewInfo = OperatorInfo { Pos = { 212.901, -34.3259 } },
},
Loader1 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "D:\\work_Private\\MeerKontake\\wbs-logo.png",
FormatID = "PNGFormat",
StartFrame = -1,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 0,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 0,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 0
}
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
["Gamut.GammaAction"] = Input { Value = 1, },
["Gamut.PreDividePostMultiply"] = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { 213.901, -99.3259 } },
},
Wall_Box_Top = Shape3D {
NameSet = true,
Inputs = {
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
["Transform3DOp.Translate.Y"] = Input { Value = 1, },
["Transform3DOp.ScaleLock"] = Input { Value = 0, },
["Transform3DOp.Scale.X"] = Input { Value = 2, },
Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfaceCubeInputs.SizeLock"] = Input { Value = 0, },
["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
},
ViewInfo = OperatorInfo { Pos = { 309.705, 135.409 } },
},
Merge3D2 = Merge3D {
Inputs = {
SceneInput1 = Input {
SourceOp = "Rotate_Box",
Source = "Output",
},
SceneInput2 = Input {
SourceOp = "Wall_Box_left",
Source = "Output",
},
SceneInput3 = Input {
SourceOp = "Wall_Box_Right",
Source = "Output",
},
SceneInput5 = Input {
SourceOp = "Wall_Box_Bottom",
Source = "Output",
},
SceneInput4 = Input {
SourceOp = "Wall_Box_Top",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 283, 221 } },
},
Wall_Box_Right = Shape3D {
NameSet = true,
Inputs = {
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
["Transform3DOp.Translate.X"] = Input { Value = 2, },
["Transform3DOp.ScaleLock"] = Input { Value = 0, },
["Transform3DOp.Scale.X"] = Input { Value = 2, },
["Transform3DOp.Scale.Y"] = Input { Value = 3, },
Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
},
ViewInfo = OperatorInfo { Pos = { 416.599, 220.25 } },
},
Wall_Box_left = Shape3D {
NameSet = true,
Inputs = {
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
["Transform3DOp.Translate.X"] = Input { Value = -2, },
["Transform3DOp.ScaleLock"] = Input { Value = 0, },
["Transform3DOp.Scale.X"] = Input { Value = 2, },
["Transform3DOp.Scale.Y"] = Input { Value = 3, },
Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
},
ViewInfo = OperatorInfo { Pos = { 145.326, 220.644 } },
},
SpotLight1 = LightSpot {
CtrlWZoom = false,
Inputs = {
["Transform3DOp.Translate.X"] = Input { Value = -5.05331746298891, },
["Transform3DOp.Translate.Y"] = Input { Value = 2.33207143096595, },
["Transform3DOp.Translate.Z"] = Input { Value = 2.09216455439251, },
["Transform3DOp.Rotate.X"] = Input { Value = -16.6577519178391, },
["Transform3DOp.Rotate.Y"] = Input { Value = -82.1455230293795, },
["Transform3DOp.Rotate.Z"] = Input { Value = -7.34294529538602, },
DecayType = Input { Value = 1, },
DecayRate = Input { Value = 0.3682, },
ConeAngle = Input { Value = 51.15, },
PenumbraAngle = Input { Value = 9.32, },
["ShadowLightInputs3D.Nest"] = Input { Value = 1, },
["ShadowLightInputs3D.ShadowMapSize"] = Input { Value = 5000, },
},
ViewInfo = OperatorInfo { Pos = { 544.864, 264.697 } },
},
Wall_Box_Bottom = Shape3D {
NameSet = true,
Inputs = {
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
["Transform3DOp.Translate.Y"] = Input { Value = -1, },
["Transform3DOp.ScaleLock"] = Input { Value = 0, },
["Transform3DOp.Scale.X"] = Input { Value = 2, },
Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfaceCubeInputs.SizeLock"] = Input { Value = 0, },
["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
},
ViewInfo = OperatorInfo { Pos = { 264.629, 300.417 } },
},
Merge3D1_1 = Merge3D {
Inputs = {
SceneInput1 = Input {
SourceOp = "Merge3D2",
Source = "Output",
},
SceneInput2 = Input {
SourceOp = "Camera3D1",
Source = "Output",
},
SceneInput3 = Input {
SourceOp = "SpotLight1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 605.576, 341.129 } },
},
Camera3D1 = Camera3D {
Inputs = {
["Transform3DOp.Translate.Z"] = Input { Value = 7.75020398066175, },
AoV = Input { Value = 19.2642683071402, },
["Stereo.Mode"] = Input { Value = FuID { "OffAxis" }, },
FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" }, },
ApertureW = Input { Value = 0.831496062992126, },
ApertureH = Input { Value = 0.467716535433071, },
ControlVis = Input { Value = 1, },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
["MtlStdInputs.MaterialID"] = Input { Value = 2, },
},
ViewInfo = OperatorInfo { Pos = { 660.697, 265.053 } },
},
Renderer3D1 = Renderer3D {
CustomData = {
ToolVersion = 2,
},
Inputs = {
["RendererSoftware.ShadowsEnabled"] = Input { Value = 1, },
["RendererSoftware.LightingEnabled"] = Input { Value = 1, },
GlobalOut = Input { Value = 90, },
UseFrameFormatSettings = Input { Value = 1, },
Width = Input { Value = 3840, },
Height = Input { Value = 2160, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
SceneInput = Input {
SourceOp = "Merge3D1_1",
Source = "Output",
},
RendererType = Input { Value = FuID { "RendererOpenGL" }, },
["RendererOpenGL.LightingEnabled"] = Input { Value = 1, },
["RendererOpenGL.ShadowsEnabled"] = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { 738.106, 341.417 } },
},
Saver1 = Saver {
Inputs = {
ProcessWhenBlendIs00 = Input { Value = 0, },
Clip = Input {
Value = Clip {
Filename = "D:\\work_Private\\MeerKontake\\wbs.avi",
FormatID = "AVIFormat",
Length = 0,
Multiframe = true,
Saving = true,
TrimIn = 0,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 1,
AspectMode = 0,
Depth = 0,
GlobalStart = -2000000000,
GlobalEnd = 0
},
},
OutputFormat = Input { Value = FuID { "AVIFormat" }, },
ProcessMode = Input { Value = FuID { "FullFrames" }, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
Input = Input {
SourceOp = "Renderer3D1",
Source = "Output",
},
["AVIFormat.Compression"] = Input { Value = 7, },
["AVIFormat.KeyFrames"] = Input { Value = 10, },
["AVIFormat.Quality"] = Input { Value = 100, },
["AVIFormat.AttemptToSaveAlpha"] = Input { Value = 0, }
},
ViewInfo = OperatorInfo { Pos = { 862.917, 340.773 } },
}
}
}
- Attachments
-
- wbs-logo.png (115.04 KiB) Viewed 816 times
noob