# Could you please recommmend a book?

This topic is 1772 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Dear all,

I am trying to build a subsystem that controls the navigation/placement of objects (picking)

in the scene (what you call it). The whole system will be a modelling package for specific purposes.

Say when I drag on the toolbar of a certain type of object near ground zero,

it snaps to the ground, when I place it a little bit further, it snaps to the house etc

I need to grab a book that can help me out with this.

Basically I need one that is as simple as possible.

Thanks

Jack

##### Share on other sites

Your question is a bit too vague and poorly worded for specific suggestions. You are not likely to get responses because Google can answer this better than any member here can.

##### Share on other sites

You will need a knowledge of an entire multiture of things, but ordered by importancy:

1- linear algebra knowledge (finding triagnle intersection of a geometry in object space, moving to world spcace, AABS intersection by ray in world space,...)

2- geometry data understanding - (indexing verticies, examining triangle composed,...)

I do not know a book about linear algebra, but I would google for vector operations on wiki . Aligning an object onto a pointed triangle-surface will require you to master linear algebra quite much. You will have to fetch a normal unit vector and compute rotation transformation matrix to apply into snaped object world matrix upon this vector. A single offset of object would be simple increae of position in an axis direction, increasing it in surface direction would require to add vector normal to the surface to the position vector.

There are basic linear algebra termins I will write out for you to inspect and search more easily:

1- vector (n dimnension )

2- vector space

3- vector space basis vectors

4- transformation of vector

5- unit vector, vector length, scalar

6- operations with vectors: adding vectors, subtracting vectors, dot product of 2 vectors, cross product of 2 vectors, multiplying a vector by scalar, normalizing a vector, inverse vector, orthogonal vector, vector multiplication by matrix

7- transformations- matrix multiplication by matrix, inverse matrix, determinant, nxm matrix, transposing, adding matricies, subtracting matricies, orthogonal matrix, orthonormal matrix

• ### What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

(You must login to your GameDev.net account.)

• 19
• 15
• 10
• 9
• 11
• ### Forum Statistics

• Total Topics
634097
• Total Posts
3015510
×

## Important Information

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!