Forums > Jitter

max6: glu in

Nov 28 2011 | 5:49 pm

Dear Maxers,

Just installed Max 6 and was wondering if I still can use the utility library routines. In Max 5 I always used glu.Perspective and glu.LookAt for example, but now it seems they don’t work. I could use gl.Frustum instead, but it’s not so intuitive as perspective. Should I change my habit or did I miss something obvious? Regards, Jochem

Nov 28 2011 | 6:04 pm

It’s there. I need to update the gl.lua documentation to explain how to get at it. It’s now setup as a sub-module of the opengl module. Here’s the code to get it:

local gl = require("opengl")
local glu = require("opengl.glu")
print("glu", glu)
print("glu.LookAt", glu.LookAt)
Nov 28 2011 | 6:05 pm

ah, wonderful!
many thanks for the fast reply.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter