Search found 12 matches

by watercolor
Tue Dec 07, 2010 4:00 pm
Forum: Beginners Help
Topic: Movable Button,EditBox etc
Replies: 1
Views: 279

Movable Button,EditBox etc

I want to create button, editbox which function like CGUIButton,CGUIEditBox, but I also want them can be moved along with camera like BillBoard. Any idea to achieve this? thanks a lot!
by watercolor
Wed Oct 20, 2010 7:50 pm
Forum: Beginners Help
Topic: Matrix tranformation
Replies: 1
Views: 275

Matrix tranformation

I have point O and 3 axis ox,oy,oz and I know the target O' and 3 axis - ox',oy',oz', how can I get the transform matrix from source->target? thanks.
by watercolor
Tue Oct 19, 2010 6:42 pm
Forum: Beginners Help
Topic: Can I dynamically change the position of vertices in mesh?
Replies: 7
Views: 1213

The code works when I create object by using MeshSceneNode instead of OctTreeSceneNode.
by watercolor
Tue Oct 19, 2010 3:07 pm
Forum: Beginners Help
Topic: Can I dynamically change the position of vertices in mesh?
Replies: 7
Views: 1213

Thanks a lot for all replys.

I wrote code below following your advice, however, the object doesn't resize as what I expect on screen. I call setDirty() for both mesh buffer and mesh. when debugging code, I found the mesh bounding box get changed and looks correct


scene::SMesh * mesh = (scene ...
by watercolor
Mon Oct 18, 2010 3:42 pm
Forum: Beginners Help
Topic: Can I dynamically change the position of vertices in mesh?
Replies: 7
Views: 1213

Can I dynamically change the position of vertices in mesh?

Is it feasible to change position of vertices in mesh buffer at run time? If answer is yes, I need to add setVertex(int i) in this class because there is only get Vertex functions in CMeshBuffer.cpp, right? thanks.
by watercolor
Fri Oct 01, 2010 6:44 pm
Forum: Beginners Help
Topic: Bounding Box
Replies: 2
Views: 778

Bounding Box

I want to get object-aligned bounding box for a scene node, for example, if I rotate a cube, I want bounding box rotate same way too,so it is not axis aligned anymore, how do I get this bounding box? thanks.
by watercolor
Mon Sep 27, 2010 6:52 pm
Forum: Beginners Help
Topic: 3D selection box
Replies: 6
Views: 1117

Thanks a lot, you code is very helpful. Do you have idea to draw selection box with 8 control points along the side of box?
by watercolor
Mon Sep 27, 2010 6:10 pm
Forum: Beginners Help
Topic: 3D selection box
Replies: 6
Views: 1117

Thanks for your quick reply.

I think it is a 3D box, not 2D rectangle on certain plane. I think most commercial 3D software has this feature, I don't know how to implement it now.
by watercolor
Mon Sep 27, 2010 6:07 pm
Forum: Beginners Help
Topic: 3D selection box
Replies: 6
Views: 1117

when I click or highlight a 3D object, I want to draw selection box with control point around bounding box of this 3D object, also this selection box can be resized when mouse drag this object, like CRectTracker in microsoft MFC
by watercolor
Mon Sep 27, 2010 5:50 pm
Forum: Beginners Help
Topic: 3D selection box
Replies: 6
Views: 1117

3D selection box

Does any body know how to draw 3D selection box? thanks.
by watercolor
Wed Jul 07, 2010 7:26 pm
Forum: Beginners Help
Topic: The size of object is locked when zooming
Replies: 1
Views: 296

The size of object is locked when zooming

I want to implement a zoom locked function: the size of object is being locked within a range like 10-100 pixels, so no matter how far you zoom in/out, the object size will not beyond this range.

Does anybody have idea about it? thanks a lot in advance!
by watercolor
Wed Mar 03, 2010 5:16 pm
Forum: Beginners Help
Topic: Maya camera with first person camera rotation
Replies: 1
Views: 427

Maya camera with first person camera rotation

I want to add first person camera kind of rotation to maya camera. for example, when I press a certain key, the camera will be rotated like first person camera. after this key is release and move mouse, the camera is back to maya camera rotation.

I am newbie for 3D engine development, and any idea ...