sea3d.min.js and sea3d.z.min.js

Messages
6th December 2016 - 07:38:49 AM
I don't think renaming to sea3d.z.min.js was a good idea.
At least for these reasons:
- all the SEA files I have don't work properly with the new "flipped Z" version
- the current 3DS Max exporter doesn't work properly with the new version
- all the scripts are looking for "sea3d.min.js", but you just rename it

So please roll back to "sea3d.min.js" and use "sea3d.z.min.js" for the new version.
cheers
6th December 2016 - 04:23:28 PM
Hi Remus.

The problem in LegacyZ that is wrong the Axis-Z relative at Three.JS, this was done while the Axis-X calcs were not resolved. In 3dsMax for example you need to rotate the model to fix, how the old projects were build on top of .Z version, but I think not need be to the future projects.

Another advantage is that there is no difference with the TJS version in position and rotation.
7th December 2016 - 07:26:04 AM
All the current SEA files cannot use the new "sea3d.min.js".
And that's because the "front" is switched with "back".
For example, model.lookAt(Vector3) gives wrong results with the new version.
Please roll back to the previous version.
The backwards compatibility is a must in any serious project.
On the top of that, almost no one is using TJS files.
cheers
7th December 2016 - 06:13:43 PM
> For example, model.lookAt(Vector3) gives wrong results with the new version.

I will check this.

> On the top of that, almost no one is using TJS files.

What I consider a mistake, mainly due to optimization issues. Anyone to use Open3DGC use TJS on top:
E.g: https://github.com/mrdoob/three.js/issues/9988

> The backwards compatibility is a must in any serious project.

Yes but too nobody can make good improvements without changing anything as none design is initially perfect that does not need change in future versions. To backwars compatibility I create sea3d.z
7th December 2016 - 07:57:35 PM
> And that's because the "front" is switched with "back".

And probably I will have to develop for a new version of TJS because of that.

Give me a few days I will update all this...
8th December 2016 - 07:37:58 AM
>> And that's because the "front" is switched with "back".
>> For example, model.lookAt(Vector3) gives wrong results with the new version.

I will check this.
Give me a few days I will update all this


If you fix this in the current "sea3d.min.js" it would be very good.
good luck
8th December 2016 - 05:30:44 PM
I will thinking as an alternative a TJS 2.0 based on .Z export by SEA3D Studio and leave the .Z again.

I remember that @lth alerted me about the model inverted but I thought it was about matrix transformation. :(
http://community.poonya.com/250?p=3
8th December 2016 - 05:39:12 PM
I will thinking as an alternative a TJS 2.0 based on .Z export by SEA3D Studio and leave the .Z again.


Probably the best solution.
All the SEA files I have work perfect with the previous 1.8.1
cheers
14th December 2016 - 01:08:29 AM
14th December 2016 - 09:50:20 AM
I didn't notice any issue with the latest "sea3d.min.js" file.
Well done!
14th December 2016 - 06:05:08 PM
Nice Remus!
Thanks for the tests!

Cheers

Help