Applying D3D materials and 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.

Applying D3D materials and shaders // New Users

1  |  

Post by PrimMac // Mar 3, 2006, 3:24am

PrimMac
Total Posts: 78
Does anyone know how I apply Shaders/Textures from the Materials Library to my objects? Dragging and dropping doesn't seem to work, either dragging on the object or the Material Editor. Items from this Library can only be dragged into the Link Editor, However, their output connectors do not match any input connectors from, say, a Cube Primitive. A Cube Primitive has a Material List output, and a D3D Shader has a D3D Material output, so I would need a D3D Material Input on my Cube.


Any advice? Thanks.

Post by stan // Mar 3, 2006, 5:42am

stan
Total Posts: 1240
pic
look at the "feed the dinoGPU" object or "torus" in object library [base section]..
they are hooked up to d3d material..

click the orange triangle on the node to see the material hook up

Post by stan // Mar 3, 2006, 6:10am

stan
Total Posts: 1240
pic
here is the LE view of a cube [created in model] setup with d3d material on player side....
open cube by clicking on orange triangle and you should see this without the wires_metal and the material list will be hooked up..

Post by PrimMac // Mar 3, 2006, 8:20am

PrimMac
Total Posts: 78
Thanks. I was able to apply the material using Player Mode, and in Link Editor by attaching D3D Material OutPut to an Input Connector called Mat Item 1 on the Material Chunk Entity.


It seems, however, that these materials cannot be rendered when I press the Render Scene button. Is there a way to get them to render? Or are they exclusively for Player View? If that's the case, then I don't find these materials to be of much use. I personally use Model mode all the time.

Post by Cayenne // Mar 3, 2006, 1:17pm

Cayenne
Total Posts: 144
pic
You should be able to drag and drop the materials on to your objects in the player window from the libraries.


There are two sets of libraries the shaders one contains mainly materials that are exclusive to the realtime render engine and they do not pass to an approximation to the offline render engines ,


The Textures library materials will when applied will pass information to the offline renderers.


You can get some very nice results from the player window using bloom, glow, wire options, AA, supersampling and can create some unique shaders and instant rendering styles.

Post by PrimMac // Mar 3, 2006, 3:51pm

PrimMac
Total Posts: 78
Wow! Cayenne, you blew me away with those screenshots! They look just awesome! I'm gonna try those myself. It's a shame that such incredible quality can only be seen within TS itself. It's not gonna stop me from using them, though...

Post by Cayenne // Mar 4, 2006, 2:37am

Cayenne
Total Posts: 144
pic
Hi thanks , player view is very capable of not only previsualisation of your scene if compatible materials for offline renders is used , it is very capable of producing some good realtime images.


to be going on with for now you can use this free software here for screengrabs.


http://www.wisdom-soft.com/products/screenhunter.htm


The dx material system is very versatile and even just experimenting with the ready made materials can give some satisfactory results, the awsome thing is that you can move around in your scene and the render updates on the fly.


apart from one or two textures in there which are 512x 512 all the other shaders are using 16x 16 pixel textures.


there is also a very good programme here for generating seamless textures and also normal maps , in my opinion this is one of the best seamless texture generating applications on the market and is well worth the asking price.


http://www.i-tex.de/

Post by Délé // Mar 4, 2006, 6:15am

Délé
Total Posts: 1374
pic
That texture program looks pretty darn good. I may have to get it. Thanks for the link Paul. :)

Post by PrimMac // Mar 4, 2006, 7:19am

PrimMac
Total Posts: 78
Thanks! The program works great. Now let's see what I can do with this...
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