max6: glu in

Nov 28, 2011 at 5:49pm

max6: glu in

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 at 6:04pm

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 at 6:05pm

ah, wonderful!
many thanks for the fast reply.


You must be logged in to reply to this topic.