delemac , you re right again , it works , thanks for having the patience !
i modified it like this :
GLuint texture[1];
Texture treeTexture[1];
bool LoadTreeTextures()
{
if...
Type: Posts; User: Adrian B
delemac , you re right again , it works , thanks for having the patience !
i modified it like this :
GLuint texture[1];
Texture treeTexture[1];
bool LoadTreeTextures()
{
if...
hy delemac , thanks for having a look !
i also think that i m not bindig the texture correctly , but sadly it s not what you said...
here s how the var it s declaired :
GLuint texture;...
the next step is my new problem now... :(
i have a project where i imported some models that i made in 3ds max , in wich you can move with mouse + WASD , added lightning , a GLUI interface
i...
i succeded applying a skull texture to the flag , useing a .tga loader .
this is the texture function i use :
GLuint texture;
Texture treeTexture;
bool LoadTreeTextures()
thank you very much , mbentrup !!!
it s waving now :D
next i ll try to apply the texture , but the problem is that in nehe`s tutorial`s code it has a bmp loader that depends to glaux library ,...
can you please exemplify how should i do this ?
really....no one ???
or is the whole effect of waving coming from the texture ?
(maybe this is a stupid question... :) )
hello , i adapted the code from nehe`s lesson 11 , the waving flag. i started a new clean project and i figured the first step is to make the actual flag without texture . so i did that but the...
hello ,
there is something allready written , but it also uses the GLM library , which bassicaly draws your model from the .obj file and also applies the texture/material which you asigned to the...
i think i posted too much code . so i will try to rephrase the whole thread...
i want to have a waving flag in my first opengl app . i found nehe`s lesson 11 , which is exactly what i m looking...
hello , i m creating my first opengl application and i want to use the waving flag from nehe`s tutorial - lesson 11 .
the problem is that i want to integrate the code in my already existent...
yep , i realised it would be very difficult for me to convert that code ... maybe impossible :(
i`m currently searching for shadow mapping , but as i said in the previous post , i have a...
hey ,
i checked and i have ms vs08 fully installed , including C# support , but i can`t open any files from the project , the microsoft visual studio solution from that project says unrecognized...
thanks a lot ZbuffeR , by reducing the density to 0.0 made fog invisible , after that i set the density to 0.005 , which made the scene and also the fog visible.
but now the fog is through the...
thanks a lot , i`ll give it a shot , i`m really a beginner , hope i`ll manage to convert it to opengl
l.e. i can`t open that project with VS2008...what do i need to open the project ?
l.e.2...
just like the thread`s name says, i don`t understand why , but after i enable fog , my scene isn`t visible anymore , the only thing i see is dense grey fog ...
i use fog in my recently started...
hello ,
i`ve recently started my own opengl app , so far i`ve got some models , which i made in 3ds max , and i imported them using the GLM library into my opengl app. my models are a terrain , a...
hello ,
this is my first post here , i hope i ll get a clear answer , beacuse i ve searched a lot and didn t find the right solution ... so here it goes :
i started modelling with gmax last...