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 ... 800
Support / Re: Problem with object position
« on: May 16, 2019, 12:03:49 pm »
Object3D has a static method to create a dummy object. Use one of those, attach it as a parent to all the other objects in question, then rotate the dummy.

Projects / Re: My new game - LW
« on: April 25, 2019, 11:16:55 am »
Looks nice, a lot like chess. But I guess it's not actual or chess, or is it?

Projects / Re: my project - Vehicle Simulation
« on: March 15, 2019, 05:00:29 pm »
The adverts play just fine, but the actual video doesn't. After a lot of spinning an error message pops up that basically says "sorry...". I've tried it with Chrome and Firefox.

Projects / MOVED: Screenshots
« on: March 10, 2019, 03:48:06 pm »

There's no check, because an object without a texture shouldn't happen. If you create a new object, the dummy texture will be assigned. If you assign another one, then it will be that one. The only case in which this can happen is when you call flush() on the TextureManager but are still rendering the object that uses them. And in that case, a crash is just fine to me because you are not supposed to do that. Are you by any chance doing something like this?

Support / Re: Box sides action
« on: March 04, 2019, 12:44:40 pm »

Support / Re: Box sides action
« on: February 25, 2019, 11:16:51 am »
In which space? Object space or world space (i.e. before or after rotations have been applied)?

Support / Re: Box sides action
« on: February 22, 2019, 08:55:27 am »
Just create a dummy Object3D (, place it in the center of your box and assign it as parent object to your planes. Then rotate that object instead of the other individual planes.

Support / Re: Box sides action
« on: February 18, 2019, 08:29:38 am »
I'm not sure what you expect as a result? You'll get a polygon ID, a number. There's no general rule which number represents which polygon. It depends on the object and it might require a little bit or trial and error to find out.

Support / Re: about the strength of specular light
« on: February 15, 2019, 04:08:30 pm »
It's a bit hacky, but you could try to add an implementation to your objects and set the Config values in the beforeRendering implementation. That should actually work...I guess...

Support / Re: about the strength of specular light
« on: February 14, 2019, 03:39:06 pm »
I don't remember that exactly. I guess, because I actually didn't consider this to be important at all. IIRC, it wasn't supported properly on a lot of older devices anyway, so I'm not even sure how well jPCT-AE handles this setting. Maybe we should take a step back: What exactly are you trying to achieve?

Support / Re: Relationship TextureManager with multiple objects
« on: February 13, 2019, 03:20:46 pm »
There are several ways to do this. Your way, a custom shader or, which is what I would try first, changing the texture on the object and not in the manager. That's a cheap operation for single textured objects.

Support / Re: about the strength of specular light
« on: February 13, 2019, 03:16:34 pm »
Yes, it can.

Support / Re: about maxLights in Config
« on: February 13, 2019, 03:14:59 pm »
Just set it to a large number. It doesn't really use much memory.

Support / Re: Box sides action
« on: February 12, 2019, 08:54:28 am »
That actually doesn't matter. The picking works in exactly the same way (see private void relocate() in the example).

Pages: [1] 2 3 ... 800