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 - Meerjel01

Pages: [1] 2
1
I could've sworn that SFML couldn't do 3D?

2
General discussions / Re: Console for SFML Devs and players
« on: September 26, 2023, 07:23:12 pm »
I could but I want to adventure a bit with this. I wanna make an operative system that feels like it was for a console. Sorta like the Original Xbox OS/BIOS.

Also I always wanted to make an operative system for something like this.

3
General discussions / Re: Console for SFML Devs and players
« on: September 26, 2023, 01:41:55 pm »
Haha. I'm back here again.

Is it possible porting SFML to a Raspberry Pi with a custom OS? I wanna know cause I still want to make a game console out of it.

4
General discussions / Re: Console for SFML Devs and players
« on: June 13, 2023, 10:31:07 am »
How to manufacture a line of these SFML consoles for people all around to play with? I think it's to prove that it'll work?

Cause I have a plan to turn my Raspberry Pi into one of these consoles and showcase it to some company that'll accept it. Sure I need to learn how to make an operative system but I possibly can do that.

5
General discussions / Re: Console for SFML Devs and players
« on: June 04, 2023, 05:14:44 pm »
I thought about this some time ago, and even did some experiments. The idea was to use an x86 SBC as the hardware (something like an UDOO bolt or LattePanda) and run a minimal version of linux on it - for example with no desktop environement. x86 would be ideal as there would be no need for cross-compiler setup (although perhaps some wrangling of libraries to get a compatible development environment).

For software I created this as a working proof of concept: https://github.com/fallahn/osgc

It basically runs a front-end executable (written with SFML of course ;) ) that allows browsing games similarly to Kodi for videos or RetroArch for emulators.

Games themselves are then built as DLLs (or SOs as we're on linux) instead of executables. Then they can be copied to an SD card or the storage of the SBC so that the frontend can load the games at runtime.

With a bit of work and a 3D printed case, maybe it could be turned into a console-like device :D
That's just amazing! All I have is a Raspberry Pi 1 that I can't make a custom OS for.

6
General discussions / Re: Console for SFML Devs and players
« on: June 04, 2023, 09:32:45 am »
Yes I meant something like a NES but not as limited in graphics and such.

Let's say it's like an Xbox without any 3D features. A retro console that's easy to use and easy to work with. I would want it to be a reality no doubt.

7
General discussions / Re: Console for SFML Devs and players
« on: May 25, 2023, 09:15:38 pm »
By game console you mean hardware specifically suited for SFML or what does that mean exactly?
Yes that is it. A console that works with SFML better than any other.

8
General discussions / Console for SFML Devs and players
« on: May 25, 2023, 07:17:43 pm »
I had a crazy idea about making a game console dedicated to 2D/SFML games for awhile now. It should be made to handle SFML the best and be easy to develop for.

Just an idea I had. But I might try to make it a reality as well.

9
Graphics / Re: Textures Container
« on: April 25, 2023, 07:56:06 am »
Apparently  :)

10
Graphics / Textures Container
« on: April 24, 2023, 05:45:37 pm »
A theory:
I've done this with my Xbox homebrew engines that a class contains a list of textures which entities uses by linking a specific texture from the container to the entity's sprite. This way used textures don't get duplicated for a single entity.

Maybe it's already implemented in SFML but if not, here's an idea for you :)

11
Window / Re: Non-OpenGL 3D Rendering
« on: February 28, 2023, 05:05:57 pm »
SFML can draw triangles with texture, yes. You simply specify the texture co-ordinates in each vertex and pass the texture to the draw call.

Do note, though, that trying to do textures with perspective distortion is very tricky and is probably best to just leave it to OpenGL to do the 3D if you need that.

It should be noted that SFML does (can) use the hardware for graphics acceleration as it uses OpenGL. However, SFML completely ignores any depth values and is strictly 2D. Getting 3D effects out of a 2D graphics library is tricky but can be fun!
Though Mac doesn't have OpenGL anymore so I don't know if it works. But I haven't started yet so who knows? It might work!

12
Window / Re: Non-OpenGL 3D Rendering
« on: February 28, 2023, 02:33:26 pm »
Yes SFML isn't a 3D library and 3D takes a lot to make it work in an optimized way. Yes I can use this for practice since I did this on the original Xbox with a bit of success except for the engine crashing when loading. So using SFML for it can work for sure  ;)

But is there a way to get the SFML method to work with textures? Like accessing the 3D accelerator on the hardware? I'm using a Mac by the way.

13
Window / Re: Non-OpenGL 3D Rendering
« on: February 28, 2023, 01:41:24 pm »
If you want to use SFML graphics on that SFML window, you can use a vertex array (or vertex buffer), set its primitive type to sf::PrimitiveType::Triangles and then send all of the co-ordinates for each triangle to the vertex array. These must be in the order that you want them to be rendered.

If you want to use OpenGL on the SFML window, see this tutorial to get you started and then have a look at some OpenGL tutorials. I'm guessing you probably don't want to do this though as you could easily get OpenGL to do the 3D bit for you ;)
I actually wanted to make a custom renderer but if SFML works for this then very well! Doesn't it cost a lot of memory using the technique from the video to SFML? Especially when using textures?

14
Window / Non-OpenGL 3D Rendering
« on: February 15, 2023, 12:58:12 pm »
Hi. I would want to make a 3D library from scratch and use SFML to create the window. How do I do that? Is it possible?

I used this tutorial to learn 3D rendering and want to continue with it.
https://www.youtube.com/watch?v=ih20l3pJoeU&t

Thanks. Meerjel01

15
Graphics / Re: Simple 3D Graphics
« on: September 02, 2022, 03:48:30 pm »
There's this
http://archive.gamedev.net/archive/reference/articles/article872.html

Maybe the technique I asked for before was too much so I'll try out ray-casting again. I was making an edit of the Adventure3D ray-caster with multiple wall textures support once before. I'll give it a shot again as a start.

Pages: [1] 2
anything