Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (711)
Games in Android Showcase (213)
games submitted by our members
Games in WIP (785)
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: SpotLight on: 2005-05-22 23:14:02
Lately, I 've had no time to focus on this, but I'll be very grateful if you, Schabby, or anyone could check the code and tell me what I'm doing wrong.

there you can find the source and some necesary files to run the app.

thanks Smiley
2  Java Game APIs & Engines / Xith3D Forums / Re: SpotLight on: 2005-05-09 19:46:56
Thanks a lot Cheesy

Edit: Nope I can't get this to work

the direction vector shouldn't have any negative components?

Is the SpotLight fully implemented on xith?

And what about this? :

I saw that on Xith3DSphereMotionLightingTest
'Removing' these lines causes to Directionalight the effect mentioned in the FAQ, and the SpotLight doesn't appears anymore

I'm confused  Tongue
3  Java Game APIs & Engines / Xith3D Forums / SpotLight on: 2005-05-09 01:14:30
Hi there  Tongue

By far, I have not understood how the location's Point3f and the direction's vector3f works.
I want some spotlight lighting a tennis court.

I've tested the following: (basically is an spotlight located at one corner of the court pointing to the court's center. The court center is located at (0,0,0). The corner is at (18,10,-39) )
lampSpot1 = new SpotLight(new Color3f(1f,1f,1f),new Point3f(18,10,-39),
                                     new Point3f(1,0,0),new Vector3f(0,0,0),
                                     90.0f * (float) Math.PI / 180.0f, 1.0f);

But the light doesn't appear.
playing with the direction vector produces several effect,s sometimes the lights appear butn in some strange directions, etc.

So, I need some advice on how the spotlight works, maybe any tutorial or white paper i dunno  Tongue

Bwt, I searched many times here in the forum but I found nothing related to my stuff. Also, the Java3D tutorial doesn't give me anything useful Shocked

Tnahks in advance
4  Java Game APIs & Engines / Xith3D Forums / Re: Xith3d newbie...(textures related) on: 2005-04-18 21:37:46
yep, the court lines are not part of the texture.

So, if I want lines changing its width as the camera moves, I need to put them as a texture, rigth?
5  Java Game APIs & Engines / Xith3D Forums / Xith3d newbie...(textures related) on: 2005-04-18 02:21:52
Hi all, this is my very first post  Cheesy
I'm just a newbie, and I need some advice Grin

Well, I'm making a tennis game, by now, I only got the 'court':
a rectangle with a grass texture, and the court lines 'painted' over it.

The problem is that the court lines (actually, they're only a LineArray) doesn't change its width when the 'camera' gets closer or farer (using Transform3D.lookAt(...)) ...and that  is not very esthetic i think Tongue

So I don't know if i should make an image of the court lines and then put it over the grass texture, or maybe something else...
(by the way, I've read the tutorial about textures, I have no problem with that Tongue)

thanks in advance
Pages: [1]
numerical (149 views)
2017-02-21 07:32:16

numerical (149 views)
2017-02-21 07:31:46

theagentd (256 views)
2017-02-18 13:42:33

theagentd (258 views)
2017-02-18 13:35:16

h.pernpeintner (1422 views)
2017-01-24 22:39:11

h.pernpeintner (1410 views)
2017-01-24 22:38:32

Galdo (1973 views)
2017-01-12 13:44:09

Archive (2032 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2570 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2328 views)
2016-12-15 21:50:57
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 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‑
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!