mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-08 01:33:02 +00:00
primitive-based rendering of the Berger sphere (very poor)
This commit is contained in:
12
config.cpp
12
config.cpp
@@ -673,6 +673,8 @@ EX void initConfig() {
|
||||
addsaver(bright, "bright");
|
||||
addsaver(cblind, "cblind");
|
||||
|
||||
addsaver(berger_limit, "berger_limit");
|
||||
|
||||
addsaverenum(centering, "centering");
|
||||
|
||||
callhooks(hooks_configfile);
|
||||
@@ -1729,6 +1731,16 @@ EX void show3D() {
|
||||
});
|
||||
}
|
||||
|
||||
if(WDIM == 3 && sphere && stretch::factor) {
|
||||
dialog::addItem(XLAT("Berger sphere limit"), berger_limit);
|
||||
dialog::add_action([] () {
|
||||
dialog::editNumber(berger_limit, 0, 10, 1, 2, "",
|
||||
XLAT("Primitive-based rendering of Berger sphere is currently very slow and low quality. "
|
||||
"Here you can choose how many images to draw.")
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
#if CAP_RAY
|
||||
if(GDIM == 3) {
|
||||
dialog::addItem(XLAT("configure raycasting"), 'A');
|
||||
|
||||
Reference in New Issue
Block a user