DX Shaders

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.

DX Shaders // The Garage

1  2  3  |  

Post by parva // Feb 24, 2008, 4:04am

parva
Total Posts: 822
pic
I have a video tutorial in mind yes,
just don't know when I will start to do it :D
The shaders will be split up into two parts.
Some of them will be free and some of them are available in a shaderpack
which can be buyed (a donation for the time I spend to integrate the shader, nothing high priced).

Post by noko // Feb 24, 2008, 11:51pm

noko
Total Posts: 684
Wonderful thread! :banana: :banana: :banana:I didn't know we could share this. Well anyways here is video for 7.6 shader developement. Fun and extremely excitting times I have to say :). Hope you don't mind parva.

Post by parva // Feb 25, 2008, 12:57am

parva
Total Posts: 822
pic
the thread is free for all dx shaders :)


I already missed your fire sample!

Post by TomG // Feb 25, 2008, 4:16am

TomG
Total Posts: 3397
One thing I thought of there with the fire shader was to hook up some degree of randomisation to the distortions, which would remove exact repeats of the texture that the eye can catch. Of course you could also hook up some animated changes there to have your fire grow and change over time too. So a very powerful little shader it would seem!


Thanks!

Tom

Post by noko // Feb 25, 2008, 7:30am

noko
Total Posts: 684
Yes very good points Tom which turns out very easy to do in tS. What makes tS so unique is the ability to combine a number of items that you don't normally see together. I attribute this to the Link Editor, it just links up the world so to speak and is extremely powerful tool that frankly no one is even close to having. So here is an example of having some differences introduced by using Wind Physics, real time interaction :D. Actually I think this is the first time something like this was done, maybe wrong. As a note the proceding and this animation was done on a low end system or a 1.6ghz dual core laptop with a 7600 Go video adapter with Camtasia capturing the video footage sucking up resources. You don't have to have a top notch system to get real time special effects happening ;).

Post by Scala3D // Feb 25, 2008, 7:50am

Scala3D
Total Posts: 157
pic
WOW as I lick my lips.... real time particles...I can't wait.....Well done guys. I almost cried...lol

:banana::banana::banana::banana::banana:

Post by parva // Feb 25, 2008, 7:59am

parva
Total Posts: 822
pic
yeah thats the one with the wind which looks fantastic! :)

@Tom - yes that would be surely possible.
There are also more settings in the shader like layer speed and attenuation
(as float4), but the distortions are the one I extracted to change for the user.

Currently sorted and divided both shaderpacks.
The free one has 19 objects, the one which can be buyed has 35 objects :)

Post by splinters // Feb 25, 2008, 11:45am

splinters
Total Posts: 4148
pic
Careful Parva, sorted and divided already?...you make it like sound like tS7.6 is just about here...:rolleyes:

Can I get a discount? I will trade for my Beta of tS7.7....;):D

Post by Ambrose // Feb 25, 2008, 9:05pm

Ambrose
Total Posts: 261
pic
Awesome work guys ;)


Really looking good, and cool, if t's what I see then this is so cool ;););)



5 banabas from me :banana::banana::banana::banana::banana:



Keep up all the good work!



SeYa/Ambrose...

Post by parva // Mar 21, 2008, 6:08am

parva
Total Posts: 822
pic
little sun shadow test
11660
and a sample tree scene with the new leaf shader.
11659
Watch the scattering how the light casts through the leafs and brighten them up.
The tree in the center has more leafs and so the amount of leafs block the light and darken the tree.
Again pure D3D screenshot without postprocess.

Post by TomG // Mar 21, 2008, 6:25am

TomG
Total Posts: 3397
Awesome trees, thanks for sharing that image Marcel! The sun too is a great tool for real-time scenes.


Tom

Post by Jack Edwards // Mar 21, 2008, 7:16am

Jack Edwards
Total Posts: 4062
pic
Yeah, I agree with Tom. Those trees are incredible stuff! :jumpy:

Post by splinters // Mar 21, 2008, 9:02am

splinters
Total Posts: 4148
pic
Brilliant stuff Marcel. Will you link your sun shadow with geographical data?


I have a really old program called Alias Upfront which casts simple block shadows but I love the way the program lets you input a time and date and latitude/longitude and it puts the sun in the right position...it is fun and could make your feature truly excellent...:D

Post by parva // Mar 21, 2008, 12:34pm

parva
Total Posts: 822
pic
Brilliant stuff Marcel. Will you link your sun shadow with geographical data?


I have a brick/script which does that yes but unfortunatly it doesn't work

with this kind of sky system.

But I will put it into the folder so that users can play with it.

The time of day doesn't match the sun position. It works with another sky system but here I don't know how to do it in trueSpace.


The link with the directional light (which cast the shadow) has also some problems.

At some positions the shadow cast doesn't match the sun position.

At least it's accurate if you want to simulate places near the equator :D

Post by Johny // Mar 22, 2008, 4:05am

Johny
Total Posts: 672
pic
Yes it seams that the shaders don't work with previous 7.6 version.
I don't know why, maybe the kind of Rosetta Object saving.

I tested with 7.5 version and here I even don't get the library to show up in the library and manual import of the rs objects crashed truespace..
Just found this thread. Good works Marcel! :)
Marcel, I think the shaders must work well with tS7.51 too. :)


I will take a deeper look if there is a way to save the rs objects in a format, later ts versions can read but if I find no solution I guess the only thing would be to wait until 7.6 comes out :(

Sorry again.
Marcel if you want, you can remake your shader with tS7.51, and we all don't need to wait until release of tS7.6. :)

Post by Délé // Mar 22, 2008, 7:48pm

Délé
Total Posts: 1374
pic
Awesome work Parva! The sky with lighting looks fantastic! Those trees looks look brilliant too! :D :banana: :banana:

Since this thread is turning into a DX shader library of sorts, I figured that I'd share the video for a fog shader that I'm working on. Some have already seen this, but I thought that I might as well post it here too.

This isn't as good as real fog and you have to use the shader on all objects in the scene, but it might be a decent workaround until real DX fog is implemented. I've got it working pretty well so far. Right now I'm just trying to tweak it so it works with shiny materials. This should already work well with alpha mapped objects like trees and plants though. So it should be ready soon. I'll post it when I'm finished.

Just to note, it does look much smoother in tS. The video compression created some banding and such. ;)

Post by parva // Mar 23, 2008, 6:06am

parva
Total Posts: 822
pic
little addition.

I added and changed some math -> support for backside intensity and ambient color

v1.1 of the leaf shader is an alternative to the other one

11690


Another interesting thing (don't know if I already mentioned) is,

that double sided geometry planes can work as thin translucent material.

Now I haven't create leafs for a tree that way

(and enable backside don't work for single side planes that way) but in my tests the results looks great so maybe worth a try.

11691

Post by Jack Edwards // Mar 23, 2008, 6:17am

Jack Edwards
Total Posts: 4062
pic
WOW, Parva! You're shader pack is going to have to be on the short list of essential purchases for trueSpace 7.6 users! :jumpy:

Post by robert // Apr 4, 2008, 2:16pm

robert
Total Posts: 609
pic
The link isn't working for me, is there some other way for me to get these because they are absolutely amazing, best realtime shaders I have ever scene (yay puns).:jumpy:

Post by Ambrose // Apr 4, 2008, 9:24pm

Ambrose
Total Posts: 261
pic
Now people might start to understand why Caligari was bought up ;)



Anyway, Parva a chance to see those trees in short animation?




Keep up all the great work!



You to Dele, that fog worked like a sharm ;)




SeYa/Ambrose...

Post by parva // Apr 5, 2008, 12:07am

parva
Total Posts: 822
pic
The link isn't working for me, is there some other way for me to get these because they are absolutely amazing, best realtime shaders I have ever scene (yay puns).:jumpy:


thank you.

Unfortunatly the Shaders work just with tS7.6 (they would also work with 7.5 but thats too much work for me to transfer).

Shaders will be available at 7.6 release and no worry this version will come ;)

In the meantime I can check some code and maybe add more shaders.


Anyway, Parva a chance to see those trees in short animation?

Should be no problem.

Currently I don't have a good animation/ wind wave shader for tree leafs, I'm still experiment.


edit: here a short screen capture (http://www.parva-project.de/stuff/ts/ts7/tree.avi) (divx 6.8)

Post by splinters // Apr 5, 2008, 4:45am

splinters
Total Posts: 4148
pic
Now people might start to understand why Caligari was bought up ;)



I never doubted it Ambrose. Anyone can see that Microsoft would not be interested in a 10 year old + program, they would have tried to buy it by now I am sure.


No, they would clearly have been attracted to the power of the realtime/DX stuff which would be the perfect vehicle for VE creation.


The stuff Parva, Dele, Wizard (and too many more to mention) do in realtime would have been a perfect showcase for the technology and the standalone tP would have been the icing on the cake.


Nope, I have no doubts...;)

Post by parva // May 3, 2008, 1:07am

parva
Total Posts: 822
pic
at my page I posted now a list with the upcoming d3d shaders in both packages.


Those who don't want to search, here the list:

12291

Post by splinters // May 3, 2008, 3:55am

splinters
Total Posts: 4148
pic
Any idea on price and availability yet Parva. I realise you cannot release ny 7.6 stuff until after it is released but do these all work in 7.5?

Post by Jack Edwards // May 3, 2008, 5:16am

Jack Edwards
Total Posts: 4062
pic
Looking great Parva! Definitely a "must have" add-on for TS 7.6! :banana:

Post by Délé // May 3, 2008, 8:48am

Délé
Total Posts: 1374
pic
That's quite the list there Parva. I can't wait to see them. :D :banana:

Post by Steinie // May 3, 2008, 10:08am

Steinie
Total Posts: 3667
pic
Ballpark Price? (this might be an American expression...approximate price?):)

Can you show us an example of the Hair Shader?

Post by parva // May 3, 2008, 11:03pm

parva
Total Posts: 822
pic
Any idea on price and availability yet Parva. I realise you cannot release ny 7.6 stuff until after it is released but do these all work in 7.5?

It will work only with tS7.6 (and above).
The price is aimed for $15 but it's still unsure, it could be also that all both packs are free for download and I do a donation system where those who donate get free updates and video tutorial help (which is part of the commercial package).

Can you show us an example of the Hair Shader?

The reason why it's free is that the tangent reflection seams to have problems.
I think it's an internal D3D trueSpace failure but no Developer had worked on it so far.

12300
The left shows the shader (lighting in wrong direction)
The right shows the correct direction (at least a part of it) but only if many SDS layers are applied.
I think it's a bug there in other programs this shader works correct.

The Shader based upon the Hair material you can find in the D3D Material library (also here the same problem)
the difference is in the detail.

Post by splinters // May 3, 2008, 11:14pm

splinters
Total Posts: 4148
pic
It's a bargain then Parva...:jumpy:

Post by v3rd3 // May 4, 2008, 10:27am

v3rd3
Total Posts: 388
I'm in!!!!! I can't wait for 7.6......


sign me


panting with anticipation .....
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn