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 - Hrolf

Pages: [1]
1
Support / Z-Ordering problem (solved)
« on: January 04, 2011, 08:43:48 pm »
I seem to be having a problem with the z-ordering in my game. When objects are close together they intermittently overwrite each other even though they are at different distances from the camera. You can see this happening to the soldiers on the tower in this video.
This happens with both software and LWJGL rendering. What might be causing this? How can I prevent it?
Thanks in advance!

2
Support / Transparency fights fog?
« on: September 26, 2009, 08:49:44 pm »
Hi Egon,

These trees render perfectly with fog turned off, but with it on the trees become increasingly transparent depending on the distance of the polys behind them.
Is there a workaround to save my trees from having their heads cut off? I've tried every possible value in setTransparency(), setSortOffset() &c, but to no avail... Can you help?

3
Support / Puzzled by Project3D2D
« on: September 26, 2008, 05:02:51 pm »
I can't work this one out at all...

Code: [Select]
camera.setPosition(new SimpleVector(0,-100,100));
camera.lookAt(new SimpleVector(0,0,0));
world.setCameraTo(camera);
SimpleVector svp=Interact2D.project3D2D(camera,frameBuffer,new SimpleVector(0,0,0));

I expected svp to contain the center of the frameBuffer, but it returns 'null'.
What am I doing wrong?  ???

4
Support / Several hundred characters
« on: December 02, 2007, 02:52:53 am »
I'm thinking about a wargame with lots of agents - several hundred at least - and how to display them. The 3D view would never show more than (approx) 100 agents as you can never see the whole map in 3D. What's the best way to do this? I want 2 armies with 5 different soldier types, so only 10 actual models, but 100s of instances all in potentially different poses (think Age of Empires &c). Is there an optimal way of doing this in jPCT for realtime 3D display?

5
Support / Anti-lights
« on: March 17, 2007, 04:47:40 pm »
Hi Egon,

It would be great to have anti-lights (I can't think of a better name - 'Darks' maybe?) so you could have areas of darkness even though the ambient light level was high.
I'm trying to make a large, well lit area with some dark patches. Currently I'm having to use lots of lights with carefully tuned locations & attenuations. It'd be much easier to set the ambient light level and have 2 or 3 anti-lights... Is it possible for you to put in lights with -ve intensity? Would it be the same code only subtractive?

6
Projects / Bloodridge
« on: February 22, 2007, 04:57:45 am »
Hi Egon & everyone,

Just to let you know about Bloodridge, a jPCT project I've been working on.

I've posted details on http://www.javagaming.org/forums/index.php?topic=15960.0

Cheers,

Simon

Pages: [1]