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 ... 788
No, not after serialization but maybe before, after loading the model. In some cases, jPCT-AE will optimize away (or add new) faces to an object at load time. But actually, that's very rare and applies to strange models only.

Support / Re: rendered image is mirrored
« on: December 11, 2017, 03:35:42 pm »
That's true, I guess. I've replaced the image in the wiki with your image.

Support / Re: rendered image is mirrored
« on: December 08, 2017, 08:38:15 pm »
Please don't fiddle around with the camera's matrix, there's no need for this. You are simply looking on the scene from behind. Positive Z goes into the screen in jPCT's coordinate system. So your code moves the camera behind the objects and then makes a 180 turn around y caused by the lookAt call. Just move the camera -200 units into z-direction instead and you should be fine.

Support / Re: How can I get a bitmap from fb.getpixel()?
« on: December 04, 2017, 08:22:33 am »
Yes, reading the pixels from GPU memory is a slow process...

Support / Re: Retrieve Model Matrix and scale along a particular Matrix
« on: December 02, 2017, 10:28:41 am »
Out of the box, jPCT doesn't support non-uniform scaling, because of...reasons. However, you can retrieve the rotation matrix and apply a scale to it. The drawback is, that this will modify the normals as well, so it might cause lighting to go off. But depending on the app, that might not even be an issue at all.

Support / Re: How can I get a bitmap from fb.getpixel()?
« on: November 29, 2017, 08:20:22 am »
Can you check the actual array content? Maybe it's all 0 at that stage already from some reason.

Support / Re: Loader.loadOBJ Problem
« on: November 23, 2017, 07:57:25 am »
Can you post the content of the mtl-file? Looks like as if there's no actual material definition in there or it's done in a way that I've never encountered before.

Bugs / Re: macos cannot load native libraries
« on: November 20, 2017, 08:15:03 am »
To be honest, I've no clue about MacOS. Here's a thread that deals with a same error message, with some solution in the last entry:

I'm not sure, if this applies here though. But it has to be something with your jar/native locations, I assume. I've no idea what LWJGL does here, jPCT itself doesn't do anything with native libraries, as it relies on LWJGL to handle that.

Support / Re: OpenGLES 3.0+
« on: November 16, 2017, 04:37:23 pm »
No, not at all.

Support / Re: OpenGLES 3.0+
« on: November 14, 2017, 06:27:49 pm »
You should be able to use the GL 2.0 renderer in a 3.0 context. After all, you create the context, not jPCT-AE. Then again, I'm not sure what it would be worth to do that.

Support / Re: Changing world and all objects
« on: November 09, 2017, 10:09:33 am »
How do I do that ?
Currently I'm making sure I don't render anything, but is that enough or do I have to do something else when I'm adding new objects ?
If it crashes when adding new objects, you are rendering something. Can you simply synchronize both code blocks on the same object?

Support / Re: Animate Camera zoom out
« on: November 08, 2017, 03:01:19 pm »
Not sure what your actual question is? How to set the camera to a point in space?

Support / Re: Changing world and all objects
« on: November 08, 2017, 03:00:25 pm »
You have to stop all jPCT related things (i.e. rendering and processing) while loading. Anything else will cause troubles.

Support / Re: 3D object from 2D drawing
« on: November 08, 2017, 02:59:17 pm »
Yes, as mentioned above, it's certainly possible. But you have triangulate your mesh somehow.

Support / Re: Making a model move by code(user input)
« on: November 07, 2017, 08:58:40 am »
It's better suited in the Bones section then. As you've already opened a thread there, I'll close this one.

Pages: [1] 2 3 ... 788