Search found 10 matches

by wajih.boukaram
Fri Nov 23, 2007 6:48 am
Forum: C++ Development
Topic: GLCanvas
Replies: 6
Views: 651

Hey
in case anyone has a similar issue, it seems this was caused by setting the near parameter for gluPerspective to be smaller than 1.

it works fine on ATI cards which is why I used it in the first place, but on other cards it gives that artifact.

Just thought I'd share.
by wajih.boukaram
Mon Nov 19, 2007 3:35 pm
Forum: C++ Development
Topic: GLCanvas
Replies: 6
Views: 651

hey

i pass the following attributes

Code: Select all

int attribs[] = {WX_GL_RGBA,
WX_GL_MIN_RED, 1, 
WX_GL_MIN_GREEN, 1, 
WX_GL_MIN_BLUE, 1, 
WX_GL_DEPTH_SIZE, 32,
WX_GL_DOUBLEBUFFER,
GL_NONE
};
by wajih.boukaram
Mon Nov 19, 2007 2:17 pm
Forum: C++ Development
Topic: GLCanvas
Replies: 6
Views: 651

Hi Auria thanks for replying :) I'm aware of this issue (especially when you want a wire frame overlay for your model) - i believe it's called stitching, and I know that you have to use polygon offset to solve it however, it doesn't solve it here - like i said, when i use glut , i don't have this pr...
by wajih.boukaram
Mon Nov 19, 2007 1:44 pm
Forum: C++ Development
Topic: GLCanvas
Replies: 6
Views: 651

GLCanvas

Hi I have an issue when using the gl canvas when I have culling enabled there's no problem, but when its disabled i get weird artifacts i have attached two images to show the problem when I use glut I don't have the problem. does anyone have any idea what the problem might be? thanks for your time. ...
by wajih.boukaram
Mon Aug 20, 2007 3:19 am
Forum: C++ Development
Topic: wxAUI size problem
Replies: 0
Views: 277

wxAUI size problem

Hi i recently decided to use wxAUI in my program and i'm having trouble moving from sizers to letting wxAUI handle things. basically i have four panels (which i use for four different wxGLcanvas objects) and when using sizers i simply have then grouped together under one 2x2 grid sizer with the wxEX...
by wajih.boukaram
Fri Mar 02, 2007 8:51 am
Forum: General Development
Topic: wxglcanvas texture issue
Replies: 2
Views: 476

thank you very much
that was what i was looking for - it's working well now
by wajih.boukaram
Thu Mar 01, 2007 10:17 pm
Forum: General Development
Topic: wxglcanvas texture issue
Replies: 2
Views: 476

wxglcanvas texture issue

hi i'm having a bit of trouble when displaying textures when using multiple wxglcanvases - i have four wxglcanvases in a wxgridsizer and they all work fine when just displaying simple shapes - but when i load and bind a texture to a polygon, only the last of the canvases has the texture loaded - all...
by wajih.boukaram
Thu Feb 15, 2007 12:47 pm
Forum: Compiler / Linking / IDE Related
Topic: how to use DLLs
Replies: 4
Views: 706

hi sorry for all the trouble i should have searched more thoroughly in the forum for the solution it turns out i didn't specify -DWXUSINGDLL in the commandline options i also didnt define __WXDEBUG__ in any case it's compiling a in less than a second now so i'm satisfied :) thanks to all those who a...
by wajih.boukaram
Thu Feb 15, 2007 10:37 am
Forum: Compiler / Linking / IDE Related
Topic: how to use DLLs
Replies: 4
Views: 706

hey thanks for the quick reply i tried using the libs that were generated with the dlls but i got maybe 14 linking errors concerning wxglcanvas i changed the setup.h to include the wxGLCanvas when building both static and dlls also when i use the static builds i dont get any errors so im kinda at a ...
by wajih.boukaram
Wed Feb 14, 2007 6:29 pm
Forum: Compiler / Linking / IDE Related
Topic: how to use DLLs
Replies: 4
Views: 706

how to use DLLs

hi I recently discovered wxWidgets and I'm in the middle of learning how to use it - but building a simple project takes like 20-25 seconds each time and it's starting to frustrate me. I have precompiled headers on so that helps quite a bit (it used to be like 40-45 seconds o.O) but there's till the...