Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - phisn

Pages: [1]
1
Graphics / Re: Drawing a Grid
« on: May 15, 2019, 09:42:30 pm »
A important note, the spaces between the pluses in the example of the grid are important and the reason for this question. Without them the solution would be obvious.

2
Graphics / Drawing a Grid
« on: May 15, 2019, 08:34:09 pm »
In my project I need to have a "moveable" and "scaleable" grid. In the past I have implemented it using a Image create at runtime at initialization and used the "repeat - feature" from the texture class. But using a Image with scales and offsets results in strange behaviour and cuts flexibility.

How could I represent such a infinite structure with vertexes (preferably Vertexbuffer)?

[How the grid looks like]

+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +

Pages: [1]