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.


Messages - EgonOlsen

Pages: 1 2 3 [4] 5 6 ... 792
46
Support / Re: Memory consumption with Config.maxPolysVisible
« on: January 18, 2018, 11:01:17 am »
But each compiled object only consumes as much entries in that list as is has sub-parts, which usually are only a few. I really don't understand why you need such a large list...!?

47
Support / Re: Memory consumption with Config.maxPolysVisible
« on: January 17, 2018, 08:05:00 am »
Still, I don't see why you need such a large list. Not all polygons will be visible at once, or will they?

48
Support / Re: Interact2D
« on: January 17, 2018, 08:03:48 am »
That method assumes the z coordinate to be 1. I don't think that's what you want here. Either set it to the proper value or use the resulting vector as a direction vector and calculate the intersection point with the ground plane in some other way.

49
German corner / Re: Can't deserialize object
« on: January 17, 2018, 07:46:05 am »
No, zip is zip. How large is your file?

50
News / Forum upgraded to 2.0.15
« on: January 16, 2018, 05:29:27 pm »
No text!

51
Support / Re: Memory consumption with Config.maxPolysVisible
« on: January 16, 2018, 05:28:53 pm »
No, but that list actually isn't that expensive. I'm really wondering where all your memory is gone!? Are you using very large textures or something like that.

52
Support / Re: Memory consumption with Config.maxPolysVisible
« on: January 16, 2018, 08:02:19 am »
Then just increase the heap memory, or isn't that an option? Or consider to use compiled objects http://www.jpct.net/wiki/index.php?title=Compiled_objects, which will use much less space in that particular list.

53
Support / Re: Does TextureManager Operate on a Parallel Thread?
« on: January 13, 2018, 12:09:38 am »
It actually can't fail. It's a simple list of names associated with texture instances. addTexture is an extremely simple operation. If you can't assign a texture, chances are that it hasn't been added by your code. You can obtain all the names from the manager. Try to check if it contains the ones that you think it should.

54
Support / Re: Does TextureManager Operate on a Parallel Thread?
« on: January 12, 2018, 05:51:41 pm »
No, it doesn't. There are no threads on jPCT other than the ones used by the software renderer (optional) and the SEAT Renderer. If you add a texture, it's in there when the method returns.

55
Support / Re: rotateMesh Bug
« on: January 11, 2018, 09:58:02 pm »
Well...I can't. strip() strips away stuff that is needed to do it, so...

56
Support / Re: rotateMesh Bug
« on: January 11, 2018, 08:28:22 am »
No, just some memory.

57
Support / Re: rotateMesh Bug
« on: January 10, 2018, 06:05:26 pm »
Just don't call strip() on the object and it should work.

58
Support / Re: rotateMesh Bug
« on: January 10, 2018, 03:36:34 pm »
Most likely because you've stripped the object it's being called on.

59
Bugs / Re: Points are always microscopic in OpenGL 2
« on: January 08, 2018, 08:25:13 pm »
No, that's actually not surprinsing. ES 2.0 cares about lines width, it just has not method to set the point size, because of...reasons. For me, the new jar actually works fine simply be using the method to set the line width and apply it to points. It might be that some driver do this and some don't. Which device are you using? Can you try it on another one with a different GPU?

60
Support / Re: Use 'setExternalID' to show videofile on polygon?
« on: January 08, 2018, 05:20:10 pm »
Not sure...first  of all, the warning output of the driver and such doesn't mean anything. It's a warning so that it shows even if people configure the Logger class to be almost silent.

I've send a PM to raft, who did render some video onto a polygon. Maybe he can help. At first glance, your first approach looked fine to me but then again, I never really did this myself.

Pages: 1 2 3 [4] 5 6 ... 792