Realtime displacement in WS.

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.

Realtime displacement in WS. // Archive: Tech Forum

1  |  

Post by rjeff // Mar 18, 2008, 9:11am

rjeff
Total Posts: 1260
pic
Tom G..or Parva. whoever can answer this. Do you think..or is it possible that TS might have a realtime dispmacement in WS. I love what Dribble does with true displacement, and I would love to see this added to WS. Is this possible?

Post by Délé // Mar 18, 2008, 11:52am

Délé
Total Posts: 1374
pic
The workspace already has displacement mapping. You can even procedurally animate displacement maps via script in real-time by animating the UV placement or via animated textures. Animated textures are much slower and don't work quite as well in real-time. It should render well, although I think there was a bug that skips frames sometimes.


Here is where you can find the displacement tool:

11603


Here is a post I made sometime back with a simple example of animated displacement:

http://forums1.caligari.com/truespace/showpost.php?p=29469&postcount=12

Post by Steinie // Mar 18, 2008, 1:35pm

Steinie
Total Posts: 3667
pic
How do you think I got my hair? Admit it you fell asleep during class...:)

http://forums1.caligari.com/truespace/showpost.php?p=62152&postcount=14

Post by rjeff // Mar 18, 2008, 2:14pm

rjeff
Total Posts: 1260
pic
*snort* what? did somebody say something?

Post by CdeB // Mar 19, 2008, 12:38am

CdeB
Total Posts: 160
The original post and then the following threads have led to confusion in my mind so correct me if I am wrong but this is what I thought (and now may have to rethink:o)


1. The displacement that Dribble gives only implements the change of the geometery as the renderer works. So you have low poly and then the renderer does the displacement based on the map.


2.WorkSpace: the geometry is changed by the displacement map (like the old true displacement from CK tools) So you get a higher poly model. When you implement.


IF (big if maybe) this is the case then at the moment Workspace does not have the same ability as Dribble because the displacement at render time is renderer dependent.


Anyone?

Post by Jack Edwards // Mar 19, 2008, 1:23am

Jack Edwards
Total Posts: 4062
pic
Unless you're talking geometry displacement that would be a render engine issue and unrelated to Workspace vs. Model. So what you are really asking for is for:

1.) Dribble to work in Workspace.

2.) Add micro displacement support to the TS implementation of V-Ray.

Edit:

You could try coding something using the HLSL bricks and DX vertex shaders. Vertex shaders are shaders that modify the geometry. Also you should look into this thread here:
http://forums1.caligari.com/truespace/showthread.php?t=3990
Maybe Parva's parallax mapping shader would be close to what you are looking for?

Post by parva // Mar 19, 2008, 6:33am

parva
Total Posts: 822
pic
Jack is right.

I you want displacement, the vertex shader is the one to go

but you can just displace already existing vertices.

Means for fine details you need a lot of polygons.


Possible that micro triangle displacement or something like that

will be possible in the future. I remember some samples with newer gpu cards

and the geometry shader unit.


Parallax and Relief mapping are just view-dependent "fakes" not real displacement.

I recommend the site from fabio policarpo (http://fabio.policarpo.nom.br/).

His curved relief mapping is really cool but need to be preprocessed geometry.

Unfortunatly I can't find his demo anymore but the videos are great too.

Currently he works on a raytracer, stunning stuff.

trueSpace could benefit from guys like him :D

Post by rjeff // Mar 19, 2008, 7:51am

rjeff
Total Posts: 1260
pic
Hey Parva..that dx shader pack 1 link does not work.

Post by parva // Mar 19, 2008, 8:14am

parva
Total Posts: 822
pic
yep sorry. The DX Shaderpack works just with truespace7.6 so I had to delete it until the new version comes out.
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