APEX for Foliage Generation
4478 14 8- FeikePostmes
- Member
- 2 posts
- Joined: June 2016
- Offline
Hey there! Here is a little background on this project:
I used to work on Project Pegasus, where I worked on foliage tooling with George and Tilman. At that time we thought about using APEX for the foliage tooling, but decided not to look into it. Now that I have some free time, I have immersed myself in the world of APEX and I absolutely love it!
For those who are not familiar with APEX (as I was and probably still am), APEX stands for 'All-Purpose EXecution'. What you can do with it is vaguely similar to PDG in that you can design the operation you want to be done in advance. This is where the delayed evaluation of APEX comes into play, which is currently best documented for APEX rigging. When we talk about an operation here, you can imagine that a polyextrude is an operation as well as using a merge SOP. I have not touched the rigging side yet. I think APEX is capable of much more and can be used in many other areas, for example foliage generation!
Above you can see how these nodes generate an APEX nodegraph
Here you can see how the APEX graph looks like after it goes into the "solver" and the final operations get appended
A bit more context: 1 node adds 1 operation to the APEX graph
Edited by FeikePostmes - Jan. 8, 2024 11:18:22
- Jorge Ivanovich2
- Member
- 14 posts
- Joined: Aug. 2015
- Offline
- GeorgeHulm
- Member
- 27 posts
- Joined: Nov. 2017
- Online
- alex_sidefx
- Staff
- 5 posts
- Joined: May 2024
- Offline
- FaitelTech
- Member
- 105 posts
- Joined: July 2019
- Offline
- GeorgeHulm
- Member
- 27 posts
- Joined: Nov. 2017
- Online
- Zoran_Arizanovic_BUAS
- Member
- 21 posts
- Joined: Sept. 2021
- Offline
- GeorgeHulm
- Member
- 27 posts
- Joined: Nov. 2017
- Online
Given the interest, I thought i'd share a glimpse of some apex utilities we have, which may give some insight into how we are working with it. In this video I demonstrate the auto-apex-from-sops node and apex-swap-inplace which are two utilities that allow us to work more quickly with Apex for our use-case.
- FaitelTech
- Member
- 105 posts
- Joined: July 2019
- Offline
- GeorgeHulm
- Member
- 27 posts
- Joined: Nov. 2017
- Online
We're still discovering all the tools/utilities made by sidefx to work with apex. For example, I made the auto-apex-from-sops before discovering that the invokegraph natively can already do the conversion. Buuut, it is useful to have a version which performs the conversion dynamically instead of on demand.
Also I think with apexscript, a lot these utilities would be pretty quick and easy, but since the documentation is still WIP, we're leaning more on vex and sops based approaches in our tools.
Also I think with apexscript, a lot these utilities would be pretty quick and easy, but since the documentation is still WIP, we're leaning more on vex and sops based approaches in our tools.
- GeorgeHulm
- Member
- 27 posts
- Joined: Nov. 2017
- Online
We're very much over the hump with Apex. Thanks to the kind folks at Sidefx that steered us in the right direction. We're seeing some very exciting results now and the advantages of working Apex are becoming clearer by the day!
The Speed, control and flexibility are all very impressive and in our case there are some exciting benefits that we'll be sharing as we get closer to showing off more of our work.
In the meantime here's an early preview of our apex "solver" in action. It's still missing important features, but the core framework is nearly there.
The Speed, control and flexibility are all very impressive and in our case there are some exciting benefits that we'll be sharing as we get closer to showing off more of our work.
In the meantime here's an early preview of our apex "solver" in action. It's still missing important features, but the core framework is nearly there.
Edited by GeorgeHulm - July 29, 2024 06:14:18
- FeikePostmes
- Member
- 2 posts
- Joined: June 2016
- Offline
- FaitelTech
- Member
- 105 posts
- Joined: July 2019
- Offline
- GeorgeHulm
- Member
- 27 posts
- Joined: Nov. 2017
- Online
- Kareeem
- Member
- 64 posts
- Joined: Oct. 2021
- Offline
-
- Quick Links