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

Pages: [1]
1
Bugs / View Problems with very large objects
« on: November 30, 2011, 12:56:18 pm »
Hi!
I am using JPCT for the visualization of very big objects.
Initially I have tried to create two cylinders with height around 6000000 and radius 3000000.
I get some visualization artifacts, even if I have increased the value for the attribute in setClippingPlanes();




Any ideas?

2
Support / Too many Objects3D and Java heap space
« on: August 26, 2010, 02:16:25 pm »
Hello.
I have several problems with my simulator.
I have to create a large number of 3D objects (about 50000).
when the program runs I receive the following error message:

Code: [Select]
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at com.threed.jpct.Vectors.<init>(Unknown Source)
at com.threed.jpct.Object3D.init(Unknown Source)
at com.threed.jpct.Object3D.<init>(Unknown Source)
at com.threed.jpct.Primitives.createLatheObject(Unknown Source)
at com.threed.jpct.Primitives.getEllipsoid(Unknown Source)
at com.threed.jpct.Primitives.getSphere(Unknown Source)
at com.threed.jpct.Primitives.getSphere(Unknown Source)

The Object3D are spheres. I've tryed to use this configuration parameters:
Code: [Select]
Config.glAvoidTextureCopies = true;
Config.saveMemory=true;
Config.maxPolysVisible = 512000;  
Config.useMultipleThreads=true;

I tryed to reduce the number of Objs to 500, but I receive the same error message.
Then, if I set Config.maxPolysVisible = 128000;   (instead of 512000), the program runs, but I receive the WARNING: You've exceeded the configured triangle limit for the visibility list. Consider adjusting Config.maxPolysVisible!

In any case there is no way to get it working with 50000 objects...

Any ideas?
Thanks.

3
Support / Camera zoom and disappearing objects!
« on: August 04, 2010, 12:39:21 pm »
Hi!
I'm trying to draw some spherical objects with a radius=100.
I've positionated a camera in front of one sphere and I would zoom out for view more objects, but It don't works as I would. The original sphere gradually disappears. It seem that at some point all object at that distance are cut by a plane...
I must configure the camera, the world or the buffer in some way?






4
Support / Object disappearing... too many objects??
« on: June 22, 2010, 06:14:52 pm »
I must to create many objects in my simulation.
I have tryed to create over than 50 spheres adjacent on the 3 axis (x,y,z).
Many Objects disappear on camera's movement and most of them is not visualized at all. Moving the camera, some appear and other disappear. Are there any limits on the visualizable objects?

Pages: [1]