NPR-DX -Shader Wip_ and trueplay scene

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.

NPR-DX -Shader Wip_ and trueplay scene // Interactive Artwork

1  |  

Post by Cayenne // Sep 23, 2006, 10:47pm

Cayenne
Total Posts: 144
pic
shader uses a image to create several overlays across the surface of an object, the shaders changes as the eye moves, .

It is a wholly experimental shader, .


I used the information in the folder :\trueSpace75\tS\Scripts\MaterialEditor\Bricks\Com pound for the thresh hold hatching to recreate an uncompiled version of the brick in an hlsl format then experimented with it.


simply open the scene in trueplay use the panels to interact, if you want to investigate the material further open it it truespace and browse to the material node.


one note the material picker does not work correct on this object as parts of it have been exported to the outside level of the object, so when it show in the stack it is non editable.


Also this a purely player material.


I used the script from the script library to flip the bitmap.


apologies for spooky face it is an image from the base bitmap library, ...


thanks


Paul

Post by trueBlue // Sep 23, 2006, 11:21pm

trueBlue
Total Posts: 1761
pic
Hello Paul,

Looks really cool! And a weeeeee bit complicated inside. Almost could not find my way back out of all those bricks. :confused: Hope everything is great your way.

Dave

Post by trueBlue // Oct 27, 2006, 6:58pm

trueBlue
Total Posts: 1761
pic
Hey Paul:
I was wondering if you have used these:

D3DView.ImportBrickLibrary()


HRESULT IRiView3D::ImportBrick( VARIANT [I]vFileName, VARIANT [I]vOwner, [out, retval] VARIANT * pVal)
Import brick from XML file into the graph Parameters: vFileName specifies the name of the XML brick file vOwner specifies the full-name of the target owner encapsulator pVal is filled with the loaded brick node.




D3DView.BuildBrickLibrary()


HRESULT IRiView3D::BuildBrickLibrary( BSTR [I]bsOwnerName )
Build XML shader brick library from XML files Parameters: bsOwnerName target owner encapsulator of the library.
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