Glut co to za funkcja

1

Witam.
Jaką funkcją mogę zmienić ikonke programu pisanym w OpenGl z użyciem GLUTA ?

0

Którą ikonę...
Programu, czy okna ?
Poza tym, co to za różnica, czy pisane w GLUT, czy nie...
Jaki kompilator ?

0

VS 2008 i OpenGl
ikonke pliku *Exe jest taka brzydka czarna + ikonka okna programu na swoja

0

To jest pod WinApi a ja potrzebuję pod OpenGl

0

Nedase w OpenGL, w GLUT'cie też pewnie nie.

0

Mógłbyś dać kod + napisać gdzie umieścić tego Nedase ?

0
Ridge_from_gamedev.net/community/forums/topic.asp?topic_id=153917 napisał(a)

From the GLUT Win32 readme:

quote:
To customize the windows icon, you can use the resource name
GLUT_ICON. For example, create an icon named "glut.ico", and
create a file called glut.rc that contains the following:
GLUT_ICON ICON glut.ico
then compile the glut.rc file with the following:
rc /r glut
and link the resulting glut.res file into your executable
(just like you would an object file).
Alternatively, you can simply add the glut.rc file to your
project if you are using Microsoft Developer Studio.
0

wstawiam to w pliku RC ? > GLUT_ICON ICON glut.ico
i kompiluje ? tak ?

0

Przecież masz napisane... Tak, kompilujesz podanym poleceniem, a następnie linkujesz z projektem.

0

ref

0

Odpowie ktoś ? ;/

0

Skombinuj sobie jakiś program co potrafi zapisać dane w formacie Windows Icon 3.0. Myślę, że XnView albo GIMP potrafią.

1 użytkowników online, w tym zalogowanych: 0, gości: 1