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 ... 786
31
Support / Re: Transparency lost after deserialization
« on: August 22, 2017, 08:55:56 pm »
Please re-download and try again...

32
Support / Re: Transparency lost after deserialization
« on: August 22, 2017, 02:11:51 pm »
Oops...I've obviously forgotten to take the parameter into account. I'll fix that later.

33
Support / Re: Transparency lost after deserialization
« on: August 22, 2017, 10:28:36 am »
I'll look into it..

34
Support / Re: Shadows
« on: August 22, 2017, 08:55:32 am »
I've replied to your email yesterday.

35
Support / Re: Transparency lost after deserialization
« on: August 21, 2017, 07:44:51 pm »
Please try these jars:

http://jpct.de/download/beta/jpct.jar
http://jpct.de/download/beta/jpct_ae.jar

They should add support for transparency to the (De-)Serializer as well as a new Texture constructor that leaves the stream open if wanted.

36
Support / Re: Transparency lost after deserialization
« on: August 21, 2017, 02:31:16 pm »
I guess I didn't consider it to be important. I had to make a cut somewhere and transparency didn't make it into the format. I'll look into it. Should be easy to add it.

37
Support / Re: Transparency lost after deserialization
« on: August 21, 2017, 11:59:21 am »
No, that information isn't a part of the serialized data. The idea of the serialized format is to handle the actual data the defines the object, not the attributes of an object.

38
I see your point, but I don't consider this to be a bug. Either way, it's nothing that can be changed now without breaking a lot of existing code. I'll look into it and maybe add a constructor variant that doesn't close the stream.

39
Support / Re: how to lazyload
« on: August 20, 2017, 10:20:41 pm »
No, if you load it...it will be loaded. However, it will be uploaded to the GPU when the first render request for it happens (if you don't preload it).

40
Support / Re: Shadows
« on: August 15, 2017, 07:54:42 am »
I really can't see what's going on in this video...it can still be an accuracy issue due to problems in handling very scretched texture coordinates and it's impossible to tell this from this video...but anyway, the shadow mapping in desktop jPCT is based on the fixed function pipeline. What this pipeline does is, well, fixed and there's no way to change its behaviour.
A test case would be nice though...everything else is wild guessing on my side.

41
Support / Re: how to lazyload
« on: August 14, 2017, 09:50:38 pm »
By loading you mean "loading", i.e. reading the mesh physically from storage? If so, you don't have to do that in the render thread. You can offload it some loading thread and grab the result.

42
Support / Re: Shadows
« on: August 14, 2017, 09:49:07 pm »
I'm not sure what's going on there, because the video compression makes it very difficult to spot the actual problem. At first glance, I would say that this is normal behaviour and caused by the resolution of the shadow map and/or how much it's streched across the surface. It could be an accuracy issue related to the latter, but again...it's hard to tell anything from that video. Do you have a test case for this?

43
Bugs / Re: AWTCanvas not updating when SwingThread is under heavy load.
« on: August 13, 2017, 06:26:54 pm »
You could add an IPaintListener implementation. When used on an AWTGLRenderer, it will be called in the EDT. If that doesn't happen, there's no update being called. If it is, then there's an update but no actual render output.

44
Support / Re: Wall Collision
« on: August 13, 2017, 06:23:52 pm »
I'm not sure what you are doing there. You never seem to use corrected direction vector for anything...

45
Bugs / Re: AWTCanvas not updating when SwingThread is under heavy load.
« on: August 09, 2017, 10:28:33 am »
That's strange, because they should be in the same thread. Have you checked if they actually are? It is possible to work with different EDT's for different components (albeit that's a pain in the a... but some people won't listen...).

Or...maybe the table is sorted in the EDT, i.e. actually blocking it while doing the repaints by itself?

Pages: 1 2 [3] 4 5 ... 786