Jump to content


Recommended Posts

  • 2 weeks later...

Hello everyone!

I'd like to thank you all for the interest the last time around, so I thought i'd celebrate by releasing the next 3 minutes of VEX; Exploring all things camera.

If you missed it the first time, every Monday at 12pm for the last month-ish I have been posting VEX mini-tutorial snippets on my website, the most recent of which can be found below. Enjoy!


1 Minute VEX IV - https://aaronsmith.tv/1-Minute-VEX-IV-V

An introduction to NDC space, and using to/fromNDC() to scale objects without changing position relative to camera.


1 Minute VEX V - https://aaronsmith.tv/1-Minute-VEX-IV-V#1mv_v

Using toNDC() and removepoint() to delete points that are not displayed on camera.


1 Minute VEX VI - https://aaronsmith.tv/1-Minute-VEX-VI

Using intersect() and optransform() to delete points hidden by camera occluding geometry.

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

Hello once again!

Since the last time I posted here I've added three new tutorials, all of which briefly cover textures, mapping and colour in VEX. Thanks to everyone once again for all of the support and useful suggestions!


1 Minute VEX VII - OCIO transformed attribute from image https://aaronsmith.tv/1-Minute-VEX-VII

Using colormap() and ocio_transform() to read an sRGB image and convert it to an ACES-compliant attribute.


1 Minute VEX VIII - sampling nearest texture with UDIM filename expansion https://aaronsmith.tv/1-Minute-VEX-VIII

Using xyzdist(), primuv() and colormap() to sample the nearest UDIM-friendly texture on a surface.


1 Minute VEX IX - triplanar mapping & projection https://aaronsmith.tv/1-Minute-VEX-IX

Using simple vector math, for loops and colormap() to create a triplanar projection.


Please feel free to PM me with any questions or suggestions.

  • Like 2
Link to comment
Share on other sites

  • 1 month later...

It is that time once again!

Three new snippets - exploring the various creative usages of arrays in VEX. I hope you all enjoy!


1 Minute VEX X - weighted integer sampling  https://aaronsmith.tv/1-Minute-VEX-X

Using sample_discrete() to make a weighted selection from an array.


1 Minute VEX XI - iterating over attributes (finding prim patch area) https://aaronsmith.tv/1-Minute-VEX-XI

Using uniquevals() and findattribval() to find the area of a prim patch (by attrib id)

1 Minute VEX XII - gradient estimation from neighbours https://aaronsmith.tv/1-Minute-VEX-XII

Using neighbours() to find all adjacent points and calculate a gradient vector with custom weights.

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...
On 11/27/2020 at 6:49 PM, Sebastien Rousseau said:

Thanks man for that, for people like me trying to go deeper and deeper in vex knowledge, it's the perfect kind of tutorial format I'm looking for!

Thank you! It means a lot to me to hear feedback like that. If there are any topics you'd like me to explore as you go forward with learning VEX, feel free to suggest anything.

Link to comment
Share on other sites

  • 10 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...