Skip to main content
gamedev.net
🔒 Locked

Spherical Scale Mapping

Started by Myopic Rhino Mar 4, 2005 at 2:51 PM 4 replies 1.5k views
Drilian
Drilian
It's worth noting that the skull that you use to demo is not, strictly speaking, a "convex" model. What with the eyes being concave and all.

However, there's no overlap from the point of view of the sphere texel that scans that portion of the model, which is why it works.

So it doesn't fail for ALL concave models, only those in which there's an overlap from the point of view of a sphere texel.
aaron_ds
aaron_ds
Hasn't this been done before?
Displacement mapping?
NoahAdler
NoahAdler
As Drillian pointed out, this technique does work for some concave meshes, but an important point is that it only works for genus 0 surfaces. It could be interesting to try to extend it to higher genera by using multiple cubemaps or something, but I can't really see a straightforward way of doing it offhand.
-bodisiw
superpig
superpig
Quote:
Original post by aaron_ds
Hasn't this been done before?
Displacement mapping?
You'd use it with displacement mapping, sure, but this is talking about a particular application of it - namely converting a mesh into a map.
Richard "Superpig" Fine - saving pigs from untimely fates - Microsoft DirectX MVP 2006/2007/2008/2009
"Shaders are not meant to do everything. Of course you can try to use it for everything, but it's like playing football using cabbage." - MickeyMouse

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.