Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (528)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (594)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Xith3D Forums / Re: how to set scene background color ? on: 2003-12-01 17:27:03
Thanks, so I can stop to try and to look and to try and ...  Wink

ciao,
 Thomas
2  Java Game APIs & Engines / Xith3D Forums / how to set scene background color ? on: 2003-12-01 17:07:52
how is ist possible to set the background color for the scene ?

I tried :
----------------------------
     RenderPeer rp = new RenderPeerImpl();
     CanvasPeer cp = rp.makeCanvas(null, 800, 800, 24, false);
     Canvas3D canvas = new Canvas3D();
     canvas.setBackground(Color.BLUE);
     canvas.set3DPeer(cp);
-----------------------------

and / or

------------------------------
     Background bg = new Background(new Color3f(1f,0f,0f));
     scene.addChild(bg);
------------------------------

but nothing works   Huh

OK, I can put a sky box around, but this is a little oversized
for this little problem...

What's the way ? What's wrong ? Any tips ?

thanks in advance Grin ,
  Thomas
3  Java Game APIs & Engines / Xith3D Forums / Re: Simple sphere shapes ? on: 2003-11-28 19:04:44
Cheesy Many thanks, that works.

byebye
 Thomas

(Maybe a collection of standard shapes in xith where great ?)

4  Java Game APIs & Engines / Xith3D Forums / Simple sphere shapes ? on: 2003-11-27 18:06:02
How can I draw a simple sphere with xith ?

Did I overlook something ?

thanks for any tips,
 Thomas
5  Java Game APIs & Engines / JOGL Development / Re: jogl-Demos: Error making context current !!! on: 2003-10-15 08:31:12
Thanks, right tip.

24-Bits are working....

many thanks,
 Thomas
6  Java Game APIs & Engines / JOGL Development / Re: XFree86 4.3 + nvidia + vertexPointer on: 2003-10-15 08:14:40
Hi,

DRI is uses by MesaGL,
check for old symbolic links from libGL to libMesa (I think...)

Have a look at the README for the NVIDIA-Driver, this was discussed
there (I think...)

My nvidia-driver has no problems with glgears.

byebye,
 Thomas
7  Java Game APIs & Engines / JOGL Development / jogl-Demos: Error making context current !!! on: 2003-10-15 08:08:16
Hi,

I have a problem starting the jogl-demos:

Exception when staring demos.gears.Gears (and the other demos....):
----------------------------------------------------------------
CANVAS GL IS: net.java.games.jogl.impl.x11.X11GLImpl
CANVAS GLU IS: net.java.games.jogl.impl.GLUImpl
net.java.games.jogl.GLException: Error making context current
       at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:141)
       at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:111)
       at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:162)
       at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:182)
       at net.java.games.jogl.GLCanvas.display(GLCanvas.java:82)
       at net.java.games.jogl.Animator$1.run(Animator.java:104)
       at java.lang.Thread.run(Thread.java:534)
---------------------------------------------------------------------------

I'm putting all the files in the current-directory to isolate the problem:
Files: (ls -l):
----------------------------------------------------------------------------
total 6024
-rwxr--r--    1 tw       hs        4157116 Sep  5 20:09 jogl-demos-data.jar
-rwxr--r--    1 tw       hs         136125 Sep  5 20:09 jogl-demos-util.jar
-rwxr--r--    1 tw       hs         129162 Sep  5 20:12 jogl-demos.jar
-rwxr--r--    1 tw       hs         567492 Oct 15 11:48 jogl.jar
-rwxr--r--    1 tw       hs        1091542 Oct 15 11:48 libjogl.so
-rwxr--r--    1 tw       hs          49368 Oct 15 11:48 libjogl_cg.so
------------------------------------------------------------------------------

And starting with :
------------------------------------------------------------------------------
java -Djava.library.path=. -Dsun.java2d.noddraw=true  -classpath jogl-demos.jar:jogl-demos-util.jar:jogl-demos-data.jar:jogl.jar demos.gears.Gears
------------------------------------------------------------------------------

My java-version is sun-jdk 1.4.2_01-b06 (also tryed with blackdown...)

Output of xdpyinfo (head...):
-------------------------------------------------------------------------------
name of display:    :0.0
version number:    11.0
vendor string:    Gentoo Linux (XFree86 4.3.0, revision r2)
vendor release number:    40300000
XFree86 version: 4.3.0
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
   depth 1, bits_per_pixel 1, scanline_pad 32
   depth 4, bits_per_pixel 8, scanline_pad 32
   depth 8, bits_per_pixel 8, scanline_pad 32
   depth 15, bits_per_pixel 16, scanline_pad 32
   depth 16, bits_per_pixel 16, scanline_pad 32
   depth 24, bits_per_pixel 32, scanline_pad 32
   depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x3200009, revert to PointerRoot
number of extensions:    30
   BIG-REQUESTS
   DOUBLE-BUFFER
   DPMS
   Extended-Visual-Information
   FontCache
   GLX
   LBX
   MIT-SCREEN-SAVER
   MIT-SHM
   MIT-SUNDRY-NONSTANDARD
   NV-CONTROL
   NV-GLX
   NVIDIA-GLX
   RANDR
   RENDER
   SECURITY
   SHAPE
   SYNC
   TOG-CUP
   X-Resource
   XC-APPGROUP
   XC-MISC
   XFree86-Bigfont
   XFree86-Misc
   XFree86-VidModeExtension
   XInputExtension
   XKEYBOARD
   XTEST
   XVideo
   XVideo-MotionCompensation
default screen number:    0
number of screens:    1

screen #0:
 dimensions:    1280x1024 pixels (433x347 millimeters)
 resolution:    75x75 dots per inch
 depths (7):    16, 1, 4, 8, 15, 24, 32
 root window id:    0x93
 depth of root window:    16 planes
 number of colormaps:    minimum 1, maximum 1
 default colormap:    0x20
 default number of colormap cells:    64
 preallocated pixels:    black 0, white 65535
 options:    backing-store NO, save-unders NO
 largest cursor:    64x64
 current input event mask:    0xd84031
   KeyPressMask             EnterWindowMask          LeaveWindowMask          
   KeymapStateMask          SubstructureNotifyMask   SubstructureRedirectMask
   PropertyChangeMask       ColormapChangeMask      
 number of visuals:    20
 default visual id:  0x21
 visual:
   visual id:    0x21
   class:    TrueColor
   depth:    16 planes
----------------------------------------------------------------------

My grafik-card is:
----------------------------------------------------------------------
01:00.0 VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600] (rev a1)
-----------------------------------------------------------------------

My nvidia-openGL-driver is (/usr/bin/nvidia-installer --driver-info)
-------------------------------------------------------------------------
The currently installed driver is: 'NVIDIA Accelerated Graphics Driver for Linux-x86' (version: 1.0-4496).
-------------------------------------------------------------------------

Other openGL native applications are working... (BillardGL,celestia...)

Any idea whats wrong Huh

Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

PocketCrafter7 (14 views)
2014-11-28 16:25:35

PocketCrafter7 (10 views)
2014-11-28 16:25:09

PocketCrafter7 (11 views)
2014-11-28 16:24:29

toopeicgaming1999 (76 views)
2014-11-26 15:22:04

toopeicgaming1999 (67 views)
2014-11-26 15:20:36

toopeicgaming1999 (17 views)
2014-11-26 15:20:08

SHC (30 views)
2014-11-25 12:00:59

SHC (28 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (28 views)
2014-11-24 19:59:16
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!