Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Making a shape with textures, how?
Print
Pages:
1
[
2
]
Author
Topic: Making a shape with textures, how? (Read 8066 times)
0 Members and 1 Guest are viewing this topic.
hayer
Jr. Member
Posts: 58
Making a shape with textures, how?
«
Reply #15 on:
April 04, 2011, 04:35:34 pm »
Well, yea - but had some problems getting C::B to understand that I was not using the static-lib anymore :oops:
Logged
hayer
Jr. Member
Posts: 58
Making a shape with textures, how?
«
Reply #16 on:
April 04, 2011, 04:55:43 pm »
This guy seems to be having the same problem as me
http://www.sfml-dev.org/forum-fr/viewtopic.php?p=32501&sid=82780daf2eb630dafe9e09770dbf99ec
but I don't speak French..
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Making a shape with textures, how?
«
Reply #17 on:
April 04, 2011, 05:14:34 pm »
There's no answer in this topic.
We just noticed that the problem was specific to Fedora (is this what you use?).
Logged
Laurent Gomila - SFML developer
hayer
Jr. Member
Posts: 58
Making a shape with textures, how?
«
Reply #18 on:
April 04, 2011, 05:23:45 pm »
No, I'm using Ubuntu 10.10 ...
Logged
hayer
Jr. Member
Posts: 58
Making a shape with textures, how?
«
Reply #19 on:
April 04, 2011, 05:37:29 pm »
Okey, recompiled it, got it working..
But now my app just crashes with the message "Segmentation fault"..
The source code is a bit huge, so I'll try to isolate it. But maybe it have something to do with all the sf::Shape s = sf::Shape::Circle that I'm using?
Logged
hayer
Jr. Member
Posts: 58
Making a shape with textures, how?
«
Reply #20 on:
April 04, 2011, 06:34:58 pm »
Okey, got a shader working, or at least in the WYSWIG editor.. What now?
How do I apply a shader to only one shape? or sprite?
Edit: Didn't see the Draw( sprite , shader ) when I read the src the first time, sorry.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Making a shape with textures, how?
«
Reply #21 on:
April 04, 2011, 07:18:30 pm »
So finally what was wrong with XRandr?
Logged
Laurent Gomila - SFML developer
hayer
Jr. Member
Posts: 58
Making a shape with textures, how?
«
Reply #22 on:
April 04, 2011, 08:09:48 pm »
I'm sorry, but I don't really know - just recompiled for the 4th time and it worked :?:
Logged
hayer
Jr. Member
Posts: 58
Making a shape with textures, how?
«
Reply #23 on:
April 10, 2011, 03:35:14 pm »
Okey, I've been toying around with shaders for a couple of days getting nowhere.. So now over to the next idea.
I was thinking some thing along texture splatting(For those not familar with the conecpt;
http://en.wikipedia.org/wiki/Texture_splatting
). Using texture splatting I would try to achive something like this;
I'll get back later today with some questions and maybe some tricks.
If any of you got tips for better performance with SFML + alphamap then please repley
Logged
Print
Pages:
1
[
2
]
SFML community forums
»
Help
»
Graphics
»
Making a shape with textures, how?