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.


Topics - MichaelJPCT

Pages: 1 2 [3] 4 5 6
31
Support / to delete an Object3D
« on: October 28, 2018, 09:03:18 am »
Hi Egon, long time no see. i am still using JPCT for my hobby project , and i'm happy with it so far.
now i need to add/delete Object3D , like a lot. i see dispose() of Light , but no such thing of Object3D. does it mean it's safe to just remove it from World and set the field to null and let JVM do garbage collection?
and for other object types, are they all safe if there is no dispose() method?

32
Support / variable shadow bias ?
« on: September 26, 2017, 11:43:16 am »
i think of a situation where a bias set for shadow helper doesn't fit - switching from a large scene to a small scene, etc.
so i wish the bias can be changed.
or i recreate the shadow helper, but will this affect the objects which have been receivers?

33
i want to change some vertices in an object loaded from 3DS or OBJ file, and create another object from these vertex data.
can i do that?

34
Support / question on shadow size
« on: July 16, 2017, 08:28:31 am »
i used Shadowhelper to cast an object onto a wall, and noticed that when light is far away, the shadow was smaller than the object. is it normal? shouldn't the shadow be at least as large as the caster?

35
Support / fog color problem on transparent object
« on: July 06, 2017, 02:50:13 pm »
i have a transparent object with the same fog setting as other opaque objects, but when fog is dense ( close to farclip), the output color is not close to fog color. so the transparent object stands out when viewed far away.
 is there a problem with the blending method?

36
Support / shared VBO ?
« on: June 29, 2017, 09:43:30 am »
say i have several objects which have the same vertex positions and normals and UVs, but the primitives are different. in GL or DX, these objects can use the same VBO.
in JPCT, is it possible?

another question, if in a vertex list, some vertices are not pointed by any primitive, does JPCT remove these vertices?

37
Support / does JPCT-AE support scissor test?
« on: June 28, 2017, 11:56:51 am »
i didn't notice any related method.

38
Support / render order of opaque objects?
« on: June 27, 2017, 10:16:56 am »
if several opaque object3d are added to a world in particular order, can i assume they are rendered in that order?

39
Support / one Light for multiple World?
« on: June 27, 2017, 10:14:28 am »
is it possible to use 1 Light for multiple World? since a Light is just some parameters.

40
Support / about multi-texture, different stages inside an object?
« on: June 24, 2017, 06:38:08 am »
the TextureInfo/PolygonManager method gives me an impression that polygons in an object3D can have different tex stages, such as polygon A has 3 stages while polygon B has 2 stages. is it correct?

41
Support / how to identify the version of the engine jar file
« on: June 14, 2017, 07:23:17 am »
when i have multiple copies of the jar file in different places, i want to know which file is newest or most suitable.
currently i can only check the size or time of the file. but these are both unreliable.

42
Support / shared shader but unshared uniform parameter?
« on: June 05, 2017, 08:31:36 am »
http://www.jpct.net/forum2/index.php/topic,3965.msg27866.html#msg27866

i search the forum and found the above thread and maybe it's the same question as i have.
i hope to use 1 shader instance for multiple objects but their uniform parameters are different.
is the solution in the above thread the only solution?
is it more troublesome than using 1 shader for each object? is it worth the trouble?

43
Support / is result of setboundingbox permanent?
« on: June 05, 2017, 07:31:54 am »
i want to enlarge a bound box as the shader for the object3d enlarges the object.
after i setboundingbox, is there anything in the engine that may reverse the bound box back to the smaller one?
i ask this question because another engine would recalculate the bound box automatically.

44
Support / render same Object3D in multiple worlds?
« on: May 21, 2017, 07:10:31 am »
the doc says Object3d should be added to 1 world only.
i wonder if an Object3d is added to 2 worlds and render them, what will happen, - only for rendering purpose.
1 of the World is used for shadow.
because the Object3d should be isolated in shadow World by my design, so i have to use another World, or i must call setVisibility many times.

45
Support / add/reduce texture stages at runtime?
« on: May 19, 2017, 06:20:06 am »
i have a terrain with 3 tex stages, each with different UV scaling. it was created with textureInfo/polygonManager technique.
i found tex stages affect render speed - the more stages the slower, on a powerVR 544 gpu.
i wonder if i could reduce/add a tex stage(a noise tex in my case) depending on camera distance.
is there a way to do so?

Pages: 1 2 [3] 4 5 6