Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Support / Re: variable shadow bias ?
« Last post by MichaelJPCT on November 06, 2017, 05:37:13 pm »
sorry i can't connect to google server. is it Naroth the RPG game ?
i tested Naroth. in the game the visual range is not large and FOV doesn't change. so in a sense it's like an indoor game.
think of a flight simulation with visual range of 20km and FOV angle range of 1 to 90 degree, the scene in view can be very large(many objects and large terrain area) or very small(need high detail of objects). the 2 extreme situations make things more complicated.
such as shadow mapping, the shadow texture can't be big enough while at the same time detailed enough. so a simple shadow mapping technique doesn't work.
i don't aim for complex graphics, i'm just telling example that some situations are difficult to handle.
42
Support / Re: variable shadow bias ?
« Last post by EgonOlsen on November 06, 2017, 10:50:01 am »
I'll add it.

Quote
i have a feeling that JPCT engine was designed and tested mostly for small scene, like indoor scene.
Not really. Most Android development that I did with it was this: https://play.google.com/store/apps/details?id=com.threed.jpct.games.rpg. And while not being Skyrim, it's still quite open and worldy.
43
Support / Re: variable shadow bias ?
« Last post by MichaelJPCT on November 06, 2017, 05:44:51 am »
Hi thanks. i don't need it, for now.
but this is something that an engine user can't(or very difficult to) get around if the situation is met, while at engine level it is easy(technically speaking) to do.
i wish JPCT engine can handle most situations (some problems can be solved by tricks without too much trouble) , but some features would require much effort from you, those are not what i would ask for , such as ortho camera.
if some features can be easily achieved from engine level, then having them would make JPCT engine better - less limitation, wider use.

i have a feeling that JPCT engine was designed and tested mostly for small scene, like indoor scene. while i mostly do open world scene. so i encounter (or fore-see) some situations that are difficult to solve, shadow bias is an example.
but i like JPCT most, and my main hobby project is made with JPCT (mostly physics simulation , with simple graphics)

44
Support / Re: 3D object from 2D drawing
« Last post by AeroShark333 on November 05, 2017, 01:28:51 pm »
Maybe this can help you experiment a little:
http://www.jpct.net/wiki/index.php?title=Create_a_cube
45
Support / Re: 3D object from 2D drawing
« Last post by dimvolk on November 05, 2017, 01:10:13 pm »
Thanks for answer.
What i need is to create scene/model based on points from 2D touch points.
For example is in 2D , and in 3D get this
46
Support / Re: variable shadow bias ?
« Last post by EgonOlsen on November 02, 2017, 09:43:32 am »
Sorry for the late reply. I can add a setter for the bias, if that's still needed.
47
Support / Re: 3D object from 2D drawing
« Last post by EgonOlsen on November 02, 2017, 09:37:09 am »
No idea. jPCT-AE doesn't prevent you from doing this, but it doesn't offer support for it either. You somehow have to triangulate the 2d drawing and then create an Object3D from it.
48
Support / Re: Loader.loadOBJ Problem
« Last post by EgonOlsen on October 31, 2017, 11:17:32 pm »
mtlFile might be not null, but does the actual file exist? For desktop jPCT, it's best to set the Logger to ON_ERROR_THROW_EXCEPTION, so that it exists early. jPCT-AE already does this, the desktop version just doesn't for compatibility reasons. Maybe that reveals the actual problem.
49
Support / Loader.loadOBJ Problem
« Last post by AGP on October 31, 2017, 08:33:08 pm »
Code: [Select]
System.out.println("\n\n\nWarcraft.loadObject: "+fileName +" Is the mtl null? "+(mtlFile==null));
System.out.println("Is loadOBJ(fileName, mtlFile) null? "+(Loader.loadOBJ(fileName, mtlFile, .5f)==null));

Produces:
Quote
Warcraft.loadObject: buildings\castle_construction0.obj Is the mtl null? false
Exception in thread "main" java.lang.NullPointerException
        at java.util.Hashtable.put(Unknown Source)
        at com.threed.jpct.Loader.loadOBJ(Loader.java:819)
        at com.threed.jpct.Loader.loadOBJ(Loader.java:508)
        at Warcraft.loadObject(Warcraft.java:250)
        at Worker.moveTowardsDest(Character.java:393)
        at Warcraft.loop(Warcraft.java:320)
        at Warcraft.<init>(Warcraft.java:163)
        at Warcraft.main(Warcraft.java:1058)

I've opened the file in Blender and it loads just fine.
50
Support / Re: Fog Of War Transparency With Software
« Last post by EgonOlsen on October 30, 2017, 01:24:41 am »
No, it should be fine. You might even want to increase it, if you run into some accuracy problems.
Pages: 1 ... 3 4 [5] 6 7 ... 10