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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dlaor

Pages: [1]
1
Graphics / Shape antialiasing
« on: May 18, 2011, 08:08:35 pm »
Quote from: "Laurent"
Quote
Anyway, I swear I restarted CMake and cleared the cache several times, but it kept giving me the error

Did you define the SFMLDIR variable again?
CMake is really easy, if you don't try to hack it or do silly things it should just work fine. All you have to do is define SFMLDIR and click "Configure", that's it ;)

That was exactly what I was doing :(

Quote from: "Laurent"

This one should be easier. You don't even have to recompile SFML.Net in fact, just replace the CSFML DLLs with the ones you recompiled.

I think that the method I'm using to compile the CSFML DLL's is faulty, because the DLL's get corrupt or something... the graphics DLL I compiled was only like 100 kb, and the one included with dotnet was like 1.1 MB... and it complains about not being able to find the DLL's even though they are right there, next to the EXE... I'll probably have to get CMake working the correct way to fix this.

Also, I just thought of something. Because the SFML.Git folder has a period in the name, would it be possible that that would create problems?

2
Graphics / Shape antialiasing
« on: May 18, 2011, 07:18:13 pm »
Quote from: "Laurent"
You can't link to DLL files. Manually filling the variables is not a good idea. Clear the cache, and restart from zero ;)

Oh, right, forgot about that  :D
Anyway, I swear I restarted CMake and cleared the cache several times, but it kept giving me the error, so I tried changing the variables manually again. This time using the .lib files, obviously. And now I finally have my CSFML libraries  :D

Now I'll try and see if I can get them to work with the dotnet binding.

3
Graphics / Shape antialiasing
« on: May 18, 2011, 07:01:53 pm »
Quote from: "Nexus"
Is "SFML.git" a directory? Did you click "Configure" again after adding the SFMLDIR entry?

Yes and yes. But I fixed the issues by enabling advanced mode and filling in some directories...

So now I finally have my project files, but this happens when I compile...
Code: [Select]
C:\sfmlSVN\SFML.git\lib\lib\Debug\sfml-window-d-2.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2D8
For every SFML dll.  :(

4
Graphics / Shape antialiasing
« on: May 18, 2011, 06:10:55 pm »
Huh, I changed it to SFMLDIR but I'm still getting the same errors...

5
Graphics / Shape antialiasing
« on: May 18, 2011, 03:31:32 pm »
Quote from: "Laurent"
FindSFML.cmake can't find SFML if it's not in a standard path, you must tell CMake where you compiled/installed it. I don't remember the name of the variable to create (should be SFMLDIR or SFML_DIR), but anyway look at the comments in FindSFML.cmake, everything is explained.

As you can see in the screenshot, I did add a "SFML_DIR" variable... or do you mean I actually need to edit the .cmake file and add the variable manually?

6
Graphics / Shape antialiasing
« on: May 18, 2011, 02:47:37 pm »
Quote from: "Laurent"
Sorry it wasn't 100% clear in my previous message, but of course you must start by recompiling SFML (C++) itself, before CSFML and SFML.Net ;)

Yeah, I understood that. I made some project files with CMake and compiled the project successfully... although, now I can't get CMake to make the project files for CSFML... do you know what I could be doing wrong?

I copied FindSFML.cmake to C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules, by the way.
(and ignore the folder name sfmlSVN, that was a folder from way back when SFML still used SVN)

7
Graphics / Shape antialiasing
« on: May 18, 2011, 01:44:20 pm »
Okay, thanks for all the help so far!  :D
I'll go try to compile the CSFML libraries now, I'll report back if something doesn't work!

8
Graphics / Shape antialiasing
« on: May 16, 2011, 06:00:03 pm »
Okay, one more problem. I'm using the dotnet bindings, so I can't change the C++ source. Do you know what .cs file I need to edit to change this in the dotnet binding of SFML to fix the problem? Or would I need to change and compile the C bindings (since SFML.NET uses them)?

9
Graphics / Shape antialiasing
« on: May 16, 2011, 04:33:18 pm »
Using the latest Git revision.

10
Graphics / Shape antialiasing
« on: May 15, 2011, 09:27:47 pm »
Hmm. Is there any way I can implement this myself? It is pretty much a requirement for the game I'm making, and I don't see any way around it.

11
Graphics / Shape antialiasing
« on: May 13, 2011, 05:30:10 pm »
Sorry for the double post, but I found out that drawing shapes directly to the screen makes them anti-aliased, but drawing them to a RenderImage and then drawing that one to the screen, it gets ugly edges and stuff. Is there any way around this? Drawing them directly to the screen is not an option, neither is using textures.

12
Graphics / Shape antialiasing
« on: May 12, 2011, 10:48:18 pm »
Hey, I have this problem too. I want to draw shapes like circles and lines and stuff, but without anti-aliasing, it looks pretty ugly. Using textures is not an option. I've checked window.GetSettings().AntialiasingLevel, and it outputs 4 every time, so it should work. I dunno if it matters, but I'm using SFML.NET 2.0. Any help would be appreciated!

13
DotNet / ATI Graphic Card Issue
« on: March 02, 2011, 07:10:39 pm »
Quote from: "Laurent"
You can try this:
http://www.sfml-dev.org/forum/viewtopic.php?p=27975#27975

Yeah, I found that link already, it fixed the problem  :D

14
DotNet / ATI Graphic Card Issue
« on: February 27, 2011, 06:35:11 pm »
So when is this issue going to be fixed? I'm participating in a game development competition and I wanted to choose SFML.NET as game engine... but it's freezing every time I want to test my game! Is there any way to get around this? If this doesn't get fixed soon I'm afraid I'm going to have to switch to another game engine  :cry:

15
Graphics / Ugly edges with smoothing enabled
« on: December 25, 2010, 11:34:06 pm »
I'm making my first game using SFML but I've been getting some bugs with sprites. The images get an ugly edge at the sides when smoothing is enabled. Here's a picture which demonstrates the problem.

As you can see, the ball on the left has an ugly white edge at the top and at the side. The one on the right is the desirable result.

I know that setting smooth to false fixes it, but I still want to have smooth graphics. How do I fix this? (using SFML 1.6)

Pages: [1]
anything