Cubemap Questions

Blitz3D Forums/Blitz3D Programming/Cubemap Questions

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have tried to do some cubemapping with a water plane. However the cubemap stuff doesn't produce the desired results basing the cubemapping from the plane's xyz, or the camera's xyz. The cubemap in my mind should be like my following example, where a ray hits the water depending on the camera's angle, and basing the cubemap from the coords where the ray hits the water.

C = Camera
O = object
* = ray
w = waterplane
X = wanted xyz coords
e = emtpy space(stupid forums not allowing spaces)

CeeeeeeeOeee
e*eeeee*eeee
ee*eee*eeeee
eee*e*eeeeee
wwwwXwwwwwww

Does this seem logic? or am I completely lost? How do you do a ray to obtain the wanted xyz parameters?