Tuesday, November 10, 2026

Tech Art - HW10


This code is a little bit longer than the last two, so I have to split up the screenshots.



We start off with creating our CSG object class. It contains the name, geo type, and the nodes that I use for the merge, transforms, and fonts. At the bottom it has a check to see if the object does have an object type, and if it does it sets it to 1 which is polygon. Which was how I made the sphere polygon instead of primitive.


Next we have our set up for "+", which creates a boolean set to the default union. It also sets up its own node tree. At the bottom it prints out what was combined.

I did similar set ups for the other operations.



Then we have our lovely little print.



And finally towards the end of the code we have the set up as well as the operations.











No comments:

Post a Comment

 Common Art - Bake This week, I did rigging. I will never claim to be the best at rigging, but I tried my best and attempted to make the rig...