new import formats

Re: new import formats

Postby ikam » Sunday, 20.July 2014, 09:59

fixed animations for chunks.
I'll see what I can do for pre-transform
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new import formats

Postby ikam » Sunday, 20.July 2014, 10:39

ok, I added a pre-transform skeleton matrix in ImportEx.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new import formats

Postby Skinnytorus » Sunday, 20.July 2014, 11:28

1) Great! I confirm it working with Chunks. Uber cool! :) There is one thing that's still unclear: AnimDifferent option. What does it do? Randomizes different anim sequences loaded with the mesh?
2) On second thought, a separate operator for skeletal pre-transforms would be cooler because with that we would be able to orient one mesh differently for different purposes (no additional imports = more efficiency). What do you think?
3) Animated meshes don't work with Debris yellow operator. Can you make it work?
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new import formats

Postby ikam » Sunday, 20.July 2014, 12:04

1/ it randomize animation time (start, speed...), try with my boxer model it is clear to see influence of this param.
2/ yes you're right. actually too slow because it reimport at each time.
3/ I look
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new import formats

Postby Skinnytorus » Sunday, 20.July 2014, 12:27

1/ OK. I see now. Thanks. :)
2/ Cool. I hope it's not too hard to transfer the code to a new operator.Shall we call it 'TransformRig'?
3/ Thanks, man. That will be a nice finishing touch for the assimp implementation. :)
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new import formats

Postby ikam » Sunday, 20.July 2014, 12:41

2/ easy, done
3/ animated instances is not supported, so it will need chunks, but for that it require to multiply skeleton in the same mesh at different poses (multiplied ones)... looks complicated and impredictable...
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new import formats

Postby Skinnytorus » Sunday, 20.July 2014, 13:02

2/ Many thanks! Working just fine! :)
3/ OK. Let's call it a day then. Assimp is there. Congratulations! Shall we go back to the new particles now?
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new import formats

Postby ikam » Sunday, 20.July 2014, 13:31

yea I'm glad i added new animated 3d files format, it 's been a while I wanted to do and assimp rocks
Yea next I will continue with physx (joints) and particles after this little interlude.

I just added a new option in setmaterial, to apply material to all clusters at once. It allow to affect a default material to mesh and preserving clusters (not like all option), it is very handy mainly I discovered than shadows for clustered mesh works only for mesh part where clusters had an assigned material.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new import formats

Postby Skinnytorus » Sunday, 20.July 2014, 13:43

Cool. I'll have a look. It seems it's not over yet. I imported a split mesh. It used to work in earlier versions just fine. Now there's something wrong with normals. Could you take a look?
You do not have the required permissions to view the files attached to this post.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new import formats

Postby Skinnytorus » Sunday, 20.July 2014, 13:47

OK. I'm calling back the troops! I should have used Chunks before exploding the mesh. :oops:
It works just fine :)
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new import formats

Postby ikam » Sunday, 20.July 2014, 13:54

it's a blender fracture mesh ?
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new import formats

Postby Skinnytorus » Sunday, 20.July 2014, 14:21

Yep. It's Blender. The mesh is split with the Cell Fracture addon. It allows to apply different materials to the inside and outside of the mesh. Exporting such mesh creates respective clusters. More than that - you can fully preserve integrity of the UVs of the initial mesh.

Edit:
I just added a new option in setmaterial, to apply material to all clusters at once.

A really useful feature. Many thanks for that! :)
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new import formats

Postby Skinnytorus » Sunday, 20.July 2014, 14:40

A little bug here: in AiTransformBone check Translate controls. They are confused and Y transform is not working! :(
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new import formats

Postby ikam » Sunday, 20.July 2014, 17:15

done
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new import formats

Postby Skinnytorus » Sunday, 20.July 2014, 17:59

Many thanks. :) I have noted one more thing: polarity of rot and trans in AiTransformBone don't coincide with those of regular Transform operators. All the Transforms should be uniform imho. What do you think?
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46


Return to Development and contribution



Who is online

Users browsing this forum: No registered users and 9 guests

cron