Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
How do I get a simple texture to scroll?
Topic Started: Jan 31 2009, 05:39 AM (962 Views)
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
saijee
Feb 1 2009, 09:14 PM
I don't get it, I don't get it... If I'm supposed to be downloading the one with the funky blue texture scrolling across some panel, I see it happening, but have no idea how it's doing it....

I want to be able to make a *.bit-map texture scroll across a *.3ds lake.
It's scrolling because of the UFX effect loaded.
Blog|EHS
Offline Profile Quote Post Goto Top
 
saijee
Elite Member
[ *  *  *  * ]
Do you load the UFX on the gm file?
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
saijee
Feb 6 2009, 05:32 AM
Do you load the UFX on the gm file?
Not sure.

There's a function.

The code's like:

LoadMaterialEffect("shader/scroll.ufx",0,1,1) or something like it. Not too sure.
Blog|EHS
Offline Profile Quote Post Goto Top
 
tommie
Member
[ *  * ]
look the example from skarik's shader list loads an u3d file
wich includes all the scripts made to let the texture scroll
and what we want are those scripts ....

so can enyone rewrite those scripts pls?
or just explain how it's don


Offline Profile Quote Post Goto Top
 
Sothh
Member Avatar
Shaman Of Time
[ *  *  *  *  *  * ]
saijee
Jan 31 2009, 05:33 PM
Despellanion, what's going on here is:
I'm asking: "How to you make chocolate Chip coockies?"
and your responding: "Well when you get it all set up, you can just stick it in the oven for 30 minutes then it will be all good."
Then I say: "Umm yea... I still don't know how to make them..."

With all do respect, Can you people please be a bit more strait forward?
Maybe so, but this is what you said:

"I want to make chocolate chip cookies, but I am not going to take time to read the manual on making them."
“You can’t outrun Death forever.
But you can make the Bastard work for it.”

Major Korgo Korgar
“Last of The Lancers” - AFC 32
(Andromeda Ascendant Record Database)
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Lol, necro posts.
Blog|EHS
Offline Profile Quote Post Goto Top
 
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
Sothh
May 24 2009, 07:36 PM
saijee
Jan 31 2009, 05:33 PM
Despellanion, what's going on here is:
I'm asking: "How to you make chocolate Chip coockies?"
and your responding: "Well when you get it all set up, you can just stick it in the oven for 30 minutes then it will be all good."
Then I say: "Umm yea... I still don't know how to make them..."

With all do respect, Can you people please be a bit more strait forward?
Maybe so, but this is what you said:

"I want to make chocolate chip cookies, but I am not going to take time to read the manual on making them."
Yes, but if the instructions are in Spanish, he will need an interpreter. :D
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Guys, I don't know what's with the cookies, because on the subject of shaders, I never had any directions. Lots of instructions and registers, but now directions. You guys think I made a shader on my first try? Hell, I burned cookies my first time making them, I still burn them, and that's how it is. You think I make a shader today and get it right the first time? No, it takes patience, persistence, never giving up, even to the point where Game Maker crashes because of a bad shader. Come on guys! Deal!
Blog|EHS
Offline Profile Quote Post Goto Top
 
tommie
Member
[ *  * ]
hmm , and still not solved
i realy could use the texture scroll shader , he prob is that i know nothing about shaders

could someone please explain how this is done , or explain the basics of shader programming

greetings tommie
Edited by tommie, May 25 2009, 12:47 AM.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
I need the example or the code you are using. It should be copy - paste from my example.

What I think the shader does is add something to the UV coordinates. The something is probably a scaled current time variable. It adds it to either x, y, z, or combinations and then saves it all to the texture coordinate output register.

What vertex shaders do is execute for every vertex. You can edit the geometry of objects with these.
What pixel shaders do is execute for every pixel. You change how objects look with these.
Edited by skarik, May 25 2009, 02:40 AM.
Blog|EHS
Offline Profile Quote Post Goto Top
 
saijee
Elite Member
[ *  *  *  * ]
Sothh
May 24 2009, 07:36 PM
saijee
Jan 31 2009, 05:33 PM
Despellanion, what's going on here is:
I'm asking: "How to you make chocolate Chip coockies?"
and your responding: "Well when you get it all set up, you can just stick it in the oven for 30 minutes then it will be all good."
Then I say: "Umm yea... I still don't know how to make them..."

With all do respect, Can you people please be a bit more strait forward?
Maybe so, but this is what you said:

"I want to make chocolate chip cookies, but I am not going to take time to read the manual on making them."
Yea that's the thing, I do look a bit at the manual, but sometimes it's just a bit hard to understand for people like me. I mean, I'm not stupid, but I'm not a genius. I'm right brained.

Anyway, I kinda want cookies that all look a little different then each other, like one has 1 chip, another has 2, another has 3, and so on. What I mean is that I want to know how to do an effect that works similar to the one in skarik's example, except you can set a given number of layers of textures, know? Maybe to save a bit of processing time.... know?
Offline Profile Quote Post Goto Top
 
zeo
I like turtles.
[ *  *  *  *  * ]
The shader you are looking for changes the UV's of a vertex, there is not much more too it.

Edited by zeo, May 25 2009, 03:46 PM.
49 46 20 59 4F 55 20 43 41 4E 20 52 45 41 44 20 54 48 49 53 20 59 4F 55 20 52 45 41 4C 4C 59 20 4E 45 45 44 20 54 4F 20 47 45 54 20 4C 41 49 44 3A 29
recur-recur-recur-recur-recursion-sion-sion-sion-STACK OVERFLOW
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply