Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 15 Jan 2013
Offline Last Active Jan 31 2013 05:44 PM

Topics I've Started

Problem with compiling devil with Visual Studio 2010

29 January 2013 - 11:42 AM


   I am having the following errors while compiling devil with MS Visual Studio 2010 in my windows 7 machine.


  In Linker->Additional dependencies , I put the following:DevIL.lib;ILU.lib; ILUT.lib;

  I have added include and lib directories under VC++ directories.
 Then I put the dll files under System32 and SysWOW64 directories.
  I don't under what else can be the linking problem.
 Do I need to do anything else?

 I downloaded the following from the website: DevIL-SDK-x64-1.7.8




Generating Code...

1>main.obj : error LNK2019: unresolved external symbol__imp__ilutGLLoadImage@4 referenced in function "void __cdeclInitTextures(void)" (?InitTextures@@YAXXZ)

1>main.obj : error LNK2019: unresolved external symbol __imp__ilutRenderer@4 referenced in function _main

1>main.obj : error LNK2019: unresolved external symbol __imp__iluInit@0 referenced in function _main

1>main.obj : error LNK2019: unresolved external symbol __imp__ilInit@0 referenced in function _main

1>C:\Users\MYG741\Documents\Visual Studio 2010\Projects\Textures\Debug\Textures.exe : fatal error LNK1120: 4 unresolved


1>Build FAILED.

1>1>Time Elapsed 00:00:01.26

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========






Question on texture

25 January 2013 - 11:05 AM

I need  some help about extracting vertices from an image. I have extracted the boundaries of an image from adobe photoshop as shown in the figure. I pasted it on a XZ plane ABCD as texture. Now I need to extract vertices ( for example, v1, v2 etc.) of the boundaries at different positions. How could that be done. Could any one give me some suggestions? Can I convert the boundaries to a set of connected straight


Constructing surface from a set of contours

24 January 2013 - 02:19 PM

I have a number of contours which are oriented as shown in
the attached figure. I would like to construct surface from these set of
contours as defined by the red outline in the figure. Could any  one give me some suggestions? Thanks




A simple question on rotation

24 January 2013 - 01:32 PM

I need some clarification about glRotatef function. I have a rectangular plane with normal ax + by + cz = 0;
I would like to rotate it to align along (0, 1, 0) i.e. Y-axis.
I can find the in-between angle by dot product. Suppose the angle is theta in degree. Now how can I use glRotatef function to rotate the plane so that the new normal to the plane is along (0, 1, 0) vector; Is the following ok?
glRotatef( - theta, a, b, c);
If not, what will be the correct version?

A simple question on mathematics

22 January 2013 - 02:19 PM

I have one simple question. Figure 1 shows that if the line AB is extended, it somewhere intersects the rectangle at C. My question is how to find the intersection point C. I know the coordinates of A and B.