So I was looking at random programming stuff and I came across this:
[url]http://funprogramming.org/38-Animate-the-ocean-surface-using-noise.html[/url]
Would this be possible to recreate in gmod lua? I know there is no noise() function in lua but you can probablly use random().
also I wonder if there is a Line() function..
well please help me out and post your thoughts thanks!
I know next to nothing about LUA in relative terms so my post is ultimately useless, but I'm curious what you plan to animate with this assuming it's achievable?
I was thinking maybe for the borders of a HUD you can make things look a little more animated and possibly use it for health/ammo bars. I may use it for other things too but most likely I would use it in my HUD.
[QUOTE=kylekillzone;45584915]I was thinking maybe for the borders of a HUD you can make things look a little more animated and possibly use it for health/ammo bars. I may use it for other things too but most likely I would use it in my HUD.[/QUOTE]
What on Earth does "Animate the ocean surface" have to do with animated HUDs?
To answer the title of the post: No, it is not possible to animate the ocean surface (whatever that means). To answer your post: Yes, it is possible to have random lines and visualization-like animations going on using polys.
[QUOTE=G4MB!T;45585008]What on Earth does "Animate the ocean surface" have to do with animated HUDs?
To answer the title of the post: No, it is not possible to animate the ocean surface (whatever that means). To answer your post: Yes, it is possible to have random lines and visualization-like animations going on using polys.[/QUOTE]
Did you even look at the link.. :O
I looked at the link but I didnt visit it :wink:
Sure it's possible, I'm sure you can do something with stencils
You have to admit in a [b]game[/b] you would assume a thread labelled with [i]"Animate the ocean surface"[/i] would be talking about the water.
As to creating a wave on the HUD, definitely possible.
[QUOTE=Nookyava;45586114]You have to admit in a [b]game[/b] you would assume a thread labelled with [i]"Animate the ocean surface"[/i] would be talking about the water.
As to creating a wave on the HUD, definitely possible.[/QUOTE]
Oh jesus I didn't read his responses, for the HUD it's super easy to do that... I was totally thinking animating actual water as nookyava said
I dont even think stencils could do this without some mesh stuff.
[QUOTE=G4MB!T;45586157]I dont even think stencils could do this without some mesh stuff.[/QUOTE]
You'd be surprised what you can do with stencils...
Ehh.. You need to know what is actually a water brush, where it is, it's size, etc. Stencils is only for rendering.
oh wow thanks guys! and sorry for the misinformative title but ill look into stencils as I have never messed with them before.
Sorry, you need to Log In to post a reply to this thread.