Posts

Showing posts with the label top

using the replicator to preload a bunch of images

Use case - you need to preload a bunch of high-res images and then randomly load them into a movie-file-in TOP. (if you just load them straight from a Folder DAT, there might be some lag) Create your Folder DAT as usual, I like to connect a select DAT to this, to trim the irrelevant rows and columns. Make a CHOP thing that can be used to select a number, like a COUNT, call it "index" (we'll use it later) Make a Base Comp (call it something like "images") and inside this, create an IN DAT. Go back up a level and connect your Select DAT to the Base Comp. The Replicator creates a lot (depending on your folder) of nodes, so we use it to keep things tidy. Back inside "images", attach a null to the IN and label it "files" Create a Replicator comp (not attaching it to anything yet) drag over or type in "files" into the Template DAT Table field Create a MovieFileIN TOP, name it "file0" <-that's a zero In this MovieFileIn...

converting geometry to TOP to work with the 2022 Particle GPU

 To turn a SOP into a TOP (eg a 3d object into texture data) - First convert it into CHOPS, using a SOP TO. This will take each point's XYZ and convert it to RGB. Next convert CHOPS to TOP, using a CHOP TO. Specify the data format as RGB to incorporate all the data. This can now be used with the Particle GPU tool.