Can we use these FX in the Player ?

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.

Can we use these FX in the Player ? // Archive: Tech Forum

1  |  

Post by xmanflash // May 9, 2006, 6:17am

xmanflash
Total Posts: 335
http://developer.nvidia.com/object/fx_composer_shaders.html


It appears that a few people have tools for DX shader creation as follows:


* NVIDIA's FX Composer

* ATI's Rendermonkey

* Mad Software's ShaderWorks

* Microsoft's Effect Edit from the DirectX SDK


Can we use these in the new DX9 Player?

Post by parva // May 9, 2006, 6:30am

parva
Total Posts: 822
pic
was asked already in another thread (http://forums1.caligari.com/trueSpace/showthread.php?t=716&highlight=rendermonkey)

Post by xmanflash // May 10, 2006, 6:15am

xmanflash
Total Posts: 335
was asked already in another thread (http://forums1.caligari.com/trueSpace/showthread.php?t=716&highlight=rendermonkey)


having read that thread, I still dont understand - if it is possible, how do i import the .fx files (is it in the manual)? thanks

Post by parva // May 10, 2006, 6:37am

parva
Total Posts: 822
pic
Post from Tomas:

"you cannot directly import rendermonkey [or nvidia fx] materials, but if you know hlsl it shouldn't be problem to alter vertex/pixel shaders even in 7.1 to get npr or fur; there is only problem that you have not render target / cube maps support yet."

there is a hlsl script brick at the Shader Components where you can create custom shader bricks.

Post by TomG // May 11, 2006, 6:39am

TomG
Total Posts: 3397
My understanding is that you need to do a bit of language translation :)


Open the shader in Rendermonkey or similar, and then translate the code from in there into HLSL, basically retyping it and changing the language in use.


There would be no way to load the files directly into tS. You could copy and paste the code and then work your way through translating it in tS I guess.


As Parva mentions, the HLSL brick is the one that will allow this - you would need to check the manual on shader development to see about writing shaders in general (though it will not cover translating from one shading language to another in there).


HTH!

Tom

Post by parva // May 11, 2006, 7:33am

parva
Total Posts: 822
pic
yes, a noob in scripting could be find itself fast in trouble (like me, believe me I have tried it with two scripts) :D

so I would say this is really just for those guys which understand scripting in hlsl and the hlsl brick.

Post by xmanflash // May 11, 2006, 8:03am

xmanflash
Total Posts: 335
yes, a noob in scripting could be find itself fast in trouble (like me, believe me I have tried it with two scripts) :D

so I would say this is really just for those guys which understand scripting in hlsl and the hlsl brick.


Ok Guys - thanks for the info..
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