-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation error in Boids with modern TD version #8
Comments
I think that error can be ignored for now, as long as you see output in Quoting from the wiki:
|
@drmbt are you sure you're able to bring the birds back by changing Cd to Color? I've resolved these errors and still no output. I'm on |
@mickeyvanolst yea that's what I'm observing too in 2023.11340. The MAT is compiling fine but I still don't see any birds. |
Also, for those who want to use a new FBX file, I had to go to def initBonesMatChannels(self):
self.BONES_MAT = op('BONES_MAT')
self.CAPT_PATH = op('CAPT_PATH')
self.CAPT_DATA = op('CAPT_DATA')
self.BONES_MAT.clear()
self.BONES_MAT.lock = True # <--- add this
for i in range(1, self.CAPT_PATH.numRows):
# rest of code omitted. Then it's ok to unlock |
thanks for taking a look @DBraun Yes seems like the latest TD has some quirks :-/ also the error indicated atm due to imageWrite/imageLoad seems to be something they just didn't fix yet, even though the code works. |
Hey, was a workaround ever found? I replaced all Cd occurrences in the code with Color but i'm still seeing zero boids |
I haven't checked recently. I see there are recent changes to https://github.com/satoruhiga/TouchDesigner-ShaderBuilder which was used to create a starting point for the MAT. Maybe some of the recent changes in the past ~2 years could fix it? |
I've updated Cd to Color and that fixes the material, but can't seem to figure out the issue with sop_to_gradient_sdf_voxels
ERROR: /project1/Boids/sop_to_gradient_sdf_voxels/phong1GLSLPixel:129: 'mTD2DImageOutputs' : undeclared identifier
any tips to get that working in current TD stable?
The text was updated successfully, but these errors were encountered: