Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
thank you both .
22
From my own experience:

Pro's shaders:
Shaders are fastest

Con's shaders:
Shaders can produce inconsistent results on different devices
Writing shaders for animations is more complex than creating Java animations
23
Support / Re: performance comparison - Animation , VertexController , shader ?
« Last post by EgonOlsen on July 12, 2020, 12:31:50 pm »
Shaders are certainly the fastest, but in a lot of cases, Animation should be good enough. Personally, I never did complex animations using a shader. I only used them for simple stuff like foliage moving in the wind. The IVertexController should be similar to Animations but the code tweaking the vertices is less efficient than the animation code in most cases, because it has a slightly higher level of abstraction.
24
Bones / Re: BonesIO Question
« Last post by AGP on July 11, 2020, 12:19:21 am »
This is not that old, much more ambitious project, by the way. I came very close to exporting a fully-ready, animated and textured, JSON-serialized model right out of both Max and Blender. This is just so I can get Bones out of Java. But I suspect that if you answer at all it will be with, "I don't know."
25
Bones / Re: BonesIO Question
« Last post by AGP on July 10, 2020, 08:36:30 pm »
That's right. The question was: how? When I'm doing the same thing with JSON, I'm getting identical copies of the skeleton (the model loads but no animation will work).
26
Bones / Re: BonesIO Question
« Last post by raft on July 10, 2020, 07:36:31 pm »
not sure what's asked here, but loaded SkinClips and SkinClipSequences share the same Skeleton instance.
27
Bones / BonesIO Question
« Last post by AGP on July 10, 2020, 06:56:38 am »
How is it that when you load your SkinClipSequences from a bones file instead of each SkinClip having identical Skeletons they each share the same instance of a Skeleton?
28
Support / performance comparison - Animation , VertexController , shader ?
« Last post by MichaelJPCT on July 08, 2020, 09:23:34 pm »
Hi Egon,
when i want to move some vertices of an object, the 1st method that comes to mind is using a shader.
but sometimes i dont like to write a new shader.
Animation and IVertexController seem to be my options.
but i worry about the performance.
among the 3 methods, is shader potentially the fastest one?
assuming:
the movements are simple maths.
i need to deform the object in every frame.
the quantity of moving vertices is below 100.
29
Thanks got it working!
30
Support / Re: relationship between Object3D and Light
« Last post by MichaelJPCT on June 05, 2020, 08:28:02 am »
it's good enough as long as the user can write clear code to manage it.
thanks.
Pages: 1 2 [3] 4 5 ... 10