Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Vertex properties  (Read 1681 times)

0 Members and 1 Guest are viewing this topic.

Karleon

  • Newbie
  • *
  • Posts: 18
    • View Profile
Vertex properties
« on: September 06, 2013, 03:04:54 pm »
Hello,

I'm using SFML 2.0. I am not an expert on openGL, so please correct me if I'm wrong.

As far as I know, there are multiple properties for vertex in openGL. From what I have seen, in SFML, only texture coords, position, and color are used.

I need to make use of some extra attribute in order to use it in a vertex shader.

From this tutorial I saw this list of attributes:
http://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/attributes.php

I would like to use the gl_normal, or gl_fogcoord, or just use my own attribute, but I see no way to set these attributes on vertex by using SFML.

Is there any way to modify these attributes or using custom attributes on vertexes using SFML?


Thanks,

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Vertex properties
« Reply #1 on: September 06, 2013, 03:22:57 pm »
Nop, sorry.
Laurent Gomila - SFML developer

Karleon

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Vertex properties
« Reply #2 on: September 06, 2013, 03:32:16 pm »
Will this be implemented in future version of SFML?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Vertex properties
« Reply #3 on: September 06, 2013, 06:17:15 pm »
Not in a near future.
Laurent Gomila - SFML developer

 

anything