Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mystara

Pages: 1 [2]
16
Bugs / Light positions?
« on: July 08, 2007, 12:12:39 pm »
Hi,

I think this is a bug...

Light l = new Light(theWorld);
l.setPosition(new SimpleVector(1.0, 2.0, 3.0));
System.out.println(l.getPosition());

Gives output: (0.0,1.0,2.0)
Whereas I would expect: (1.0,2.0,3.0)

Using version 1.14 of JPCT

17
Support / Lighting issue
« on: July 06, 2007, 10:37:15 pm »
Hello,

I'm having a bit of difficulty adding lighting to a simple hollowed out box that I've made.
The 3DS file can be found at: http://alan.alwebwiz.net/basicroom.3ds
and the light I'm trying to add is: theWorld.addLight(new SimpleVector(54, 0, -228), 50, 50, 100);

(For the curious).

The problem I'm having is that in adding this light, two opposite walls of my cube are lit. The other faces remain entirely unlit, which seems rather confusing to me - or is this how it is supposed to behave?

I've also noticed that in setting the ambient lighting to (25,25,25) the above light source turns from a nice blue to a bright white light (although otherwise the ambient lighting seems to behave). Again, this seems a little strange to me. Should the overall environment not get a little lighter, but the light source remain blue?

Any ideas?

18
Support / Tiled texture on an infinitly big plane?
« on: March 26, 2007, 09:13:16 pm »
G'day,
I'm trying to achieve a particular effect, and I'm not sure whether it's possible - and if it is, how it might be done. I'm open to blindingly obvious solutions which make me look like an idiot as well as cunningly clever solutions (although they may beg more questions).

So I have a user controlled camera (forward/backward/left/right) in an empty world. However, I'd like to give the user some kind of visual feedback for the movement of the camera. So for example, that they can see how quickly the camera is moving.
So what I was hoping to do was to apply a black/white tiled texture on to an entire plane (infinitely big in all directions). So no matter how far the camera moves, the user will continue to see the camera is moving.

Possible?

Cheers!

19
Support / 3DS -> XML
« on: March 17, 2007, 06:20:36 pm »
Hello,

Are there any means for converting from a 3DS model to the proprietary XML format used in jpct?

Cheers!

Pages: 1 [2]