Search found 79 matches
- Fri Mar 03, 2017 1:20 am
- Forum: Open Discussion and Dev Announcements
- Topic: A way to do safe portable asynchronous loading
- Replies: 2
- Views: 1517
Re: A way to do safe portable asynchronous loading
Oh! Yah. You're right. Storing an empty scene node till the data is available does seem pointless. Plus would need some sort of mutex on storage access or else limit it to a single asynchronous loader thread. By the way thanks for updating your git repo. I have been looking forward to browsing your ...
- Wed Mar 01, 2017 12:51 am
- Forum: Open Discussion and Dev Announcements
- Topic: A way to do safe portable asynchronous loading
- Replies: 2
- Views: 1517
A way to do safe portable asynchronous loading
I think this would be a safe way, with minimal modification, to use a list of functors and an openmp parallelized function to asynchronously load meshes. openmp is included in most compilers. we could test for availability and enable it. An asyncronus loading process could work like this. { smgr cre...
- Sat Jan 21, 2017 1:54 am
- Forum: Open Discussion and Dev Announcements
- Topic: How to tell if a mesh was animated this frame
- Replies: 10
- Views: 2766
Re: How to tell if a mesh was animated this frame
Sorry, I'll explain better. What I want to do is find the most efficient way to tell if a mesh's animation during the current frame has invalidated the meshes position in the render sequence. Then I will be able to adjust when it renders by moving it's position in the render que. The way it works in...
- Fri Jan 20, 2017 8:35 am
- Forum: Open Discussion and Dev Announcements
- Topic: How to tell if a mesh was animated this frame
- Replies: 10
- Views: 2766
Re: How to tell if a mesh was animated this frame
That could be useful for when I write an animation managing class. at the moment I was thinking more like detecting morphological changes or movement reletive to the active camera. I'm hoping to sort render order based the interrelation of the scene elements, and only change the sequence when animat...
- Wed Jan 18, 2017 1:34 am
- Forum: Open Discussion and Dev Announcements
- Topic: How to tell if a mesh was animated this frame
- Replies: 10
- Views: 2766
How to tell if a mesh was animated this frame
What would be the best way to tell if an animated mesh has moved or deformed since the last frame?
- Tue Jan 17, 2017 10:18 pm
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: (solved) Problem updating from irrlicht 1.7. Rotation?
To fix the rotations in the m2's animations I edited src/Viewer/CM2MeshFileLoader.cpp at line 608. This line assigns a joint's animation frame's rotation key to the joint. I changed rot->rotation=tempQ; to rot->rotation=tempQ.makeInverse(); this made the direction quaternion point the opposite w...
- Tue Jan 17, 2017 1:55 am
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: Problem updating from irrlicht 1.7. Rotation?
Success! I managed to invert my rotations as they are passed into the joints.
- Thu Dec 15, 2016 8:24 am
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: Problem updating from irrlicht 1.7. Rotation?
Here we go. Lets try this https://gitlab.com/Lumirion/M2Viewer/repository/archive.zip?ref=master . That link should download my working directory. I pulled most of the changes out of the irrlicht code and moved them into viewer.cpp. The only modifications remaining in Irrlicht are adding my cm2mesh ...
- Thu Dec 01, 2016 9:02 pm
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: Problem updating from irrlicht 1.7. Rotation?
Aww crap. Ok I'll find a better host and re-upload. I included irrlicht so that my cmake project works. I'm a little overly proud of it. Lol. The changes are minimal. Just a texture loader and support for cm2mesh type.
- Mon Nov 28, 2016 7:50 am
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: Problem updating from irrlicht 1.7. Rotation?
I have an example M2Viewer program and a sample mesh to load. It demonstrates the defective animation. It can be found at http://www24.zippyshare.com/v/u9oq4EGA/file.html . The M2Viewer also exhibits an incorrect submesh render order, so please ignore that. I included a copy of irrlicht 1.8.3 modifi...
- Wed Nov 16, 2016 12:56 am
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: Problem updating from irrlicht 1.7. Rotation?
Working on a minimal example, but I'm short on time. Doing fall yard work. I'll post it when I cut it down to size.
- Fri Sep 30, 2016 5:41 pm
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: Problem updating from irrlicht 1.7. Rotation?
It is still not working. The source code for the loader and mesh, prior to my attempts to fix them, can be viewed at https://github.com/shlainn/pseuwow/tree/master/src/Client/GUI in case anyone can see what's wrong. I know the mesh is based on an older version of skinned mesh. The files to look at a...
- Tue Sep 20, 2016 8:51 pm
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: Problem updating from irrlicht 1.7. Rotation?
Thank-you, I will try when I get home.
- Sun Sep 18, 2016 6:27 am
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: Problem updating from irrlicht 1.7. Rotation?
First I want to say thanks for helping. Ok, so following your tip about IRR_TEST_BROKEN_QUATERNION_USE, I set it to 1 and tried to recompile. Compile flagged the line core::matrix4 rotationMatrix = Joint->Animatedrotation.getMatrix; in my previously posted code with an error. how do I fix this? ...
- Fri Sep 16, 2016 8:36 pm
- Forum: Advanced Help
- Topic: (solved) Problem updating from irrlicht 1.7. Rotation?
- Replies: 20
- Views: 4514
Re: Problem updating from irrlicht 1.7. Rotation?
Oh, fixquaternion just switches from y up coordinates to z up, irrlicht, stile coordinates.