Jump to content


Photo

A Way To Make Waves


  • Please log in to reply
4 replies to this topic

#1 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1,455 posts

Posted 29 January 2009 - 06:21 AM

A simple comp to create a bumpmap for waves initiated by a boat on water

P.S. There is a bug in ColorCurves extrapolation. You have to turn forward extrapolation off and then switch to ping-pong.

Attached Files



#2 theotheo

theotheo

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 281 posts

Posted 30 January 2009 - 09:25 AM

Very cool tip Gringo.

I've used a simlar approach to generate 2d heightmaps to form a faux fluid sim. Using boolean shaders in max I can render out collision maps (lets say a characters penetration trough the water mesh) and emit radial particle waves from that source. Render it out and use it as a displacement and bump shader in max. Ofcourse we could just do it all im Fusion 6 :)

I'll see if I could post a video that I did a few years ago.

-theo

#3 Attila Sziklai

Attila Sziklai

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 178 posts

Posted 30 January 2009 - 10:26 AM

I've done almost the same months ago with CustomTool.
we had to generate ripples too you know :)

{
	Tools = ordered() {
		CustomTool1 = Custom {
			CtrlWZoom = false,
			Inputs = {
				NumberIn1 = Input {
					Value = 20,
				},
				NumberIn2 = Input {
					Value = 30,
				},
				NumberIn3 = Input {
					Value = 1,
				},
				NumberIn4 = Input {
					Value = 1,
				},
				AlphaExpression = Input {
					Value = "abs(sin((a1+time/n2)%1*180*n1))\r\n*(1-(n3-n3*(a2^(1/n4))))",
				},
				NumberControls = Input {
					Value = 1,
				},
				NameforNumber1 = Input {
					Value = "ripples",
				},
				NameforNumber2 = Input {
					Value = "time factor",
				},
				NameforNumber3 = Input {
					Value = "FG multiply",
				},
				NameforNumber4 = Input {
					Value = "FG gamma",
				},
				ShowNumber5 = Input {
					Value = 0,
				},
				ShowNumber6 = Input {
					Value = 0,
				},
				ShowNumber7 = Input {
					Value = 0,
				},
				ShowNumber8 = Input {
					Value = 0,
				},
				ShowPoint1 = Input {
					Value = 0,
				},
				ShowPoint2 = Input {
					Value = 0,
				},
				ShowPoint3 = Input {
					Value = 0,
				},
				ShowPoint4 = Input {
					Value = 0,
				},
				Comments = Input {
					Value = "This will do ripples from any gradient in alpha channel\r\n! Use controls !",
				},
			},
			ViewInfo = OperatorInfo {
				Pos = { 1160.4, 291.315, },
			},
		},
	},
	ActiveTool = "CustomTool1",
}


#4 robertjackson1

robertjackson1

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 128 posts

Posted 30 January 2009 - 10:58 AM

Great tip as always Gringo, 33 downloads, methinks a few more people could be forthcoming with thanks!! Thank you; anyone new to Fusion who is learning through forums such as this can learn a huge amount from looking at flows on this forum posted by people such as Gringo & Theo. I'm still learning from these guys when they post & suffice to say their macro's are a major extension to Fusion 5.

#5 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1,455 posts

Posted 30 January 2009 - 12:04 PM

I've done almost the same months ago with CustomTool.
we had to generate ripples too you know :)

A nice example too! Thanks :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users