| Poster | : nirmalsinh | | Posts | : 11 | | Country | : india | | City | : gandhinagar |
| | | | Posted by nirmalsinh on 01/04/2008 at 06:36:27
| | Hi,
i want to move a lable kind of control in 3d space which will be attached with 3d modles and will show the updateed location information in it. for example imagine a car is moving in 3d space and a lable kind of control attached with this car moving with it and showing the current car's location or car's total distance covered. i just want to know if any control i.e lable can move in 3d space. or may be can we draw some text in 3 dimension (not in 2d i want it in 3d).
Thanks for any ideas. | |
|
|
| |
| |
| Poster | : Archenon | | Posts | : 428 | | Country | : Romania | | City | : Oradea |
| | | | Posted by Archenon on 04/04/2008 at 07:27:21
| | the Mesh class has a function FromText or FromString which builds a mesh from a string.
from here you can draw the mesh anywhere you wish. | |
|
|
| |
| |
| Poster | : nirmalsinh | | Posts | : 11 | | Country | : india | | City | : gandhinagar |
| | | | Posted by nirmalsinh on 24/04/2008 at 00:46:57
| | | Thanks for your suggesion but i want to achieve it using XNA technology and i dont find any method as suggested. have any idea how to do it using XNA. | |
|
|
| |
| |
| Poster | : riemer | | Posts | : 1392 | | Country | : Belgium | | City | : Antwerp |
| | | | Posted by riemer on 24/04/2008 at 12:58:47
| | Do you really need it in 3D? If your car example is what you want to get, you can try this:
- Find the 3D position of the Model
- Transform this 3D position to its 2D screen coordinate using the Viewport.Project method
- Render your text using the SpriteBatch.DrawText method to this screen coordinate
- for bonus points, you can scale down your text size according to the Z coordinate of your screen coordinate, as this contains the distance from your camera to your object. | |
|
|
| |
| |
| Poster | : nirmalsinh | | Posts | : 11 | | Country | : india | | City | : gandhinagar |
| | | | Posted by nirmalsinh on 28/04/2008 at 03:14:33
| | Thanks riemer.
i really appreciate it. this is what i was looking for.
Thank you again.....
:)
| |
|
|
| |
| |
| Poster | : Anonymous | | Posts | : | | Country | : | | City | : |
| | | | Posted by Anonymous on 27/07/2012 at 14:28:30
| | | I have a MSI MS-7071 mobo and a Intel Celeron 2.8GHz 1,5GB DDR400 and ATI 9550 256Mb and it's work excellent oeecclorkvdThe CPU is overclicked ~2.9GHzRAM max voltageand GPU Core=515MHz mem=265MHzand i play lot of games like crysis UnrealTournament 3 and others new gamesbtw F.E.A.R. 2 work perfect maxed out rez 1024 768 | |
|
|