XNA Creators Club Online
foros de la comunidad

Search Forums

Page 1 of 2 (15 items) 1 2 Next >
  • Re: Orienting Objects Along a Line in 3D Space

    Atan2 works great for 2D but the question is in 3D. 3D requires up to 3 angles to be computed. I have handled this a couple different ways depending on my needs at the time. The 'simplest' is to use Atan2 but you need to calculate two angles (One along the horizontal 'ground' plane, and one along the vertical) So, ...
    Posted to Game Algorithms (Forum) by Kamilyon on 31/07/2009
  • Re: Suggestions How To Render Hexagon Grid

    forgot to mention. I found the biggest challenge in creating a hexagonal grid system was knowing what position to put ech hex-cell There are several articles around the web that address it, depending on your specific needs. Or if you have a nack for trig. you will be able to figure it out yourself (which is a nice exercise) Failing that ...
    Posted to Game Algorithms (Forum) by Kamilyon on 08/06/2009
  • Re: Suggestions How To Render Hexagon Grid

    I have done it a couple different ways depending on my need at the time. If you want to control each hex-cell's texture independently then using the instancing approach is one of the better: Create 1 mesh/model of the hex you want. Then looping thru your grid array, render the mesh with its new position and/or texture. This is ...
    Posted to Game Algorithms (Forum) by Kamilyon on 08/06/2009
  • Re: Perspective and Ortho Projections. Use them together?

    [quote user="jwatte"]It's easier to just add an additional scale to the transform for the gizmo, where that scale is proportional to the distance from the camera. ScaleFactor = Vector3.Dot((GizmoCenter - CameraCenter), CameraForward) * Q; "Q" determines how big the gizmo actually becomes on the ...
    Posted to Game Algorithms (Forum) by Kamilyon on 22/05/2009
  • Perspective and Ortho Projections. Use them together?

    I have a scene being rendered in using a Perspective Projection transformation (along with the usual View and World matrices) I have a special 'gizmo' type model  that I want to render at a specific world position but scaled such that it maintains the same apparent size no matter where in the world it is. (basicaly its a 3D HUD ...
    Posted to Game Algorithms (Forum) by Kamilyon on 21/05/2009
  • Re: Problems with texturing in XNA 2.0

    couple of things may cause this -Bad/wrong Texture Coordinates *mostly likely cause is here* -Clamping mode in the shader (not sure what the basic effect shader in xna uses) cheers
    Posted to XNA Framework Content Pipeline (Forum) by Kamilyon on 25/03/2009
  • Re: Models with Textures references

    Thats what I figured. I was really hoping for a config option to "Ignore missing Assets" (hint hint... ;) ) Thanks Shawn. Cheers
    Posted to XNA Framework Content Pipeline (Forum) by Kamilyon on 25/03/2009
  • Re: How old are you, and when did you begin programming?

    [quote user="BlogusMaximus"][quote user="Bapa"] How old were you when you began. How old are you now. What language did you start with, and what language(s) are you using now? [/quote] started at 11 and I'm currently 39. First language was BASIC on a mainframe at University of VA (summer camp), followed by TRS-80 ...
    Posted to General (Forum) by Kamilyon on 24/03/2009
  • Re: How old are you, and when did you begin programming?

    I started programming "Hello World" style programs at about 7-8 years old on Apple 2C, Commodore Vic 20s, TRS80 type computers :P which were 'state of the art' at the time.... Pretty sure they all used one form of Basic or another. go go Cassettes for data storage, lol I have used c++, pascal, modula2, scheme, prolog, ...
    Posted to General (Forum) by Kamilyon on 24/03/2009
  • Models with Textures references

    Sorry if this has been asked/answered already, I did a quick search but didn't see what I was looking for. Is there a way to tell the Content Pipeline to ignore missing assets (textures etc...) when processing a model file? I have many models from  a previous project (non-xna) that were orginally saved with texture ...
    Posted to XNA Framework Content Pipeline (Forum) by Kamilyon on 24/03/2009
Page 1 of 2 (15 items) 1 2 Next >