Results 1 to 2 of 2

Thread: How to blure, sharpen and detect edges of a cube in openGL C++.

  1. #1
    Newbie Newbie
    Join Date
    Apr 2015
    Posts
    1

    How to blure, sharpen and detect edges of a cube in openGL C++.

    Hi,

    I have to create new program using OPENGL language, at this program I have to create cube and apply the blur , detect edges and sharpen in a simple way, just calling the functions.
    Also is possible to apply ray tracing on this cube ? and why?

    I really need the exact code for this program, because I have no Idea how it should done.

    Please help me as soon as possible.

    Thanks.

  2. #2
    Senior Member OpenGL Pro Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    1,214
    Quote Originally Posted by aimi_moon View Post
    I have to create new program using OPENGL language,...
    OpenGL is not a language, but an API.

    Quote Originally Posted by aimi_moon View Post
    ...at this program I have to create cube...
    Fairly simple. Just find some beginner's tutorial.

    Quote Originally Posted by aimi_moon View Post
    ...and apply the blur...
    More advanced topic. You could search for the solution on the net. Something like this might be useful.

    Quote Originally Posted by aimi_moon View Post
    ...detect edges...
    Another, totally independent topic.

    Quote Originally Posted by aimi_moon View Post
    ...and sharpen in a simple way...
    Yet another topic, unrelated to previous.

    It looks like you have a project at the university which is not quite simple. Especially since you have no idea what to do.
    Most of the topics are related to image processing. Maybe you could solve it easier on the CPU. Or using CUDA/OpenCL, if you prefer high parallelism and several orders of magnitude speed gain.
    Do you really need to do it using OpenGL (or to be more specific, the fragment shader)?

    Quote Originally Posted by aimi_moon View Post
    ...just calling the functions.
    Maybe you know something that I don't, but there are no functions that you could simple call to solve your problem.
    Such naive question points out that you are lost at the beginning. Or, maybe, you didn't explain your problem well.

    Quote Originally Posted by aimi_moon View Post
    Also is possible to apply ray tracing on this cube ?
    Yet another topic. Maybe more advanced than all before. Surf for "ray casting".

    Quote Originally Posted by aimi_moon View Post
    and why?
    Who knows. You asked for it. At the moment I don't see how it would help you in blurring, detecting edges and sharpening.

    Quote Originally Posted by aimi_moon View Post
    I really need the exact code for this program, because I have no Idea how it should done.
    Maybe you could find partial solutions for your problem, but it is up to you to fold the pieces.

Similar Threads

  1. How to rotate a cube on its own edges ?
    By imported_dirhem in forum OpenGL: General
    Replies: 2
    Last Post: 02-14-2011, 09:55 AM
  2. how to detect when OpenGL reaches the memory limit
    By jyoung77 in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 06-16-2008, 11:51 PM
  3. Detect openGL version on a multi-graphic board system
    By toxnico in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 11-24-2006, 05:25 PM
  4. Simple way to detect hardware rendering on OpenGL+SDL?
    By Aardappel in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 12-02-2003, 02:20 PM
  5. Games under win 9x can't detect opengl
    By dt9870 in forum OpenGL: User Software
    Replies: 2
    Last Post: 08-01-2001, 08:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean