Jump to content

Search the Community

Showing results for tags 'strings'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering + Solaris!
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Name


Location


Interests

Found 2 results

  1. Hi, This is Nandan from SPin Vfx. I am working on Material Style sheets in Houdini 16.5. I want to add add subdivision groups under Render Polygon as Subdivision (Mantra) on the rendering geo. I see I can create a Render Property override on the geo in the style sheet and set it to one. To specify the groups for subdivision (which is also a render property on the geo) I wanted to write an inline script in cvex to return an array of string to fill the subdivision parameter. My question is: 1) Can that be possible? Can I return a string from cvex and populate the subdivision group parm on the geo using style sheets. I do not want to hard code it, I want to return it from cvex 2) Should I be returning an Array of Strings from the cvex funtion, if there is more than a single group. 3) Can I get any reference to working example? Any help will be much appreciated.
  2. Hi So basically I have a certain float value, lets say 3.68, and I want to get the digits before the comma (there are no functions that rounds to the lowest integer), so that I can later use that in some math operations. I know I can use split() to split to the point, and sprintf() to convert to string, but I cant get this last function to work, for example if I wrote float _x = sprintf("%g",3.68); But this gives me an error... Anyone knows how to convert to string and back to the original variable type? Thanks
×
×
  • Create New...