Archiv verlassen und diese Seite im Standarddesign anzeigen : Foobillard - harte Schatten
Hallo,
kann mir jemand einen Tip geben, wie ich weiche Schatten bekomme?
Mit Ati oder Nvidea das selbe, auch mit "./configure --enable-xxx".
http://www.computerbild.de/imgs/40551820_8505eb24a1.jpg
Ich hätte es gerne, wie bei der Version für Windows.
http://foobillard.sourceforge.net/
http://foobillard.sourceforge.net/snooker-big.jpg
bis dann,
Nando
Same here, stört ein wenig. Wäre nett wenn jemand einen Tipp hat.
MFG
bei mir siehts super aus habs aber mit glut kompiliert
Hallo,
bei mir funktioniert es auch kompiliert mit glut nicht.
./configure --enable-glut
Was hast du für eine Grafikkarte?
Kannst du deine /etc/X11/xorg.conf anhängen?
Hast du diese Source ohne Patches verwendet?
http://foobillard.sunsite.dk/dnl/foobillard-3.0a.tar.gz
bis dann,
Nando
jupp die 3a und als grafikkarte hab ich eine GF 7900 in einem 32bit system mit dem 169.09er treiber
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Philips"
ModelName "190S"
ModeLine "1280x1024_60" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
ModeLine "1024x768_60" 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
ModeLine "800x600_60" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
ModeLine "640x480_60" 54.00 640 688 744 900 480 240 241 250 +hsync +vsync doublescan
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "RenderAccel" "on"
Option "HWCursor" "on"
Option "CursorShadow" "off"
Option "NoLogo" "on"
Option "Coolbits" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024_60" "1024x768_60" "800x600_60" "640x480_60"
EndSubSection
EndSection
http://img218.imageshack.us/img218/1830/bildschirmfotoqc1.png
Hallo,
ich habe gerade mit meiner Ati X800 probiert. Leider keine Änderung.
Im Laufe des Tages probiere ich nochmal mit xorg und fglrx, bei Ati X800 und Nvidia 8600 GT.
Wenn es noch jemand mit Nvidia hinbekommen hat, oder noch besser jemand mit einer Ati, würde ich mich über ein Post freuen. :rolleyes:
bis dann,
Nando
Hallo,
@PUNX69
foobillard-3.0a.tar.gz kompiliert (glut aktiviert mit ./configure --enable-glut), bringt bei mir, mit deinen Einstellungen in xorg.conf, keine Änderung.
Suse 10.3, Nvidia 8600 GT, NVIDIA-Linux-x86-169.09-pkg1.run als Treiber
bis dann,
Nando
hast du bevor du es probiert hast deine config im home verzeichniss gelöscht?
annsonnsten liegt es wohl an deiner distri(was ich weniger glaube) oder daran das vllt noch irgendwas faul an der unterstützung deiner grafkkarte im derzeitigen treiber ist(dann kannst du einfach nur warten odeer es mit einem früheren probieren)
Hallo,
jetzt habe ich erstmal meine Abonnements eingerichtet. ;)
Ich bekam keine Email bei einer Antwort auf mein Thema.
Erstmal das Gute! :cool:
Mit wine läuft es ohne harte Schatten.
http://downloads.sourceforge.net/foobillard/foobillard-3.0-win32-2-bin.zip
wine foobillard.exe
Das war aber nicht mein Ziel. Ich wollte eine Möglichkeit finden, es mit dem Sourcen kompiliert, genauso ohne harte Schatten zum laufen zu bekommen.
Mein letzter Versuch war in der Richtung, die header Dateien des Nvidia-Treiber zu benutzen. Wie es aussieht, waren allerdings die richtigen unter /usr/include/GL.
http://foobillard.sunsite.dk/faq.html
...
Q: I have an NVIDIA Card but cant use the advanced features like bumpmapping
A: You need the proper header files for the NVIDIA-drivers. They should be lying somwhere on your system like:
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/
...
Installiert:
freetype2
libPNG
freeglut
freeglut-devel
sdl
sdl-devel
./configure --prefix=/usr --enable-nvidia=yes --enable-glut
@PUNX69
Ich hätte noch eine Bitte. :)
Könntest du mir deine Sourcen und deine Log vom Kompilieren per Email schicken?
Vielleicht bekomme ich dann heraus, wo ich weiter suchen muß.
bis dann,
Nando
sry hat leider ein weng länger gedauert
http://nopaste.debianforum.de/7585
Hallo,
auf in die letzte Rund. ;)
@PUNX69
Danke für die Log`s. Der Unterschied liegt wohl nur in den Fehlermeldungen, die bei dir nicht auftauchen. Ansonsten wird bei mir gawk benutzt, nicht mawk.
(Test mit Suse 10.3, Nvidia 8600 GT, --enable-nvidia=no/yes, --enable-glut/sdl)
-> bei dir
...
checking for gawk... no
checking for mawk... mawk
-> bei mir
...
checking for gawk... gawk
...
...
billard3d.c: In function ‘free_cuberef_tex’:
billard3d.c:4001: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
billard3d.c: In function ‘reassign_and_gen_cuberef_tex’:
billard3d.c:4024: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
billard3d.c: At top level:
billard3d.c:213: warning: ‘half_full_names’ defined but not used
billard3d.c: In function ‘reassign_and_gen_cuberef_tex’:
billard3d.c:4010: warning: ‘target’ may be used uninitialized in this function
billard3d.c: In function ‘DisplayFunc’:
billard3d.c:2919: warning: ‘eye_offs1’ may be used uninitialized in this function
billard3d.c:2906: warning: ‘eye_offs0’ may be used uninitialized in this function
...
ball.c:125: warning: pointer targets in initialization differ in signedness
ball.c:202: warning: pointer targets in initialization differ in signedness
ball.c: In function ‘ball_subdivide_nonrec’:
ball.c:499: warning: unused variable ‘rho’
ball.c: In function ‘draw_balls’:
ball.c:1581: warning: implicit declaration of function ‘glGenProgramsNV’
ball.c:1582: warning: implicit declaration of function ‘glBindProgramNV’
ball.c:1583: warning: implicit declaration of function ‘glLoadProgramNV’
ball.c:1583: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ball.c:1633: warning: implicit declaration of function ‘glActiveTextureARB’
ball.c:1796: warning: implicit declaration of function ‘glTrackMatrixNV’
ball.c:1800: warning: implicit declaration of function ‘glProgramParameter4fNV’
ball.c: At top level:
ball.c:58: warning: ‘fresnel_vert_prog_world_coord_str’ defined but not used
ball.c:215: warning: ‘col_null’ defined but not used
ball.c:264: warning: ‘in_array_old’ defined but not used
...
table.c: In function ‘create_table’:
table.c:1190: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
table.c:1192: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
table.c:1206: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
table.c:1208: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
table.c:1224: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
table.c:1226: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
table.c:1330: warning: implicit declaration of function ‘glActiveTextureARB’
table.c:1796: warning: unused variable ‘pass’
table.c:1156: warning: unused variable ‘s_gen_params’
table.c:1155: warning: unused variable ‘t_gen_params’
table.c:1128: warning: unused variable ‘cm’
table.c:1111: warning: unused variable ‘bumpcloth’
table.c:1108: warning: unused variable ‘bump_cloth_init’
...
queue.c: In function ‘delete_queue_texbind’:
queue.c:142: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
queue.c: In function ‘create_queue_texbind’:
queue.c:150: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
queue.c: In function ‘draw_queue’:
queue.c:194: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
...
aiplayer.c: In function ‘ai_get_stroke_dir_snooker’:
aiplayer.c:278: warning: ‘min_r_hit.z’ may be used uninitialized in this function
aiplayer.c:278: warning: ‘min_r_hit.y’ may be used uninitialized in this function
aiplayer.c:278: warning: ‘min_r_hit.x’ may be used uninitialized in this function
...
evaluate_move.c: In function ‘evaluate_last_move_snooker’:
evaluate_move.c:409: warning: enumeration value ‘SN_DONE’ not handled in switch
...
textobj.c: In function ‘create_string_quad’:
textobj.c:96: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
textobj.c:91: warning: unused variable ‘ny’
textobj.c:91: warning: unused variable ‘nx’
textobj.c:91: warning: unused variable ‘h2’
textobj.c:91: warning: unused variable ‘h1’
textobj.c:91: warning: unused variable ‘w2’
textobj.c:91: warning: unused variable ‘w1’
textobj.c: In function ‘textObj_toggle3D’:
textobj.c:204: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
textobj.c: In function ‘textObj_setText’:
textobj.c:227: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
textobj.c: In function ‘textObj_setHeight’:
textobj.c:271: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
textobj.c: In function ‘textObj_setFont’:
textobj.c:300: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
textobj.c: In function ‘textObj_delete’:
textobj.c:389: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness
...
font.c: In function ‘makeGLGeometryFT’:
font.c:443: warning: assignment from incompatible pointer type
font.c:444: warning: assignment from incompatible pointer type
font.c:445: warning: assignment from incompatible pointer type
font.c:446: warning: assignment from incompatible pointer type
font.c:374: warning: unused variable ‘v’
font.c:373: warning: unused variable ‘start_y’
font.c:373: warning: unused variable ‘start_x’
font.c:372: warning: unused variable ‘tobj’
font.c:370: warning: unused variable ‘j’
font.c:370: warning: unused variable ‘i’
font.c: In function ‘getStringGLListFT’:
font.c:530: warning: unused variable ‘h1’
font.c:530: warning: unused variable ‘w1’
font.c:530: warning: unused variable ‘h’
font.c:530: warning: unused variable ‘w’
font.c:530: warning: unused variable ‘i’
font.c:530: warning: unused variable ‘pen_y’
font.c:530: warning: unused variable ‘pen_x’
font.c: In function ‘makeGLGeometryFT’:
font.c:469: warning: ‘tdv_s’ is used uninitialized in this function
...
bumpref.c: In function ‘bumpref_create_cubemap’:
bumpref.c:62: warning: implicit declaration of function ‘glActiveTextureARB’
bumpref.c:65: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
bumpref.c:94: warning: dereferencing type-punned pointer will break strict-aliasing rules
bumpref.c:95: warning: dereferencing type-punned pointer will break strict-aliasing rules
bumpref.c:96: warning: dereferencing type-punned pointer will break strict-aliasing rules
bumpref.c:97: warning: dereferencing type-punned pointer will break strict-aliasing rules
bumpref.c:98: warning: dereferencing type-punned pointer will break strict-aliasing rules
bumpref.c:99: warning: dereferencing type-punned pointer will break strict-aliasing rules
bumpref.c: In function ‘bumpref_create_bumpmap’:
bumpref.c:284: warning: dereferencing type-punned pointer will break strict-aliasing rules
bumpref.c:286: warning: pointer targets in passing argument 3 of ‘bump2normal_HILO’ differ in signedness
bumpref.c:288: warning: pointer targets in passing argument 3 of ‘bump2normal’ differ in signedness
bumpref.c:291: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
bumpref.c: In function ‘bumpref_setup_vp_ts_rc’:
bumpref.c:426: warning: pointer targets in initialization differ in signedness
bumpref.c:435: warning: implicit declaration of function ‘glGenProgramsNV’
bumpref.c:436: warning: implicit declaration of function ‘glBindProgramNV’
bumpref.c:437: warning: implicit declaration of function ‘glLoadProgramNV’
bumpref.c:437: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
bumpref.c:445: warning: implicit declaration of function ‘glTrackMatrixNV’
bumpref.c:447: warning: implicit declaration of function ‘glProgramParameter4fNV’
bumpref.c:472: warning: implicit declaration of function ‘glCombinerParameteriNV’
bumpref.c:473: warning: implicit declaration of function ‘glCombinerOutputNV’
bumpref.c:503: warning: implicit declaration of function ‘glFinalCombinerInputNV’
bumpref.c:429: warning: unused variable ‘s_gen_params’
bumpref.c:428: warning: unused variable ‘t_gen_params’
bumpref.c: In function ‘bump_setup_vp_rc’:
bumpref.c:730: warning: pointer targets in initialization differ in signedness
bumpref.c:735: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
bumpref.c:830: warning: implicit declaration of function ‘glCombinerInputNV’
bumpref.c:650: warning: unused variable ‘const1’
bumpref.c:649: warning: unused variable ‘const0’
bumpref.c: In function ‘bump_set_diff’:
bumpref.c:1142: warning: implicit declaration of function ‘glCombinerParameterfvNV’
bumpref.c: In function ‘bumpref_create_cubemap’:
bumpref.c:57: warning: ‘target’ may be used uninitialized in this function
gcc -Wall `freetype-config --cflags` -DUSE_SOUND -g -O2 `freetype-config --libs` -lglut -o foobillard billard3d.o billmove.o billard.o vmath.o ball.o png_loader.o table.o queue.o aiplayer.o options.o evaluate_move.o helpscreen.o textobj.o font.o sys_stuff.o net_socket.o sound_stuff.o menu.o bumpref.o -lSM -lICE -lGL -lGLU -lXaw -lm -lXi -lpng -lz
make[2]: Leaving directory `/usr/local/src/foobillard-3.0a/src'
make[1]: Leaving directory `/usr/local/src/foobillard-3.0a/src'
Making all in data
make[1]: Entering directory `/usr/local/src/foobillard-3.0a/data'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Leaving directory `/usr/local/src/foobillard-3.0a/data'
make[1]: Entering directory `/usr/local/src/foobillard-3.0a'
make[1]: Für das Ziel »all-am« ist nichts zu tun.
make[1]: Leaving directory `/usr/local/src/foobillard-3.0a'
...
Vielleicht weiß jetzt jemand mehr. Hängt es mit den Treiber-libs?
http://foobillard.sunsite.dk/faq.html
Q: I have no NVIDIA Card but the compiler complains about some _NV functionts
A: Some standard gl.h files have all the extensions defined, which one can think of - even if the driver libs dont support them.
To disable NVIDIA features by hand do a:
...$ configure --enable-nvidia=no
before compiling.
Besser würde mir natürlich gefallen, wenn jemand z.B. sagt "Das ist ganz einfach. Du mußt nur /usr/lib/libGL* nach /usr/X11R6/lib/ kopieren.".
@PUNX69
Was sagt eigentlich bei dir "ls /usr/X11R6/lib/"? Bei mir ist es leer.
bis dann,
Nando
Hallo,
ich habe es probiert mit foobillard_3.0a.orig.tar.gz und dem Patch foobillard_3.0a-3.diff.gz von einer Debian Seite. Leider ohne Erfolg. :(
Danach habe ich nochmal probiert foobillard-3.0-win32-2-src.tar.bz2 unter Suse kompiliert zu bekommen, habe geschafft und weiche Schatten, also keine harten Schatten mehr. :) (Die Fehlermeldungen sind wohl zu vernachlässigen.)
Ich frage mich nur warum die Sourcen nicht für Linux irgendwo verfügbar sind (oder ich finde sie nicht).
bis dann,
Nando
P.s. ... schreibe am Wochenende ein kleines Howto. ;)
das ist schön ich hab heute zwei gf86er bekommen und nun plötzlich harte schatten scheint wohl doch an der grafikkarte zu liegen
Aber ATI und NVIDIA? :confused:
Das ist schon komisch. Naja, etwas älteres Spiel und Opensource, dass darf man auch nicht vergessen.
Also eher bedanken bei den Entwicklern ...
Ich hab ja das selbe Problem und das mit einer ATI Radeon HD 2600XT.
MFG
Hallo,
ich würde gerne einen Patch zu foobillard_3.0a.orig.tar.gz (zumindest für Suse sollte es funzen) erstellen und am Beitrag anhängen. Leider bekomme ich es nicht hin.
https://wiki.foresightlinux.org/display/DEV/HOWTO+create+patches?showComments=true&showCommentArea=true
diff -Naur foobillard_3.0a foobillard_3.0a_shadow > foobillard.diff
Die entstandene diff-Datei enthält zu viele Änderungen und ist zu groß.
Hat jemand einen Tip?
bis dann,
Nando
Hallo,
definiere zu viele Änderungen und zu groß. ;)
Was passt dir denn an der Ausgabe von diff nicht?
Gruß, Florian
Hallo Florian,
ich habe 2 Patches aus FooBillard-3.0a-3.src.rpm (13377 byte, 1061 byte) angewendet und anschließend noch ein paar Zeilen in src/* geändert ... OK, jetzt habe ich gesehen, dass einige Dateien wie *.orig zu viel waren.
Hier das Howto.
cd /usr/local/src
wget http://foobillard.sunsite.dk/dnl/foobillard-3.0a.tar.gz
tar -xzf foobillard-3.0a.tar.gz
-> foobillard_shadow.diff.tar.bz2 in Verzeichnis "/usr/local/src/foobillard-3.0a" kopieren
cd /usr/local/src/foobillard-3.0a
zcat foobillard_shadow.diff.tar.gz | patch -p1 --dry-run
-> wenn es geht ohne "--dry-run" (ignoriert Msg "patch unexpectedly ends in middle of line")
aclocal
automake
./configure --prefix=/usr
make
So geht es bei mir. ;)
bis dann,
Nando
ich empfehle in die kneipe zu gehen :)
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.