Free Mesh Fluid Simulator For Workspace Side

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Free Mesh Fluid Simulator For Workspace Side // Roundtable

1  |  

Post by ivampretti // Oct 26, 2008, 4:28pm

ivampretti
Total Posts: 151
pic
About a few weeks ago I posted my work about this( http://forums1.caligari.com/truespace/showthread.php?t=6847 ). Tamtam ascked me to do a tutorial but is too much work. So I created this thread where I'll be happy to answer any question about my work.


My only condition to post this free here (because I spended a lot of work on it) is that anybody who used my objects to create things for any purpose (because the possibillyties are huge) post his work here so then all the community can develop this together.


First Object "Jato DAgua Basic.RsObj" (I wrotte some things in portughese sorry) its a simple procedural mesh cilinder!

The second "Procedural Plano.RsObj" is a mesh plane.

The Third "Jato_DAgua.RsObj" is my first water flow builted from the first RsObj.

The Fourth "Nivel_Tanque.RsObj" is my first wave generators builted from the secont RsObj.


I Hope you guys enjoy it and post lots of work here. :jumpy:

Post by frootee // Oct 26, 2008, 5:29pm

frootee
Total Posts: 2667
pic
Very Cool IvamPretti!


Thanks for posting this!


Awhile back, in shared space, some folks were experimenting with DX shaders I think for wave simulation too. I saved the files to my hard drive. I will post here when I find them.

Post by noko // Oct 26, 2008, 5:46pm

noko
Total Posts: 684
This is really cool!


Wonder if this can be converted to DX vertex shader.

Post by Burnart // Oct 26, 2008, 7:18pm

Burnart
Total Posts: 839
pic
Another person deserving of a :banana: Good on you ivampretti

Post by Johny // Oct 26, 2008, 10:33pm

Johny
Total Posts: 672
pic
How great work!

Hey all, you must download those files. Really nice water simulation. :banana:

Post by trueBlue // Oct 27, 2008, 2:09pm

trueBlue
Total Posts: 1761
pic
My only condition to post this free here (because I spended a lot of work on it) is that anybody who used my objects to create things for any purpose (because the possibillyties are huge) post his work here so then all the community can develop this together.
:jumpy:
Awesome work :banana:ivampretti (http://forums1.caligari.com/truespace/member.php?u=3343) http://forums1.caligari.com/truespace/images/statusicon/user_offline.gif


I exposed some of your inner workings so I could move the Wave to the center. Thanks for sharing!

Post by mrbones // Oct 27, 2008, 3:03pm

mrbones
Total Posts: 1280
pic
I bet that would look cool with some hair on it.


Cheers


Awesome work :banana:

ivampretti (http://forums1.caligari.com/truespace/member.php?u=3343) http://forums1.caligari.com/truespace/images/statusicon/user_offline.gif

Automation Member



I exposed some of your inner workings so I could move the Wave to the center. Thanks for sharing!

Post by Burnart // Oct 27, 2008, 4:54pm

Burnart
Total Posts: 839
pic
I bet that would look cool with some hair on it.


Makes me chuckle just thinking about it - would it work though?

Post by ivampretti // Oct 28, 2008, 12:49pm

ivampretti
Total Posts: 151
pic
@TrueBlue - Great job! You did the boring part of the work for me :D:D:D


Remembering everybody that I didn't work on the shaders for realtime rendering because I needed to render it in the model side, so thats a job that stay open, who is motivated to do it? :p

Post by tamtam // Oct 29, 2008, 8:31am

tamtam
Total Posts: 213
pic
@ivampretti - I'm motivated to do the texturing/shading for you. I don't know how to use the LE very well, but on the model side, I have a few older shader plugins from different sources. I have Simboient, ShaderLab, and more I think. I have had at least one success bringing a shader from the model side to the workspace.



I could shade it for you, if you give me the water scene, but it must be set up the way you would like, because I don't know where you want each object in the scene. Also, it must be the old model side .scn format, because i'll be working mostly with the model side.



I might have to experiment with Simboient's shaders (there is an ocean shader, and other ones relating to water), and I will post the .scn file when done. I might post several variations of the textured scene, so you can choose which one you like best.:)



Happy to help:)


Edit: Are you still here ivampretti? I want to help by shading your scene for you, unless you already got that done. If you need any help shading it, i'll do what I can.

Post by tamtam // Nov 2, 2008, 8:17am

tamtam
Total Posts: 213
pic
Sorry for double posting but, how's your fluid sim turning out ivampretti?

I could still shade it for you if you give me the scene (model side .scn). But if you already have the shading done, could you post updated screenshots, please?

Post by ivampretti // Nov 2, 2008, 4:07pm

ivampretti
Total Posts: 151
pic
Oh I'm so sorry Tamtam, so busy that I forgot to post it for you. I'm working in other project now, so I paused the work on the fluid sim based on phisics because I got so frustrated. I realized that is lot more complicated than I thought to build a sim with the Navier Stokes equations. I bealive today that if I worked on it for about three months I would have something that we could visualise! But I dont have so much free time, and I got bored with it :D:D:D . But the Frootee's plugin is very well looking so far, so the community will have something to play with very sun I hope.


Well this is the .scn file that I used to make the test video. I did not understand why you need it, because I would like that you Tamtam, Shade it on workspace side, because I shade it on model side and it is not so bad! take a look on my other post maybe you didnt see the video I posted.

Post by frootee // Nov 2, 2008, 5:44pm

frootee
Total Posts: 2667
pic
Hi ivampretti. I went through the very same thought process as you. I considered writing a fluid simulation plugin from scratch myself, earlier this year; I studied the ElBeem code, etc. But realized, I'd be 90 years old before I finished. By then fluid simulation could be done in real time on massive scales. :D


Yes, Fluid simulation is extremely difficult to implement; and results come at a high price, computation-wise. It takes a lot of memory and CPU power to crunch through the algorithms.


Long story short, I expect to have the plugin ready for release in the very near future. I tried uploading a video earlier, with no luck.

Post by tamtam // Nov 3, 2008, 12:03pm

tamtam
Total Posts: 213
pic
I have had at least one success bringing a shader from the model side to the workspace.


@ivampretti - I could enhance it for you, using the shaders I have, and I will try to reproduce what I did last time to bring the shaders over to the workspace from the model side.


You shouldn't be sorry, I should, and I am sorry for not seeing your video first.


I finally found the video today, so I downloaded it, along with your .scn file. I will try to make it look as realistic as possible with shaders, and possibly the model side plugin demo, Wave Generator.


If this works on the workspace side (shaders, and Wave Generator with your model side water), I will post screenshots, and I will try for different workspace scene files, which I will also post here.

Post by tamtam // Nov 4, 2008, 8:14am

tamtam
Total Posts: 213
pic
@ivampretti - Okay, maybe i'll post what I have, even though most of the shaders were created on the model side. I saved the workspace scenes, and I hope you can use them, or like them, but I really think your fluid sim was way better. I couldn't figure out how to animate it too much, other than using WaveGenerator on the model side.


Here's the workspace scenes, and a screenshot. I might have to post the model side's versions of the water, if you cannot get the animation to work when switching from the workspace to the model side. I cannot post the model side ones right now, because I don't have all the different versions saved as a .scn file yet.

Post by ivampretti // Nov 4, 2008, 11:43am

ivampretti
Total Posts: 151
pic
@Tamtam - The Shade for workspace looks awesome! Your shade looks like clean water, the one I made for model side looks like Ocean water because is green. I downloaded your file but I coudnt extract the files, the Rar says that the file is corrupted. And dont worry to post .scn files, because I'm working just with WS now.

Post by tamtam // Nov 4, 2008, 2:39pm

tamtam
Total Posts: 213
pic
@ivampretti - In that screenshot, I used a pre-made shader on the workspace (sorry, I forgot to tell you that one). You probably have that shader on the workspace too. I think it was a shader called Atmosphere. You could actually do what I did, by applying the Atmosphere shader from the workspace onto the model of the water, then it looks clear.


Sorry about the files being corrupted, I don't know what hapened there, but I needed to put all three workspace scenes into a .zip file, because they were too big in file size when I tried to upload them together here.


The following may be a workaround.


Workaround: I might have to post the .scn files. Sorry, but the upside (IMO), is that you might get the model side animations with each scene. I know that's not what you want, but I think you are so smart... you figured out how to make workspace water in ts, you could probably figure out a way to convert the model side water animations to the workspace keyframes.


I will open the files I shaded later, or tomorrow, so I might be able to get the .scn files to you then.


You're a great water simulation maker! :banana:

Post by tamtam // Nov 4, 2008, 4:39pm

tamtam
Total Posts: 213
pic
Sorry, I can't even post the .scn files. They are too big in file size. What I can and will post though, is renders of the water. I think I used one subsivision on the workspace for the pouring water, so that is probably what contributed to the large file size of each scene on the workspace and model side. I didn't know how many polygons your water models had, and I thought I liked it with one subdivision.


Also, here's the links to the software I used to make the shaders and the more watery effect in the images:


http://www.darksim.com/html/simbiontts.html


http://www.kinneret.co.il/lgsoft/prod01.htm

Post by frootee // Nov 4, 2008, 5:21pm

frootee
Total Posts: 2667
pic
that looks pretty cool tamtam.


You can also Zip the Scn files. That ought to do it.

Post by tamtam // Nov 4, 2008, 5:55pm

tamtam
Total Posts: 213
pic
@froo - I did that, and ivampretti said there was an issue with opening the files, that the files were corrupted. That was with the workspace files, and I don't think the model side .scn files will be any different. I mean those could come out corrupted too.

Post by frootee // Nov 4, 2008, 6:41pm

frootee
Total Posts: 2667
pic
well I don't think it would happen twice. Sometimes files do get corrupted on upload. I have been having trouble the past couple days uploading large files as well.

Post by trueBlue // Nov 4, 2008, 6:54pm

trueBlue
Total Posts: 1761
pic
Have you tried saving only the Material?
In Workspace with your selected object you can from a library right click and select Insert As - D3D Material (.RsMat)

Post by tamtam // Nov 5, 2008, 9:50am

tamtam
Total Posts: 213
pic
Have you tried saving only the Material?

In Workspace with your selected object you can from a library right click and select Insert As - D3D Material (.RsMat)


@trueBlue - I didn't try that, because the materials, which are actually mostly Simboient shaders, are all from the model side. They don't look the same when I save them on the workspace.


well I don't think it would happen twice.


@froo - Okay then i'll make two .zip files for ivampretti: one with all the model side scenes, and another with the workspace scenes. That way ivampretti can work with both sides, but I think he (or is it she?) wanted to work only on the workspace. That's the issue, because my edits of the original scene from ivampretti are shaded with the model side only now, and that's where all the shader plugins I have are. The shaders don't render the same on the workspace as they do on the model side. Also, the model side is where I used a plugin to animate the waves. The animation from the model side doesn't work on the workspace.


Here's the first set (3 model side variations):

Post by tamtam // Nov 5, 2008, 10:04am

tamtam
Total Posts: 213
pic
Sorry, i'll have to try again later to post the workspace scenes, because they were having troubles uploading.

Post by trueBlue // Nov 5, 2008, 11:22am

trueBlue
Total Posts: 1761
pic
Here is a LW Material I been playing around with.

Post by tamtam // Nov 5, 2008, 1:56pm

tamtam
Total Posts: 213
pic
Okay here's the workspace scenes in a .zip file (mainly for ivampretti):


Edit: the model side .scn files are mainly for ivampretti too, because ivampretti wanted some help with the water files, so I said I could help with the shading. Both sets of files (model side, and workspace) I believe they are the same, but they are just two different file types of ts.

Post by ivampretti // Nov 17, 2008, 2:25pm

ivampretti
Total Posts: 151
pic
@TamTam - yeah :rolleyes: back to stage zero again couldnt extract the files, sorry the late response.
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn