Search found 5 matches
- Sat Aug 04, 2018 10:05 am
- Forum: Beginners Help
- Topic: How to project the window coordinate back to space
- Replies: 2
- Views: 643
How to project the window coordinate back to space
Hi everyone, I need to implement a function that dragging a selected object and move it follow the mouse movement. In other words, I just need to implement the move function similar to 3Ds max. Select one axis, then you can move the object along the axis. I can get the viewing matrix V, projection m...
- Sat Aug 04, 2018 9:57 am
- Forum: Beginners Help
- Topic: How to move an object based on a transformation matrix
- Replies: 3
- Views: 760
Re: How to move an object based on a transformation matrix
thanks, I think this would work for me.CuteAlien wrote:It's not the fastest solution as it adds additional transformations for the nodes, but you can use a addDummyTransformationSceneNode as parent of your node. And then set getRelativeTransformationMatrix () (which returns a reference) to your matrix.
- Fri Aug 03, 2018 1:29 am
- Forum: Beginners Help
- Topic: The right way to load the same objects thousands of times
- Replies: 3
- Views: 786
Re: The right way to load the same objects thousands of time
based on this post http://irrlicht.sourceforge.net/forum/viewtopic.php?f=1&t=37557&p=218333&hilit=memory+many+objects#p218333 I realized the irrlicht may stil not be able to deal with too many triangles, no matter they come from the same object or from different objects. So I tried to de...
- Fri Aug 03, 2018 12:26 am
- Forum: Beginners Help
- Topic: How to move an object based on a transformation matrix
- Replies: 3
- Views: 760
How to move an object based on a transformation matrix
Hi everyone, My current object requires me to transform one object with a given transformation matrix (4 by 4). Looks like there is no API for this function. Be more specific, what I want is given a transformation matrix A, I somehow get the current modelview matrix B, and set B = A*B to change its ...
- Fri Aug 03, 2018 12:20 am
- Forum: Beginners Help
- Topic: The right way to load the same objects thousands of times
- Replies: 3
- Views: 786
The right way to load the same objects thousands of times
Hi everyone, I have a question about how to avoid using up memory when loading the same mesh thousands of times. My current project requires to duplicate the selected objects thousands of times (>3600), the mesh is a .obj file with a .mtl texture, which are altogether 1MB. I duplicated this object b...