21st March 2003 08:25 UTC
Could I get some help with a DM?
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?
Archive: Could I get some help with a DM?
Jaheckelsafar
21st March 2003 08:25 UTC
Could I get some help with a DM?
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 10:43 UTC
uh..um..huh?!@A#$ :( Same problem with me too! so I stopped bothering about it...anyway, nice preset.
Raz
21st March 2003 16:50 UTC
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 20:13 UTC
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 22:06 UTC
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 07:35 UTC
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 22:40 UTC
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.
Fork me on GitHub