Search found 10 matches

by Hiroo
Wed Jan 07, 2015 9:32 pm
Forum: Beginners Help
Topic: RESOLVED: 2D geometry Libraries?
Replies: 5
Views: 689

Re: RESOLVED: 2D geometry Libraries?

And just like that. Works great with AGG. The great thing I discovered about AGG is that it is essentially .h and .cpp file that you pull into your code. No DLLs, libs, or other binary component. On the other hand, it appears not to be maintained recently as the last release was 8 years ago. Looks p...
by Hiroo
Tue Jan 06, 2015 3:36 am
Forum: Beginners Help
Topic: RESOLVED: 2D geometry Libraries?
Replies: 5
Views: 689

Re: 2D geometry Libraries?

Thank you. I think that make sense. I will give that a try.

Hiroo
by Hiroo
Mon Jan 05, 2015 6:32 am
Forum: Beginners Help
Topic: RESOLVED: 2D geometry Libraries?
Replies: 5
Views: 689

Re: 2D geometry Libraries?

Interesting suggestion. Indeed, AGG does seem like it may offer a very good promise. I also see that in 06.2DGraphics sample, the example demonstrates the use of draw2DImage() call that seems to do exactly what I need to overlay an in-memory RGBA image onto the rendering surface. If I can use AGG to...
by Hiroo
Sat Jan 03, 2015 4:18 am
Forum: Beginners Help
Topic: RESOLVED: 2D geometry Libraries?
Replies: 5
Views: 689

RESOLVED: 2D geometry Libraries?

Are there any recommended 2D shape drawing libraries? I have seen "MagicLibrary" in the forums but it appears to focus heavily on the sprite and effects rather than working with geometry. I am looking for efficient libraries that does things like weighed lines (wider than 1 pixel), pattern...
by Hiroo
Fri Jan 02, 2015 3:03 am
Forum: Beginners Help
Topic: FOV horizontal, vertical
Replies: 4
Views: 1393

Re: FOV horizontal, vertical

Based on my experiments, the camera FOV appears to be diagonal. See my recent post about horizon in 2D. There is a code snipped in there to get the H and V component of camera FOV as well.
by Hiroo
Fri Jan 02, 2015 3:01 am
Forum: Beginners Help
Topic: SOLVED? Where (in 2D) is the horizon?
Replies: 1
Views: 419

Re: SOLVED? Where (in 2D) is the horizon?

I think I got to a reasonable results. There are couple assumptions that were false. First, the screen is not equirectangular projection. It seems that the it takes more of a Lambert projection. So I can't simply apply linear displacement. Instead, I need to actually compute the distance from the ey...
by Hiroo
Tue Dec 30, 2014 9:42 pm
Forum: Beginners Help
Topic: SOLVED? Where (in 2D) is the horizon?
Replies: 1
Views: 419

SOLVED? Where (in 2D) is the horizon?

Now that I got the 3DoF camera motion figured out, I am onto the next challenge. Overlaying some 2D elements on top of the 3D depiction. Starting with something simple (or so I thought). Drawing a 2D line on the screen where the horizon should be in 3D. To do that, I wanted to start with where the &...
by Hiroo
Sun Dec 28, 2014 8:44 pm
Forum: Beginners Help
Topic: Camera controll yaw-pich-bank.
Replies: 3
Views: 635

SOLVED: Camera controll yaw-pich-bank.

I figured it out. As it turns out, I was pretty close. Just a matter of reading the header more deeply and thinking through the rational of things. One thing I needed to get through my thick skull was that "BindTargetAndRotation" on the camera meant the opposite of what I thought it meant....
by Hiroo
Sun Dec 28, 2014 5:28 pm
Forum: Beginners Help
Topic: Camera controll yaw-pich-bank.
Replies: 3
Views: 635

Re: Camera controll yaw-pich-bank.

Hmmm... Let me see if I understand the reply correctly. So what you are saying is that you control the direction the camera points at by moving the target and then roll the view using the quints math in the code above? That seems to match what I am observing since I am able to roll the camera but no...
by Hiroo
Sun Dec 28, 2014 7:12 am
Forum: Beginners Help
Topic: Camera controll yaw-pich-bank.
Replies: 3
Views: 635

Camera controll yaw-pich-bank.

I just started playing with Irrlicht a couple days ago. I took the "terrain" example and I am trying to manipulate the camera such that I can look around the terrain, look up and down, and tilt my head. First thing I did was to replace the FPS camera with SceneMode camera. Then, I found a ...