A hmm moment on wavsets.

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

A hmm moment on wavsets.

Postby GPNMilano » Thu Feb 14, 2013 12:37 pm

I've been thinking about wavsets lately. Before I tried a test export to see if it would work I thought I'd run this by the developers and ask them. Is there any reason we can't use wavsets as both water surfaces, and waterfalls? Would it be possible to position a wavset so that it's pivot point and surface appears to be vertical rather than horizontal? Or is this beyond Plasma's capabilities?
You can't stop the truth. IC Blog
User avatar
GPNMilano
 
Posts: 1155
Joined: Mon Apr 21, 2008 5:50 am

Re: A hmm moment on wavsets.

Postby dendwaler » Thu Feb 14, 2013 1:24 pm

Should it not be a trick similar as what is done in relativity?

You could try to make a waveset in relativity and see what happens when you go to one of the other world axis.
The blend file is posted somewhere
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one.



Watch my latest Video Or even better..... watch the Cathedral's Complete Walkthrough made by Suleika!
User avatar
dendwaler
 
Posts: 936
Joined: Mon Jun 22, 2009 10:49 am
Location: Nederland

Re: A hmm moment on wavsets.

Postby Sirius » Thu Feb 14, 2013 1:39 pm

GPNMilano wrote:Is there any reason we can't use wavsets as both water surfaces, and waterfalls?
Plasma doesn't use the vertex Z position as a "Z position"... well, in fact it does and doesn't.

Let me explain.


The water surface is supposed to be at the same height as the water's origin. In theory, every vertex is at the same height. Any transformation applied to the object's coordinate will result in the mesh you see in Blender, with a scale of 0 on the Z axis. So a plane with a rotation of 90° won't be seen in the scene (since it will look like a very thin line).


Plasma uses the Z coordinate of the vertex to calculated the depth of the water volume (and thus, water reflectivity, transparency, and density (transparency depending of viewing angle). These values can also be tweaked manually with vertex colors).
That's why Cyan often creates water meshes that match the pond shape when you see them in Blender (have a look at Gira, for instance).


However, I noticed that if Plasma meets a vertex that is ABOVE the origin's height, the vertex' Z position is USED. Some of your ponds' edges may therefore climb up and fade as they rise.
I assume this was added to make shores, as if waves could climb up a bit the shore before dying.


For more info and mathematical madness, go here.
User avatar
Sirius
 
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: A hmm moment on wavsets.

Postby Christopher » Thu Feb 14, 2013 2:56 pm

Sirius wrote:For more info and mathematical madness, go here.

Thanks for that. I searched month for the mathmatic behind wavesets...

@Chloe: Karkadann played with something similar (a Stargate IIRC). The conclusion was, that it doesn't work in any way.

Christopher
User avatar
Christopher
 
Posts: 276
Joined: Mon Jul 19, 2010 3:25 am

Re: A hmm moment on wavsets.

Postby Karkadann » Thu Feb 14, 2013 3:05 pm

I remember that, I tried to put a wave set on a vertical plane to make a stargate, it was interesting and it may be useful for something but it did not look anything like a wave set, Im thinking you may be able to make a python file to fix the issue, but I dont know. Animated textures might be you best bet here
I Don't Have A Cell Phone, I have Freedom!
User avatar
Karkadann
 
Posts: 1224
Joined: Sun Aug 02, 2009 10:04 am
Location: Earth

Re: A hmm moment on wavsets.

Postby Sirius » Fri Feb 15, 2013 5:27 am

Karkadann wrote:Im thinking you may be able to make a python file to fix the issue, but I dont know. Animated textures might be you best bet here
Python scripts are useful to tweak the game's logic, and change the position of objects. The API is quite poor when it comes to rendering... especially with built-in stuff. :(
Animated textures could do though, you would need to pre-render them, but you might lose the distorsion of the reflected world.


I wrote:Plasma uses the Z coordinate of the vertex to calculated the depth of the water volume (and thus, water reflectivity, transparency, and density (transparency depending of viewing angle)).
I made a small mistake here: the Z position shouldn't affect density since it's a constant value, specific to water.
User avatar
Sirius
 
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: A hmm moment on wavsets.

Postby Tsar Hoikas » Fri Feb 15, 2013 12:07 pm

Fortunately, we now have the client source code, so we can add new shaders and special effects 8-)
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: A hmm moment on wavsets.

Postby Sirius » Fri Feb 15, 2013 12:25 pm

Can't wait for it !
Especially when I see how different can look an old game like Morrowind with its Overhaul mod.
Image
User avatar
Sirius
 
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: A hmm moment on wavsets.

Postby Karkadann » Fri Feb 15, 2013 1:03 pm

their is something on page 91 in the Cyan documentation for the plasma plug-ins under "VERTEX/PIXEL SHADING" called Bubble, something from Myst 5 that might help but it may take a bit of .........reprogramming by the Grey Hats cuz its from a later game engine. It may have worked perfectly for the StarGate or a water fall but its not included in the plug-ins for some technical reason.
I Don't Have A Cell Phone, I have Freedom!
User avatar
Karkadann
 
Posts: 1224
Joined: Sun Aug 02, 2009 10:04 am
Location: Earth

Re: A hmm moment on wavsets.

Postby Sirius » Fri Feb 15, 2013 2:10 pm

It creates a wave-like effect on a geometry, indeed, but it seems it also handles all the pedestals in the Age (linking technology), plus the Slates, and maybe even the cubemap of the bubbles...
At least that's all that is missing from Myst V PRPs and therefore broken in CC.
It might be a bit hard to rewrite the whole thing.
User avatar
Sirius
 
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 3 guests

cron