Jump to content

Write point attribute into texture directly with VEX


pcswoo

Recommended Posts

Hi, guys

I'm playing with Houdini and Unreal Engine 4 and I'm trying to bake each points position into texture.

https://docs.unrealengine.com/latest/INT/Engine/Animation/Tools/VertexAnimationTool/VAT_TL_Meshes/index.html

Basically, I want to transfer the maxscript that shown in above link into Houdini world.

I know there is several way to bake SOP data into texture, like using with texture bake node, or using with cop node like below link

but I'm wondering is there more direct way to do it via VEX?

Maybe using python with external python image library could be option but it may need too much work.

I found writepixel() VEX function in help, but I don't know how to use it.

Any suggestion or though will be appreciated.

Thanks!

Edited by pcswoo
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...