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 ... 823
31
News / Re: Maintainability
« on: November 08, 2022, 12:20:06 pm »
The library is still maintained, but no new major features will be added to it in the foreseeable future. Therefor, releases contain mainly bug fixes and after all these years, there aren't many bugs to fix anymore. That's the update frequency decreased.

32
News / Forum upgraded to 2.0.19
« on: September 09, 2022, 01:49:45 pm »
Because...why not!?

33
Support / Re: 3Dto2D
« on: August 09, 2022, 08:57:24 am »
Sorry for not replying sooner, I was on holiday. But then again, I don't have much to add to what AeroShark333 already said. It highly depends on your application how to obtain the point in 3D.

34
Support / Re: How to add more texture maps to obj
« on: June 09, 2022, 08:02:35 am »
That looks a bit dark and actually as if it exploded somewhat. While loading, the Loader reports polygons with more than 4 points. The Loader doesn't support these and while this isn't the reason for texturing issues, it might be the reason for the destroyed look. Can you export the mesh with 3-4 points per polygon instead?

35
Support / Re: How to add more texture maps to obj
« on: June 08, 2022, 09:21:16 am »
Ok, but how does the rest look like? Blank? Textured with that one texture? Not present at all? A screen shot might be really helpful.

36
Support / Re: How to add more texture maps to obj
« on: June 07, 2022, 05:06:57 pm »
Oh, and please wrap larger chunks of text or code into code-Tags (the # in the forum's editor). I did that for your former posts.

37
Support / Re: How to add more texture maps to obj
« on: June 07, 2022, 05:05:47 pm »
I had brief try on loading (but not rendering) the object and I can't see anything wrong with it. This is an excerpt  from the log output:

Code: [Select]
2022-06-07 16:56:12.146 6204-6234/com.example.androidtestcase I/jPCT-AE: Text file from InputStream loaded...2796 bytes
2022-06-07 16:56:12.147 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material FrontColor!
2022-06-07 16:56:12.147 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material Color_E04!
2022-06-07 16:56:12.147 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material Color_E03!
2022-06-07 16:56:12.147 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material Color_007!
2022-06-07 16:56:12.147 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material Carpet_Loop_Pattern!
2022-06-07 16:56:12.147 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material _Wood__Floor_2!
2022-06-07 16:56:12.148 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material Stone_Pavers_Flagstone_Gray!
2022-06-07 16:56:12.148 6204-6234/com.example.androidtestcase I/jPCT-AE: Texture named 02/Stone_Pavers_Flagstone_Gray.jpg added to TextureManager!
2022-06-07 16:56:12.148 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material Wood__Floor!
2022-06-07 16:56:12.148 6204-6234/com.example.androidtestcase I/jPCT-AE: Texture named 02/Wood__Floor.jpg added to TextureManager!
2022-06-07 16:56:12.148 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material Stone_Coursed_Rough!
2022-06-07 16:56:12.148 6204-6234/com.example.androidtestcase I/jPCT-AE: Texture named 02/Stone_Coursed_Rough.jpg added to TextureManager!
2022-06-07 16:56:12.148 6204-6234/com.example.androidtestcase I/jPCT-AE: Processing new material Groundcover_RiverRock_4inch!

Prior to loading the model, I assigned two textures to the manager:

Code: [Select]
TextureManager.getInstance().addTexture("02/Carpet_Loop_Pattern.jpg", texture);
TextureManager.getInstance().addTexture("02/_Wood__Floor_2.jpg", texture2);

Note that these textures don't show up in the log, only the ones that have no matching names in the TextureManager do. As all working as expected.

I'm not sure, what your actual issue is...you loaded the textures and the model but the textures don't show on the model? If that's the case, maybe you can post a screen shot of how the model looks instead?

38
Support / Re: How to add more texture maps to obj
« on: June 05, 2022, 04:02:00 pm »
Can't you upload it to some file host? Or just mail a zipped version to info@jpct.net

39
Support / Re: How to add more texture maps to obj
« on: June 04, 2022, 07:00:18 pm »
Are these materials really used in the obj file? Maybe the export went wrong?

40
Support / Re: How to add more texture maps to obj
« on: June 04, 2022, 06:30:54 pm »
That looks a bit strange....I expected some texture names to appear in the log. Can you upload the file so that I can have a look at it (next week...)?

41
Support / Re: How to add more texture maps to obj
« on: June 04, 2022, 05:40:26 pm »
It should work that way. Have a look at the log output when loading the file. You should get log messages if a texture name can't be found and you should be able to see what exactly these names are.

42
Support / Re: is it possible to make JPCT work with Cesium?
« on: April 06, 2022, 07:20:57 am »
What are they actually providing? 3D meshes of earth tiles? In that case, it should be doable...I guess...

43
Projects / OpenRoad
« on: April 01, 2022, 02:54:26 pm »
After playing some racing games on my old computers (Amiga, C64...), I felt the urge to try something like that for myself on a more modern platform but with a retro look. I wanted to code something that at least generates a road and moves a car. I'm not sure, if this is going anywhere...if it is, it'll be some Android game...but I'm still undecided, if I really want to do that.

Anyway, it's basically code that generates road tiles based on an RNG and then warps, rotates and translates them to form a continuous road. The tiles get enabled/disabled based on the player's position, so that in total, not more than 30 tiles are being processed for each frame. So even if it looks like a single 3d mesh, it actually isn't.

Then it places a car sprite (ripped from Outrun), plays some music (also ripped from Outrun...) and moves along.

Here's a video (with german descriptions, but anyway): https://youtu.be/tAsdOGt0i28

Edit: It's using the software renderer for now, hence the shimmering.

44
Support / Re: About jpct-ae loading Problems with FBX format files
« on: March 30, 2022, 09:47:25 am »
The is no such thing. jPCT(-AE) basically loads OBJ, 3DS and MD2. If you want use FBX, you either have to convert it (for example into OBJ) first or write your own loader.

45
Projects / Re: Pyramid Checkers
« on: March 11, 2022, 01:38:01 pm »
I am against war!!!
Who isn't? Well, expect for a few idiots, I suppose. I don't I see the point in the current "distancing game" from everything russian just because the russian leader does crazy things causing tremendous suffering for no good reason. My neighbors are from russia. What am I supposed to do now? Not like them anymore? They haven't changed, only the world around us has...sadly.
Just recently, I've read my grandfather's war diary from WW2. He was in ukraine and russia trying (more or less fruitless) to conquer oil wells for nazi germany. He didn't want to be there, he was a teacher...Hitler wanted him to be there.
This isn't a politcal forum, it's all about 3D, software and basically having fun with that stuff. Everybody is welcome here. Well, except for these chinese guys who constantly are trying to post links to escort services.
Let's hope that there will be an end to all of this more sooner than later.

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