Q: How to debug parameters in shaders

   1423   0   1
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Hi
See attachment: The parameter in “obj/geo1/param1” is set to “Export: Always”. “myParameter” shows up in the Geometry Spreadsheet as expected.
Is there a similar way to get read outs of parameters added to vop materials. Like in “obj/shopnet1/vopmaterial1/param1”?
Or is there other ways to debug parameters in shaders?

I tried to add an “Inline Code” node in the material (“obj/shopnet1/vopmaterial1”) and adding a printf() statement in the “Inline Vex Code” section, but it doesn't seem to work in osx even if i start from the command line.
The “Print” node doesn't seem to work either.

Any help appreciated.

-b

Edit: Forgot to check “Output Text To Console” in the print node but it does't change anything.

Attachments:
debug_vop.hipnc (84.5 KB)

http://www.racecar.no [www.racecar.no]
  • Quick Links