Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (108)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Background Geometry  (Read 1456 times)
0 Members and 1 Guest are viewing this topic.
Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Posted 2003-11-21 20:57:40 »

Hi
 It's late an i'm tired, so I'm not sure whats going on Smiley. I thought that geometry and image were the two types of background that worked with xith right now?, I'm trying to load a cube into the background geometry of xith, it's two sided and textured, and is 1.4 wide deep and high, (from when it was used in java3d and had to fit inside a 1 unit radius sphere), but i can't see it at all. The loader that loads it works as I can place it in the forground quite happily. I can view it in my ac3d loader and see the inside of it so the two sided flags are workign ok, I just don't seem to be able to use anything in the background geometry wise, any ideas?
 I'm using a version of xith chcked out and built from CVS a few hours ago.

Cheers

Endolf

Offline Yuri Vl. Gushchin

Senior Member




Speak Java!


« Reply #1 - Posted 2003-11-22 12:21:32 »

Quote
I thought that geometry and image were the two types of background that worked with xith right now?


Only geometry should be working, image and color background is not working AFAIK. These two types of BG are top priority for me.

Yuri

Yuri Vl. Gushchin
JProof Group
Offline trz

Junior Newbie




Java games rock!


« Reply #2 - Posted 2003-11-23 07:54:18 »


Hi,
I have the same problem.
I tryed with a textured box (the same code I used with java3d).
The cube is visible when added to the scenegraph, but disappears when added as background.
I'm using a QuadArray without normals

QuadArray qa = new QuadArray(coords.length, GeometryArray.COORDINATES|GeometryArray.TEXTURE_COORDINATE_2);

can this be relevant?

Bye

Lorenzo
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Java Cool Dude

Senior Member




Java forever


« Reply #3 - Posted 2003-11-23 08:06:14 »

Booohooo gimmie background color boohooo Cry
Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #4 - Posted 2003-11-23 19:03:04 »

Hi
 I still can't get my background geoemtry working, has anyone got this working that can provide a code snippet or demo that I can take a peek at?

Cheers

Endolf

Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #5 - Posted 2003-11-23 19:35:36 »

Hi
 Ok, should have tried this earlier, but it seems that background geometry in xith3d isn't mapped onto a 1 unit sphere expanded to infinity like java3d, so you have to scale any background geometry, and know your clipping distance so you  can get it right, unless i'm missing something, but it seems to appear now, not sure yet what happend with other objects as they approach it, ie, do they still only get clipped at back clip distance, or do they disapear once they reach the other side of the geom etc. more investigation required, unless one of the xith team who knows what it really does wants to comment? Cheesy

Cheers

Endolf, who is liking xith more and more, even with it's few issues, which are just because it's new.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

CogWheelz (16 views)
2014-07-30 21:08:39

Riven (22 views)
2014-07-29 18:09:19

Riven (14 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (32 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!