Jump to content
Nickpwalsh

Trying to learn Vex. Major differences from typical OOP?

Recommended Posts

I'm attempting to deepen my knowledge of vex and was recommended a book on programming using processing (Learning Processing, by Daniel Shiffman). For anyone with good knowledge of both Vex and another object oriented programming, are there any major concepts that will not translate over to vex. Like, is there a way to create classes in vex?

Just trying to streamline my learning of this stuff so I can stop being merely a knowledge sponge around here.

Thanks in advance for the help.

Cheers,

Share this post


Link to post
Share on other sites
Posted (edited)
2 hours ago, Nickpwalsh said:

...both Vex and another object oriented programming...

just a side note, VEX is not OOP language, so most of the OOP concepts will not translate well, no classes or inheritance, the closest you can get is structs with local functions

https://www.sidefx.com/docs/houdini/vex/lang.html

Edited by anim
  • Thanks 1

Share this post


Link to post
Share on other sites

I found VEX very simple to learn, but I come from C which it's rather close to.

How much previous knowledge with programming do you have?

Processing is a rather specialised environment with peculiar rules, so I'm not sure if it isn't more useful if you dive into VEX directly?
The good thing IMO is, that you always get visual feedback, so VEX is very brain-friendly to learn if you allow yourself to "play". I would actually use Houdini to teach kids math and programming in school. ;-)
I gave one workshop to students of architecture who had no prior knowledge of programming and within the four days we had, they groked at least the basics and that it's nothing to be afraid of... (one of the most important things IMO).

And yes, "Joy of VEX" from Matt (and everything else on tokeru) is super helpful, there are also video tutorials and of course, there is always Entagma. Especially if you start with their oldest videos, they go into much more detail when they use VEX than they do nowadays.

Good luck!

Cheers,

Tom

  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks for clearing all that up. I think I'll just do the deepest dive I can into Vex. 

Tokero has already been the main resource keeping me afloat learning this stuff haha.

Share this post


Link to post
Share on other sites

What are you wanting to do with VEX? What is your goal? I'm guessing you're new to Houdini so there might be better ways to accomplish your goal depending on what it is.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×