larex Posted October 11, 2013 Report Share Posted October 11, 2013 Hi Eduard, we are working on some important project where we have plants growing and on some plants leaves and stams we want to generate particle flow drops which are appearing by scaling and the they move little bit. We have the plant animation exported by alembic bit biggest problem is the uvs of every subpart of plant (leaves stams..) are overlaping. Thats why particle flow drops are jumping from frame to frame to different positions. We had test where we export only trunk animation from growfx (so it was only one object with one animated uv) and it works nicely even if the polycount is changing every frame, because the uv on builded parts are not moving in uv space. So i would like to ask if there is some possibility to develop some uv operator which will pack all uvs on last frame (where the plant is in final grow stage so nothing new is adding) into on UV space so every leaf every new stam has its own space in that uv square Thanks a lot Alex Quote Link to comment Share on other sites More sharing options...
Eduard Posted October 11, 2013 Report Share Posted October 11, 2013 Hi Alex, To better understand, please send me a simple example which illustrates this problem, and show that you suggest... Thanks! Quote Link to comment Share on other sites More sharing options...
larex Posted October 11, 2013 Author Report Share Posted October 11, 2013 I am realy sorry but i cant send you a file, but what i need is this: http://postimg.org/image/5suozfps1/full/ What could solve also my problem but in more time consuming way for me is to have some possibility to show (then export (alembic)) the every mesh of every growfx spline independently. So then i can export trunk separatly, every branch separatly (not all in one) every leave separately etc. And then after export i can import all caches which build me whole plant and use all objects in pflow or thinking particles with my setup Quote Link to comment Share on other sites More sharing options...
Eduard Posted October 11, 2013 Report Share Posted October 11, 2013 Yes, now I understand your wish Thanks! Ok, we'll think how to implement it, but I can't promise success... But the second way is more easily for us, and we can implement it quickly... Cheers Quote Link to comment Share on other sites More sharing options...
larex Posted October 11, 2013 Author Report Share Posted October 11, 2013 Thank you very much :-) i would be rather for the first solution but also second one will helps me a lot. Please if you can implement somethink quickly it would be super cool. Maybe u can add also some script support for each object switching so i can script some global alembic export which can loop trough all parts and export them one by one. Thank you very much again :-) Quote Link to comment Share on other sites More sharing options...
Eduard Posted October 13, 2013 Report Share Posted October 13, 2013 Hi Alex, Ok, we'll try the first way... But I've a couple of questions: 1) Total UV space should be only for leaves, or for leaves and twigs, too? That is, need to determine the positions for all the mesh elements? 2) During growth, the leaves appear, then change their size and topology, how it should looks in the UV space? It will also appear and change? Thanks! Quote Link to comment Share on other sites More sharing options...
larex Posted October 13, 2013 Author Report Share Posted October 13, 2013 Hi Eduard 1 total UV space should be for all object in the last frame of animation, that means for all leaves, twigs etc...So at the begining of the grow animation the algoritm must know how many objects will be at the end of the animation and how big each of their UVs will be at the end, so it can count with all of them when they are placed and appeared in uv space 2 During growth UVs appearing like they are appearing now, but in their new non-owerlaping position defined in step one. So basicly animation of uvs will be same like it is now but it will be only moved and scaled in new position defined in step one. So for example if 100 leaves which we are instancing from 1 geometry leaf occupied same (overlaping )uvspace, then twigs, branches etc.. occupied also this UV square and overlap each other, after this algoritm all 100 leaves, twigs and branches, etc.. will have his own non overlaping animated UV in UV square like it was on image Quote Link to comment Share on other sites More sharing options...
Eduard Posted October 13, 2013 Report Share Posted October 13, 2013 Ok, now everything is clear! We'll try to develop this way... Thanks! Quote Link to comment Share on other sites More sharing options...
larex Posted October 13, 2013 Author Report Share Posted October 13, 2013 Thank you :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.