Forum
Contact





DirectX using C#
DirectX using C++
DirectX using Visual Basic



Latest Forum posts

 Tutorial 3 for Windows Phone 7
  Posted by: Anonymous
  When: 19/05/2013 at 11:27:50

 No download link for 2d series: shooter
  Posted by: zaboleq
  When: 07/05/2013 at 15:46:28

 Collision Class?
  Posted by: Anonymous
  When: 05/05/2013 at 19:03:59

 stack overflow
  Posted by: cityguy
  When: 07/04/2013 at 01:58:38

 Meshes looks strange.
  Posted by: ab_saratov
  When: 01/04/2013 at 04:31:08

 Lamppost Not loaded
  Posted by: Anonymous
  When: 22/03/2013 at 06:43:52

 Collision Class?
  Posted by: Da_Boom
  When: 21/03/2013 at 01:23:09

 Math boggles me
  Posted by: cityguy
  When: 17/03/2013 at 03:44:48

 Collision Class?
  Posted by: Da_Boom
  When: 16/03/2013 at 03:44:42

 Tree update
  Posted by: Anonymous
  When: 15/03/2013 at 21:11:22

 XNA 4.0
  Posted by: Anonymous
  When: 15/03/2013 at 19:43:57

 Error when I try to run.
  Posted by: Anonymous
  When: 15/03/2013 at 19:21:06

 Error With the Effect File
  Posted by: Anonymous
  When: 15/03/2013 at 18:21:01

 Can only get shadowmap
  Posted by: Anonymous
  When: 15/03/2013 at 15:48:52

 Vertex and Pixel Shader Versions?
  Posted by: Anonymous
  When: 15/03/2013 at 15:07:16

 Unsupported properties
  Posted by: Anonymous
  When: 15/03/2013 at 14:23:00

 Problem Loading Skybox
  Posted by: Rana
  When: 15/03/2013 at 10:34:45

 Black Screen Of Death - Help!
  Posted by: Anonymous
  When: 15/03/2013 at 03:43:43

 2.0 anyone?
  Posted by: Anonymous
  When: 15/03/2013 at 02:19:48

 Defitinition of tha rotation axis
  Posted by: Anonymous
  When: 15/03/2013 at 00:55:14




Topic: Moving a lable kind of control in 3d



  
Goto parent category
  
Create a new user account


   Moving a lable kind of control in 3d
 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

  
Post a new reply
 





Google
 
Web www.riemers.net
If you appreciate the amount of time I spend creating and updating
these pages, feel free to donate -- any amount is welcome !
- Website design & DirectX code : Riemer Grootjans -
©2006 Riemer Grootjans


News
Home
Forum
XNA 2.0 Recipes Book (8)
XNA 3.0 Recipes Book (8)
Downloads
Extra Reading (3)
Matrices: geometrical
Matrix Mathematics
Homogenous matrices
Community Projects (1)
Tutorials (160)
XNA 4.0 using C# (89)
DirectX using C# (54)
Series 1:Terrain (14)
Opening a window
Linking to the Device
Drawing a triangle
Camera
Rotation - Translation
Indices
Terrain creation
Terrain from file
DirectInput
Importing bmp files
Colored vertices
DirectX Light basics
Mesh creation
Mesh lighting
Series 2: Flightsim (19)
Series 3: HLSL (19)
Short Tuts (2)
Resizing problem
Checking Device caps
DirectX using C++ (15)
DirectX using VB (2)