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

Author Topic: Drawing textured shape?  (Read 4708 times)

0 Members and 1 Guest are viewing this topic.

Xeon06

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Drawing textured shape?
« on: February 05, 2011, 02:03:17 am »
Hey,

I think it would be great to be able to draw shapes with texture instead of just color in them.

Thanks.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Drawing textured shape?
« Reply #1 on: February 05, 2011, 09:27:57 am »
It's planned for SFML 2.
Laurent Gomila - SFML developer

Xeon06

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Drawing textured shape?
« Reply #2 on: February 05, 2011, 03:22:51 pm »
Cheers!

ActionBoy

  • Newbie
  • *
  • Posts: 36
    • View Profile
Drawing textured shape?
« Reply #3 on: February 05, 2011, 03:41:54 pm »
Excellent.

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Drawing textured shape?
« Reply #4 on: February 05, 2011, 05:10:40 pm »
Great :P

Maybe I'll be able to create "semi-destroyable" objects using shapes. ^^
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

WitchD0ctor

  • Full Member
  • ***
  • Posts: 100
    • View Profile
    • http://www.teleforce-blogspot.com
Drawing textured shape?
« Reply #5 on: May 18, 2011, 11:27:09 pm »
hey, is this possible yet?

I am able to create my enviroments out of shapes, but rather than plain color, i would like to use a texture, would this be possable with the shader class?

if so, what would i put for the gl_TexCoords?
John Carmack can Divide by zer0.

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
Drawing textured shape?
« Reply #6 on: May 19, 2011, 02:43:14 am »
Quote from: "WitchD0ctor"
hey, is this possible yet?

I am able to create my enviroments out of shapes, but rather than plain color, i would like to use a texture, would this be possable with the shader class?

if so, what would i put for the gl_TexCoords?
It's not possible yet. When he adds the feature, there will likely be a big announcement.
I use the latest build of SFML2

WitchD0ctor

  • Full Member
  • ***
  • Posts: 100
    • View Profile
    • http://www.teleforce-blogspot.com
Drawing textured shape?
« Reply #7 on: May 19, 2011, 09:03:49 am »
Ahh... that's disappointing
John Carmack can Divide by zer0.