HLSL in Ts7?

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.

HLSL in Ts7? // Archive: Tech Forum

1  |  

Post by Asem // Jun 28, 2006, 6:21pm

Asem
Total Posts: 255
I have picked up some knowledge of how to use hlsl but I would like to apply some of the stuff to truespace. I tried using the hlsl script block but it doesn't seem to be like hlsl. Is there some documentation on the keywords or data types needed to be used? Also does it work in the same manner like when I do:

float4x4 ModelViewProj : WORLDVIEWPROJ;

or should I just use the shader input block in the LE?

Post by parva // Jun 29, 2006, 7:10am

parva
Total Posts: 822
pic
I don't know where but the Developers Guide has examples how to use the HLSL brick.
The use of the brick is easy to understand but the translation into the "HLSL brick speech" :D isn't.

Sorry wished I could you help more. Have tried myself but without success.
Generally there are several ways to reach the goal, HLSL brick isn't a must, could be also build up from several other bricks.

Post by Norm // Jun 29, 2006, 7:25am

Norm
Total Posts: 862
pic
I am curious if you have had opportunity to check out the Developer Guide PDF file, which should be located in ts/PDFMAN folder.

It has some info down at bottom of document that may provide answers.

Post by Asem // Jun 29, 2006, 2:42pm

Asem
Total Posts: 255
Sorry, I happened to delete it or something happened? I did yesterday download it, oops :o . Thanks for the information right now I'm at school but what I wanted to do was convert a hlsl script that would make reflections possible in the player view(maybe better to do projection?). when I do it , based off a script because I pretty sure I understand enough to try, I'll look into it and one of the biggest things I would like to try is implementing parralax mapping which gamedev has a pretty good article to get started on and sample code to try it out.

Thanks again I'll look through the dev guide since I now have it. Let you all know if I succeed :)

oh if anyone wants to understand some hlsl I found this website which isn't that bad:
http://www.pieterg.com/Tutorials.php

Post by Asem // Jul 8, 2006, 9:54pm

Asem
Total Posts: 255
I see a vertex shader input but I kinda find it weird that I don't see a pixel shader input. Is it basically the model shader or is it not there? I also wonder if it would be possible to have texCube implemented ,unless it is (it is not documented).

Post by Johny // Jul 11, 2006, 4:34am

Johny
Total Posts: 672
pic
To make HLSL work well, your GPU card must support the shader 2 or above.

Post by Asem // Jul 11, 2006, 6:39am

Asem
Total Posts: 255
I'm pretty sure it is johnny. It's a FireGL x1(workstation), pretty sure its equivelent to a 9700 unless I'm wrong. I have been thinking of upgrading to a new card but at the moment cannot:)

Thanks

Post by Johny // Jul 11, 2006, 10:43am

Johny
Total Posts: 672
pic
You can download program "HardwareInfo" at this link http://www.ozone3d.net/

Post by Asem // Jul 12, 2006, 9:49am

Asem
Total Posts: 255
Thanks I was looking for that but for some reason couldn't find? Oh and good idea about printing them out:). I expected to see it in the delveloper guide but it doesn't mention it but I guess it's there.
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