hi Ted,

Now I'm have trouble to make a repeated texture, not a clamped one and
finally scrolling the texture along the z axis.
this is how i would do it, hope it helps:

(clear)

(texture (load-texture "test.png"))
(define p (build-seg-plane 10 10))

(with-primitive p
    (pdata-map!
        (lambda (t)
            (vmul t 10))
        "t"))

(every-frame
    (with-primitive p
        (pdata-map!
            (lambda (t)
                (vadd t #(0 .1 0)))
            "t")))

best,
gabor

Reply via email to