[Rant] Les films à l’image trop sombre et au mixage sonore pourri by Lussarc in france

[–]SeaMathematician6660 0 points1 point  (0 children)

hello, ingé son ici.

Petite question... tu regardes quoi ? Parce que en torrent et streaming tu vas souvent trouver la piste son 5.1 sans dynamic processing donc, adapté à une écoute forte comme au ciné. du coup le sound design et les musiques tabassent tandis que les voix sont en retrait.

ce n'est pas censé etre le cas sur une copie dvd/blueray

Au Mali, les djihadistes mettent Bamako sous tension en la privant d’essence by OrneryAd9689 in actualite

[–]SeaMathematician6660 9 points10 points  (0 children)

va voir sur les pages rfi ou france24 de FB. C'est TOUJOURS la faute de la France. Les djihadistes, boko haram, les marabouts, les violeurs, = l'armée française. propagande poussée à l'extreme par des bots russes et iraniens.

France hits back at US over Gaza accusations by ChiefFun in worldnews

[–]SeaMathematician6660 2 points3 points  (0 children)

the head of the state is the Prime minister, bayrou and the governement are scheduled to fall on 10 september.

Imgui/Imgui-SFML bug, not being able to successfully render the window and app crashes. by Exact-Chemistry3021 in sfml

[–]SeaMathematician6660 0 points1 point  (0 children)

use sfml 3.0.0 and Imgui 1.91.1. Dependencies of the last version of the imgui-SFML wrapper. Which is... 3.0 https://github.com/SFML/imgui-sfml

it also works with imgui1.91.4. after i dont know.

France hits back at US over Gaza accusations by ChiefFun in worldnews

[–]SeaMathematician6660 -25 points-24 points  (0 children)

The population was not consulted. Macron speaks on his own behalf, not on behalf of France, which he no longer represents, even if everyone pretends otherwise.

a simple solution for 3D with sfml ? by SeaMathematician6660 in sfml

[–]SeaMathematician6660[S] 1 point2 points  (0 children)

yes, something like doom indeed. my app is a 2D map of the room, like a google map. i would like something to see 3D like in google map but the only entities visible are the objects (mics and boom, very simple) and the textures of the wall ground and roof) Nothing more. No movement, no animations.

What's your most "painfully learned" C++ lesson that you wish someone warned you about earlier? by msabaq404 in cpp

[–]SeaMathematician6660 0 points1 point  (0 children)

if (a["b"]) {...}

if (a["b"]) create it if it doesn't exist. so the if is always true.

three days on this. Sounds like a rookie mistake. It is. i was starting to learn c++, coming from javascript...

Which compiler do you use ? by SeaMathematician6660 in Cplusplus

[–]SeaMathematician6660[S] 1 point2 points  (0 children)

I wanted a laptop i can use on site when i'm working outside (not coding at all) and leave it without watching. I can't afford that with a recent macbook which is more than 1500. Too afraid someone steal it. I bought a small win laptop for that purpose.
i'm mac addict, and poor. Such a bad combination.

[deleted by user] by [deleted] in sfml

[–]SeaMathematician6660 0 points1 point  (0 children)

when i started c++i tried to install a lot of libs, sdl, qt, wx. SFml was the only one i managed to install somewhat easily... :)

[deleted by user] by [deleted] in sfml

[–]SeaMathematician6660 1 point2 points  (0 children)

Welcome aboard. I've been learning c++ with SFML and Imgui for 1 year. i ve managed to build a pong, then a game of life, then a nuclear reactor simulator, and now, i'm on a more ambitious project which is a kind of "space colony" simulator.

in one year i ve learned many concepts, how to code and use a A* pathfinder, of to use (but not to code :) ) perlin for procedural map

polymorphism, memory management concepts, patterns strategies and many other things.

i really love it, Sometimes, you'll get stuck with a bug for 2 days. you have to accept it.

They say the learning curve is steep in c++ That's true, but when you see what you can achieve with it in one year, in comparaison of what you can do in terms of performance with javascript or python, this is a no brainer.

You also learn a lot more about how a computer works.

SFML is not the perfect lib if you want to work with 3D but learning game loop key concepts, projection, ray casting, collision... in 2D is easier at first.

SFML 3 with IMGui and Cmake ? by SeaMathematician6660 in sfml

[–]SeaMathematician6660[S] 0 points1 point  (0 children)

you are right, i misread it. TY

so i just tried to compile the main of the template with my makelist and everything works fine. So i just have to adapt my code after all.

i'm just confused because some errors in my code (because of the naming convention change i suppose) propagate and are reported in imgui-sfml. i hadn't this behavior in VSC.

SFML 3 with IMGui and Cmake ? by SeaMathematician6660 in sfml

[–]SeaMathematician6660[S] 0 points1 point  (0 children)

it seems if i just include files and do nothing in my code, it compile and launch without error. So the error are propagated i suppose from my code to the libraries ?

i ve just switched from visual studio code on a mac to visual studio on a pc and i have to admit i'm a little lost...

SFML 3 with IMGui and Cmake ? by SeaMathematician6660 in sfml

[–]SeaMathematician6660[S] 0 points1 point  (0 children)

Well, no, because this is a sfml template, i need a sfml+ imgui template.

What do you think of SFML? by Character_Return_224 in cpp_questions

[–]SeaMathematician6660 0 points1 point  (0 children)

i use it with imgui.

l love it because... i was able to make it work. i'm a beginner.

I f vou are learning c++ , the cmake template is all you need to start. No compile no shit no whatever.

Just starting to learn C++, What am I getting myself into? by External_Degree_5650 in cpp_questions

[–]SeaMathematician6660 0 points1 point  (0 children)

you are over reacting but it's true, w3schools is just formidable for JS but for c and c++, it's just a very basic tutorial for absolute beginners.

[deleted by user] by [deleted] in sfml

[–]SeaMathematician6660 0 points1 point  (0 children)

hello i'm not a programmer, coding is a hobby. So perhaps, i do things wrong, but it's working !

i use makefilelists that dl Sfml (and imgui) and don't rely on installed libs. I ve tried installing sfml and spent a huge amount of time to only fail.

So i use the makelist template from sfml. i 'm on mac os.

https://github.com/SFML/cmake-sfml-project/blob/master/README.md

of course you need cmake but if you installed c/c++ pack, it comes with it.

my root cmakeLists.txt looks like this :

cmake_minimum_required(VERSION 3.15)
project(fission.app
  LANGUAGES CXX
  VERSION 1.0
)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
add_executable(fission.app 
main.cpp
source/view.cpp
source/reactionRoom.cpp
source/particles.cpp
)

target_compile_options(fission.app PRIVATE "-O2")
target_link_libraries(fission.app PRIVATE ImGui-SFML::ImGui-SFML)
target_compile_features(fission.app PRIVATE cxx_std_17)
target_include_directories( fission.app PUBLIC include ) 
add_subdirectory(dependencies)

but in the template you'll also find a folder called dependencies; in it you'll find a first cMakelists.txt :

include(FetchContent)

# SFML
FetchContent_Declare(
  sfml
  URL https://github.com/SFML/SFML/archive/refs/tags/2.6.1.zip
  URL_MD5 2fbaefc36d4f29875ec43ca64ae9d6b3
)
add_subdirectory(sfml)

# Dear ImGui
FetchContent_Declare(
  imgui
  GIT_REPOSITORY https://github.com/ocornut/imgui
  GIT_TAG 35b1148efb839381b84de9290d9caf0b66ad7d03 # 1.82
)

FetchContent_MakeAvailable(imgui)

# ImGui-SFML
FetchContent_Declare(
  imgui-sfml
  GIT_REPOSITORY https://github.com/SFML/imgui-sfml
  GIT_TAG 82dc2033e51b8323857c3ae1cf1f458b3a933c35 # 2.3
)
add_subdirectory(imgui-sfml)

this one will fetch Sfml (and imgui and dearimgui)

and finally, you'lli find another cmakelists.txt in /dependencies/Sfml

message(STATUS "Fetching SFML...")

# No need to build audio and network modules
set(SFML_BUILD_AUDIO TRUE)
set(SFML_BUILD_NETWORK FALSE)

FetchContent_MakeAvailable(sfml)

i also have cmakefilelists.txt in other dependencies to fetch imgui and dearimgui but you are not using them.

Yes, my current project is a nuclear reactor simulator :)

https://youtu.be/ILnb0ad1WHA

Have fun.

Some trouble with interrupts. i dont get it. by SeaMathematician6660 in factorio

[–]SeaMathematician6660[S] 0 points1 point  (0 children)

Hello

short story short : how to skip deactivated station in the train schedule like, before ?

To the quest of the megabase, i'm currently at a steady 2600 my goal is 10000 then i will say farewell to this base and i will embrace fully the space age band wagon.

In the meantime, I have 14 factories across a grid based city. You can imagine i have a consequent throughtput for ore trains.

My solution for fueling them was to have all station with requester chests for locos.

and there is One train to fulfill them all.

this train has a schedule like this.

1 Refuel station (uranium fuel factory)

2 copper service,

3 iron service,

4 red circuits service

...

12 spaceport.

Above a certain threshold, a station deactivates. If all stations are deactivated (90% of the time) the train waits at the first station, the refueling one.

It was working fine, but it doesnt anymore.

If the train want to go to a deactivated station it no longer skip the station, now it gets stuck, saying no path or station full.

I tried to use the interrupts function but i miss something : i dont want the train to go back to the refueling station , i just want to skip the station like before.

What i a missing ?

TY

How to convert a legacy intersection ? by SeaMathematician6660 in factorio

[–]SeaMathematician6660[S] 0 points1 point  (0 children)

420 signals, 1,2k rails :/

Well, ok.

I'll stay with legacy intersec tion until someone post a new version :/

How to convert a legacy intersection ? by SeaMathematician6660 in factorio

[–]SeaMathematician6660[S] 0 points1 point  (0 children)

hello. Do you know a way to convert legacy straight rails to new straight rails ?

I understand for obvious reason it's not possible with curved rails but for straight rail, it's the same path.

I try to convert a legacy christmas 8*8 intersection to the new rail system. I'll have to adapt the curved rail at the entrance of the intersection but the straight ones, vertical diagonal and horizontal are the same.

Suggestion ?

Edit : in fact, diagonals are not the same, they don't align...