OpenCL Transforms

   127   0   1
User Avatar
Member
83 posts
Joined: May 2013
Offline
I'm trying to learn some OpenCL - not for a particular purpose, I just want to get a handle on what's possible / potentially useful etc so I thought I'd try going from SOP to COP , doing some transforms, then back to SOP. I managed to do some translation and scale but I am stuck when it comes to rotation.

I'd like to do the whole lot with matrices rather than adding for translate and multiplying for scale but I haven't even figured out how to declare a matrix yet. I have had a look through the OpenCL for Vex Users page but I'm still stuck.

Can anyone give me a pointer?

Many thanks

file attached in case useful for anyone else finding their way...

Attachments:
openCL_transforms.hip (430.9 KB)

  • Quick Links