Hi,
i started with OpenGL on PC using opentk. And it went well.
Now trying to do something on DS, is making me crazy!
How I get GL_FOG and GL_BLEND to work?
glEnable(GL_BLEND) / glEnable(GL_FOG) is doing nothing.
I thought its like on openTk .. just enable and lets go.
But nothing is happening.
Also some other features arent working like i was used to in openTK.
can anybody help?
Thank U ,
Thomas
VideoGL
Re: VideoGL
the ds does not support opengl. there is a pseudo gl-ish interface in libnds. the only demo I am aware of that touches on ds fog is the Volumetric Shadow Demo. you can find it if you search http://forum.gbadev.org/
-
- Posts: 34
- Joined: Tue May 11, 2010 2:29 am
Re: VideoGL
There's been an update, which includes the addition of glFog().
Announcement thread for the update (from 9/22/2010):
http://devkitpro.org/viewtopic.php?f=13&t=2222
Announcement thread for the update (from 9/22/2010):
http://devkitpro.org/viewtopic.php?f=13&t=2222
Re: VideoGL
Unreasonable expectation. Things arent the same as openTK. They are merely similar, to make you comfortable. There is no guarantee that anything will work exactly like you're used to, and in fact, it probably won't.TommyX wrote:Hi,
I thought its like on openTk .. just enable and lets go.
But nothing is happening.
Also some other features arent working like i was used to in openTK.
In this case, you have to configure a number of other parameters to make fog work. And, enabling GL_BLEND does nothing unless youve actually rendered something translucent, which you didnt tell us about--and thats got to be the case in openTK as well, so I am skeptical as to your overall comprehension of what youre doing.
Re: VideoGL
hmm i just started to do something on the DS. I know that the openGL for the DS is made just to make it comfortable
to make 3d graphics. So in opentk i loaded a models or even draw a simple cube.. and by simply enabling the GL_BLEND
with glEnable() -> it went translucent. Maybe transparency is only available for sprites. I don´t know.. like is said i´m new
at this..
to make 3d graphics. So in opentk i loaded a models or even draw a simple cube.. and by simply enabling the GL_BLEND
with glEnable() -> it went translucent. Maybe transparency is only available for sprites. I don´t know.. like is said i´m new
at this..
Who is online
Users browsing this forum: No registered users and 0 guests