Page 1 of 3

Water Texture

PostPosted: Mon Oct 01, 2007 10:21 am
by Owehn
I'm not sure if this belongs here (feel free to move or delete it if inappropriate), but I didn't see any forum devoted to texturing.

I've been going through my old photographs and found one that I took specifically to be the texture of a water surface. The view is from almost directly above, at sunset. A small version is attached below (pm with your email if you want the large one).

Re: Water Texture

PostPosted: Mon Oct 01, 2007 2:10 pm
by Kato
:D Cool. Almost perfect. I'll make it seamless if you like!

-Kato

Re: Water Texture

PostPosted: Mon Oct 01, 2007 3:00 pm
by Jojon
Nice.

A related question (which I guess should really be in the Programmers section, but...): Have our dark masters of reverse engineering found any clue about the variables and flags to define, in order to get textures scrolling? :7

Re: Water Texture

PostPosted: Mon Oct 01, 2007 7:28 pm
by Paradox
Animated Textures are very high on the TODO list.

We know mostly how they work, we just aren't sure how to get them tied in with Blender and how to generate some of the variables.

Re: Water Texture

PostPosted: Tue Oct 02, 2007 1:26 pm
by Jojon
Paradox wrote:Animated Textures are very high on the TODO list.

We know mostly how they work, we just aren't sure how to get them tied in with Blender and how to generate some of the variables.
Great news!
Are the variables attached to the material or the texture instance? I am guessing the former, so that one can reuse a single copy of the texture in graphics mem, with different variables (obviously they do not belong to the object, or you'd not be considering the issue). Until I know what other options you are pondering, my vote (however nothing it is worth :) is on making it something you set in the scripts - even the initial values.

Re: Water Texture

PostPosted: Tue Oct 02, 2007 4:14 pm
by Paradox
Well it's a bit more complicated than that :P

You have a material, which references one or more layers (Plasma allows you to have multiple layers/textures on an object). Each layer references a texture image, and sets specific flags and properties for that layer instance (the animation flags are some of the layer properties).

Re: Water Texture

PostPosted: Tue Oct 02, 2007 4:41 pm
by mar
When I saw the watertexture I must think on a site with good pictures usable for textures. There are also some pictures of waterplanes. This is the http :arrow: http://www.cgtextures.com/


Mar

Re: Water Texture

PostPosted: Tue Oct 02, 2007 5:13 pm
by Owehn
Wow, the license page makes it sound like we can use those textures in Uru without worrying!

Re: Water Texture

PostPosted: Wed Oct 03, 2007 2:03 pm
by Jojon
Paradox wrote:Well it's a bit more complicated than that :P

You have a material, which references one or more layers (Plasma allows you to have multiple layers/textures on an object). Each layer references a texture image, and sets specific flags and properties for that layer instance (the animation flags are some of the layer properties).


Yes, I don't see a problem there. :) I have not read up on Python, but wouldn't you basically "just" need something like a "PtMatProps" structure, possibly with "PtLayerProps" as daughters?

There are actually reuseable materials, right? -or is there a complete material definition for every object?

(Gotta take the opportunity to thank you guys for your hard work. :)

Re: Water Texture

PostPosted: Wed Oct 03, 2007 3:17 pm
by Nadnerb
Yes, I don't see a problem there. :) I have not read up on Python, but wouldn't you basically "just" need something like a "PtMatProps" structure, possibly with "PtLayerProps" as daughters?

No, not really. That's python. Plasma does not run on python, it is controlled by python. The layers and such being talked about are part of the model files. A completely proprietary file format that is not documented. (except for the stuff that's been hacked out of it)