DirectX Effect files viewable in TS?

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.

DirectX Effect files viewable in TS? // Tech Forum

1  |  

Post by tscorpio // Aug 25, 2008, 3:17pm

tscorpio
Total Posts: 84
I read on a web site that it's possible to display effect files in the workspace viewer of TrueSpace.

Is that true?!! How?!!! I gotta know!!!!!


Thanks!!!

Post by Jack Edwards // Aug 25, 2008, 8:02pm

Jack Edwards
Total Posts: 4062
pic
Not that I know of.

You can script HLSL using HLSL script bricks, so you can use the fx files to base the code for your custom shaders off of.

Having direct import and export of the .fx shader format is something that I have argued would be an important feature to have. Since it would make TrueSpace a one stop shop for creating custom shaders and models for video games.

Post by brotherx // Aug 26, 2008, 6:06am

brotherx
Total Posts: 538
pic
using that, you should be able and rendermonkey from ati as well, you should be able to put the basics of a shader together, then using the shader brick get them working in TS. did try it for a laugh but never got anywhere...not so funny really.


There was I think a post about a couple of free shader books as well(??) that you can download.


I've just not had the time to learn about HLSL...

Post by parva // Aug 26, 2008, 7:28am

parva
Total Posts: 822
pic
Don't know what effect files mean but think like Jack you mean fx files right?


Like Jack said it isn't currently possible to load and save fx files.

Saving should be (maybe) not too difficult to code. Loading, well I have seen fx formats which look similar and others look totally different. Even if there is a common math the interpretation of the code is difficult.


rendermonkey is a good advice from brotherx. There are some samples which are possible to adapt. Keep in mind that not all shaders written in books and samples can be adapted to truespace now due to missing features (cube map support for example). Another fact is that most fx shaders are postprocess effect shaders not materials shaders. Those aren't possible to adapt yet there we have no custom postprocess access (except the bloom effect which can be found as fx file in the trueSpace folder).


In the coming month I release the dx shader pack and soon an introduction video for dx/hlsl creation. Believe me if you understand the basics it's not too difficult to create your own dx shaders and it's extremly flexible for sure.

Post by tscorpio // Aug 26, 2008, 4:29pm

tscorpio
Total Posts: 84
Yea, I'm a RenderMonkey fan. I thought it might be possible to apply a pre-made fx file to my meshes without having to leave TrueSpace.

Post by tscorpio // Aug 29, 2008, 8:04am

tscorpio
Total Posts: 84
Can someone explain about how to use the Brick Components?

Post by brotherx // Sep 1, 2008, 3:28am

brotherx
Total Posts: 538
pic
try the real-time shader course. Besides the subtle differences between 7 and 7.6, it's pretty easy to follow. Still don't know what is going on but I...ok, no buts...


surely it can't be that hard.
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