AWS Thinkbox Discussion Forums

Scripting Xmesh

I have a mesh that has changing topo per frame. I need to generate auto UV’s for each frame. (for texture baking)

Is there an easy way to script xMesh on a frame by frame basis so I can do this?

R

Just to be clear, I don’t need to know how to do any of the UV stuff - it’s just how to easily “remote control” xMesh on a frame by frame basis is what I am after.

I am currently going through the 4500 line save script to look for hints. :cry:

I tried inserting some code into your save script Bobo, but changing the UV’s each frame seems to generate a system exception.

Any ideas?

R

As a final reply to myself, I got this working by modifying the teapot vertexcolor example I found on your site. Thanks Google!

Sorry for not being able to reply myself, I was on vacation and just came back to faster internet locality. Still kind of away for a few more weeks, but I will be answering more questions.

Glad you found your answer!

Privacy | Site terms | Cookie preferences