Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   AVS Presets (http://forums.winamp.com/forumdisplay.php?f=137)
-   -   Could I get some help with a DM? (http://forums.winamp.com/showthread.php?t=129229)

Jaheckelsafar 21st March 2003 07:25

Could I get some help with a DM?
 
1 Attachment(s)
I'm wonding why my trench gets shalower the closer it is to the camera. Anyone got any ideas?

Or am I going about this absolutely wrong?

shreyas_potnis 21st March 2003 09:43

uh..um..huh?!@A#$ :( Same problem with me too! so I stopped bothering about it...anyway, nice preset.

Raz 21st March 2003 15:50

it does it when you set the xa value to pi divide by something, the divide dosent just slant the textures veiw, it slants the movement on the trench downward asit goes out instead of keeping it in a straight line. Ill take a closer look and see if i can fix it.

UnConeD 21st March 2003 19:13

The problem is that you still think of DM's in SSC terms. At point (x,y), you're defining the texture at THAT point, nowhere else.

So offsetting the intersection x,y,z coordinates simply doesn't work because you can only move the point along the ray it's being traced on.

I suggest you raytrace a half cylinder and a plane for this.

Oh and you should get rid of the jumpy camera rotations and replace them with something smooth.

Phaze1987 21st March 2003 21:06

Nice movement.Add ti=10 to onbeat to make it a bit more dynamic.Needs to be smoothen out a bit.

Jaheckelsafar 22nd March 2003 06:35

I haven't gotten the hang of the whole ray-tracing thing. I'm thinking of the DM as a flat mesh that I can deform. I know, I should read that thread where you described it all to nixa. (link here for anyone that missed it)

Was just messing with the movement. :)

Pixelcraft 22nd March 2003 21:40

I can't change the shape or anything, but I think it would be better if it were faster. I changed the first code in the frame box to a=a+0.3, which makes the camera zoom down the trench instead of just kind of sitting there.


All times are GMT. The time now is 22:30.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.