tersyon

College Park, GA

adilyalcin.me

Age: 26

Programmer

May
13
awarded Yearling
Mar
25
awarded Popular Question
Dec
10
awarded Nice Answer
Apr
4
accepted Controlling multiple checkboxes dynamically in JQuery Mobile
Apr
4
comment Controlling multiple checkboxes dynamically in JQuery Mobile
Thank you sir! It was very simple indeed. Much appreciated:)
Apr
4
asked Controlling multiple checkboxes dynamically in JQuery Mobile
Oct
15
awarded Enlightened
Aug
26
awarded Necromancer
Sep
20
awarded Revival
Apr
19
awarded Student
Mar
7
accepted OpenCL type conversion from vector types to boolean
Mar
5
asked OpenCL type conversion from vector types to boolean
Jan
30
comment Shaders in place of GPGPU
Hi, you may want to check my library at openreng.sourceforge.net for examples on GP-GPU using OpenGL (Voronio computation using GPU, for example) and also how OpenCL can be integrated(There is another library inside called CLBind). There are sample (currently very simple) applications that you can test OpenCL (and OpenGL interoperability.) . You may find the source codes useful, or prefer to use the library itself (which is based on OpenGL 3.x)
Dec
13
comment CL_DEVICE_GLOBAL_MEM_SIZE returns wrong value
You can try creating memory objects to fill the limit. make sure each object is smaller than CL_DEVICE_MAX_MEM_ALLOC_SIZE. After you pass the memory limit, you are likely to get an out-of-resources error
Jul
21
comment How many users could run software that uses OpenGL 3.x?
If the version info received from OpenGL driver is 2.1 (or any other version), then I think it is safe to assume that the core functionality for that version is there. There won't be much problems unless you go into details or encounter some problems for a specific hardware. Even if so, it is the vendor's fault, not yours, and you can question if you really need to support your program for that hardware.
Jul
21
awarded Commentator
Jul
21
comment How many users could run software that uses OpenGL 3.x?
I agree that checking platform support on run-time is definitely required, but I do not agree that 2.1 is a good choice. The API just got a lot smaller in 3.0 without deprecated features, and I believe that understanding shaders and programmable pipeline is the way to go with learning the real 3D programming. The problem is just that not so much tutorials are available for the new pipelines, but it will not be so in a few years I hope.
Jun
24
comment Develop for OpenGL ES on the desktop
If you target OpenGL ES 2.0 and Desktop 3.0>, you can also try OpenREng ( openreng.sourceforge.net ). You just change the cmake opengl platform to mobile and related installed libraries are used. You can try PowerVR OpenGL ES 2.0 emulators, which use OpenGL 2.1 underneath (if I remember correctly)
Jun
1
comment OpenGL fast texture drawing with vertex buffer objects. Is this the way to do it?
You cannot mix glColor and like with vertex buffer based draw commands (glDrawElements and glDrawArrays basically). You should use glColorPointer, glVertexPointer and relatex methods do set pre-defined vertex semantics. If your texture coordinates are OK and if you still do not observe any texturing, check if texturing is enabled, and also lighting can affect the result. Once you can clearly see a texture tiled on your mesh, modifications will be easier.
Jun
1
comment OpenGL fast texture drawing with vertex buffer objects. Is this the way to do it?
Do you see your objects on where you want them to be? Is it only the in-correct texturing of your models? If you see your objects in the correct position, just keep in mind that texture coordinate values are just like vertex position values. Start with something easy (do not modify texture coordinates using glTranslate etc in texture matrix mode), then try to extend it to achieve what you finally want to see.
1 2 3