i have an issue with color markings for the attribute expressions. that concerns both hscript as python.
the problem is that in all tutorials they have the code marked with different colors like you would use the IDE inside of houdini. my code consists of white letter only.
(another problem related to this is that houdini doesn’t keep my values. for example 4.4 is 4.39000001 or 4.40000004 or something else - https://i.imgur.com/brYZHdT.png - i saw the same thing happened to the guy from the tutorial bu he hasn’t addressed it at all, beginner level tutorial)
There is syntax color highlighting, but it only works in the VEXpression parameter field (on the wrangle nodes: point wrangle, attribute wrangle, and volume wrangle) where you are expected to enter VEX, HScript, or Python code. I think it’s helpful to mention exactly which tutorials where you are seeing this, so people who are trying to help you can find an answer quicker. “In all tutorials” is rather vague, which costs time in figuring out things, so if you have a specific question, please include specific details if you can.
As for the display of numbers in Houdini, you are seeing the result of using floating point numbers. You are typing 4.4 but Houdini can only store that value as 4.39000001 or 4.40000004 due to how floating point numbers work on computers.
thanks for the help pomru. i was watching “Houdini - Introduction to FX using Houdini with Saber Jlassi” form CGSociety. on the very beginning of the week2 there is something like this (applied from the sphere node to the torus node):
thanks, but toggling only switches between the code and the output value, doesn’t change anything in the coloring department. but using your keywords i was able to find this: https://www.sidefx.com/forum/topic/9708/ (i will try my luck with it since all the script highlights are turned on in the preferences)
i also found and already installed this: http://houdinitricks.tumblr.com/post/133041608279/houdini-vex-editor (it’s not the same though as having those colors in the original fields already. i’m an absolute beginner in scripting/programming so that sort of stuff would help me a lot to not get lost even in the simple code)