GL and QC

greging's picture

Hi!

I'll start by saying that I'm very new to all of this and am a total beginner.

My current goal is to be able to provide some parametric equations in GL and have it rendered in QC.

I looked into writing custom packages but I just have no clue. Is there an easy way to put openGL code into QC?

Any help greatly appreciated -- I'm totally lost!

Thanks,

Greg.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

cwright's picture
no worries

Don't worry about being a beginner -- everyone has to start somewhere :) Stick with it, QC's growing very rapidly.

to do custom GL, you'll likely have to write a custom plugin. Apple's template makes this pretty simple; ours makes it a bit less simple, but a bit more powerful. I'd suggest sticking with Apple's for now, and asking for assistance on the QC Dev mailing list when you run into difficult points.

If it's simple parametric stuff, you might be able to do the calcs in JavaScript, and drive opengl primitives (ala our OpenGL Tools plugin) with an iterator or something -- this would get really bad performance with more than a few dozen primitives though, so it's not a good long-term solution.