Results 1 to 2 of 2

Thread: Create Vertex Array With No Input

  1. #1
    Junior Member
    Join Date
    Oct 2009

    Create Vertex Array With No Input

    Is it possible to have an OpenCL Kernel create a array of vertices from scratch (ie with no input)?


  2. #2
    Senior Member
    Join Date
    Jul 2009
    Northern Europe

    Re: Create Vertex Array With No Input

    Sure. You can create any data you want in an OpenCL kernel. Of course if your kernel has absolutely no input it would have to create the same data every time, but you might use OpenCL to generate a set of vertices based on a description. (E.g., pass in character pose data and a character map and have OpenCL generate the vertices of the posed character.) In general you can use OpenCL anywhere in your OpenGL rendering pipeline if CL/GL interaction is supported to do all sorts of cool stuff.

Similar Threads

  1. Replies: 3
    Last Post: 02-04-2012, 11:14 AM
  2. show texture with vertex array routine
    By jackhat25 in forum OpenGL ES
    Replies: 0
    Last Post: 03-26-2009, 06:45 AM

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