Circular water
by addict^2 · in Torque 3D Professional · 02/11/2011 (6:07 pm) · 21 replies
So I'm a bit of a sticky situation. I want to use a water block to fill a circular water reservoir structure that is open on the top. From what I can gather about how water blocks and the river editor work in Torque is that they intersect through things like the terrain and are meant to be hidden by it. This can't work here since the tower is circular and sits above the terrain. Is there a way to trim a water block the same way you can trim a terrain block?
About the author
#2
On the other hand, waterblocks work great for wells....
02/11/2011 (8:09 pm)
Does the player have to be able to swim in it? Or just see it? If it's the second case you might be able to add water to the object and tinker with the "water surface" material until it looks good.On the other hand, waterblocks work great for wells....
#3
02/11/2011 (8:11 pm)
The player just has to be able to see it when flying. Being able to interact with the water was something I was considering though (objects floating in it), thus the water block.
#4
02/11/2011 (10:48 pm)
use a river, you can make it fit any shape you want.
#5
02/11/2011 (11:24 pm)
You can use several river segments, go from 1 side of the reservoir to the other, with the width of the segments getting wider as it goes.
#6
02/11/2011 (11:40 pm)
I was about to suggest coding a WaterCylinder class... hurrah T3D! ;P
#7
02/11/2011 (11:47 pm)
@Morrock Thanks I hadn't thought of that I'll give it a shot.
#8
River is a good idea though - probably easier than trying to get the material right on the model.
02/12/2011 (6:33 am)
Objects floating don't require a water block - just place your objects in the "water."River is a good idea though - probably easier than trying to get the material right on the model.
#9
can you explain the proccess "probably easier than trying to get the material right on the model"
I am assuming it is to allow floating in waterPlane and waterBlock?
thats one of the reasons I suggested the river, it by default supports floating.
I've been trying to enable it with plane and block, no success
02/12/2011 (6:43 am)
@Richard,can you explain the proccess "probably easier than trying to get the material right on the model"
I am assuming it is to allow floating in waterPlane and waterBlock?
thats one of the reasons I suggested the river, it by default supports floating.
I've been trying to enable it with plane and block, no success
#10
I would like to suggest such an object be added to T3D to accompany waterplane and water block--I can see a considerable amount of application for a shallow, round, water object... quick reflecting pools would be a godsend for set dressing in castles, gardens, caverns and most other staples of the fantasy genre--every village has a well.
02/13/2011 (7:32 am)
I like Daniel's suggestion... I would I had the technical chops to do it. I would like to suggest such an object be added to T3D to accompany waterplane and water block--I can see a considerable amount of application for a shallow, round, water object... quick reflecting pools would be a godsend for set dressing in castles, gardens, caverns and most other staples of the fantasy genre--every village has a well.
#11
02/13/2011 (2:51 pm)
The ability to trim a water block over having just another shape seems more powerful. Than instead of just circular reflecting pools, you can have any shape possible.
#12
02/13/2011 (3:11 pm)
I ended up using a single river like deepscratch mentioned, but as I need to do this for several reservoirs of different diameters, it will be time consuming.
#13
make one river, round it nicely, then "shift" and move it, you get an instance of the rounded river, then just resize for each reservoir....
02/13/2011 (3:15 pm)
@addict^2make one river, round it nicely, then "shift" and move it, you get an instance of the rounded river, then just resize for each reservoir....
#14
02/13/2011 (3:35 pm)
Thanks!
#16
As far as things floating in it, just place your objects in it and script the "floating" motion or include it as an ambient animation for your debris models. As long as the player doesn't directly interact with the fake water the illusion should be maintained. However, if you want to allow the player to swim in the water you would probably want to use a River or a Water Block.
I'm mostly just thinking out loud, bro. No actual application has been attempted... lol!
02/14/2011 (8:29 am)
Oh, my thought was simply that you could build the model with water in it. I'm just not sure how easy it would be to get the material on the model to work properly in game - haven't tried it.As far as things floating in it, just place your objects in it and script the "floating" motion or include it as an ambient animation for your debris models. As long as the player doesn't directly interact with the fake water the illusion should be maintained. However, if you want to allow the player to swim in the water you would probably want to use a River or a Water Block.
I'm mostly just thinking out loud, bro. No actual application has been attempted... lol!
#18
02/14/2011 (1:30 pm)
very nice indeed
#19
02/14/2011 (4:52 pm)
That came out great! The River, right?
#20
02/14/2011 (5:06 pm)
Yes that is a single river instance.
Torque Owner Alfio Saitta
Collateral Studios