Jump to content

houdini engine problem


Recommended Posts

I made the simplest tool - to transform a mesh to match it's uvs in world space. 
It's working great within houdini so I wanted to make it a tool for me within maya using houdini engine.

Sadly without luck, it seems so straightforward but I just get an empty shape there :/

I'm attaching the otl and hip file in the hope somebody can see a problem..

Thanks!!

Seb
 

problem.JPG

uvToMesh.hiplc

Sebastian_uvtomesh.hdalc

Link to comment
Share on other sites

please lock your file SOP so it caches the geometry in it and people here can work with the same geo as you use.

Anyway, when i plug a cube with uvs into it, nothing works. this is because UV by default is a vertex attrib in houdini. For your asset to work with the code you have in the wrangle right now, you need to have uvs as a point attrib (attrib promote)

(But vertex UVs are a lot better to work with).


Havent used maya in a while so i dont know what type of attrib UV is inside of maya

Link to comment
Share on other sites

Hello - thanks for the reply!

OK I've learnt you can inbed geo by locking the filenode :D I'll keep it in mind for next time.

After promoting the vertex to point it's also working in maya. I guess the file node in houdini imports uvs as a point attrib and that's how it was tricking me to believe my code was working :) 

Awesome! 

 

Link to comment
Share on other sites

yeah but keep in mind it makes your hip file bigger aswell if you lock nodes.

nope, the file node does not import uvs as point attrib (if the file comes from houdini, dont know about .obj from other software. guess it depends on their way of dealing with attrib types).

 

anyway glad to hear it works for you now

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...