Forum Replies Created
-
AuthorPosts
-
nsxdjxParticipant
The problem has been solved, thank you kdv
nsxdjxParticipantHI KDV:Can you share your puzzle and see where the remove timer has been added。
nsxdjxParticipantHI KDV:Thank you for your patient reply. I have carefully reviewed your puzzle and implemented it in my project, but there is one issue that prevents me from achieving the final goal. If an audio is reloaded and replaced during playback, that is, when the duration changes, the after duration second timer needs to be reset and restarted. However, when the after second timer starts, the variable duration inside will not update or change. This means that the lack of an ended feature has led to a series of new issues and an increase in code volume. My puzzle is as follows
- This reply was modified 4 weeks ago by nsxdjx.
Attachments:
You must be logged in to view attached files.nsxdjxParticipantHI KDV:I have seen your YouTube reply video. Thank you for your reply. My audio path and audio name are both variable concatenation, and the read audio file is also uncertain because it is not one audio, but many. So we cannot load all the audio as you demonstrated, and we need to determine which audio duration it is. If we add the ended feature in the new version, it will simplify many steps and increase the amount of code. My puzzle is as follows:
Attachments:
You must be logged in to view attached files.nsxdjxParticipantHI KDV:Your reply is a pure black background image, I didn’t see the content
nsxdjxParticipantHI KDV:
Using get duration sound is indeed another solution, but it has a drawback that when the audio is not playing, it is impossible to obtain the audio duration in advance. The console prints NaN, but if the audio is played once, it is indeed effective.Please take a look at the puzzle below:Attachments:
You must be logged in to view attached files.nsxdjxParticipantIsPlaying puzzle can check whether the audio is still playing, but it needs to loop continuously to judge, which will consume a lot of resources
nsxdjxParticipantWhen I need to stop the animation event after processing the audio playback, I only see play, pause, stop in the puzzle. Why is there no ended? Can you add corresponding functions?
nsxdjxParticipantI used the official scene “augmented reality” to restore the problem I encountered. I tested the case. There is no problem outputting only one role model to usdz. I only added a box to the official scene. When outputting usdz, there was a problem with outputting box and characters together. Therefore, I analyzed that the gltf 2.0 incompatibility may not exist. It may be that verge3d cannot output multiple objects when outputting usdz.
nsxdjxParticipantSent to your email, thank you
nsxdjxParticipantnsxdjxParticipantnsxdjxParticipantnsxdjxParticipantThanks for the reply from kdv77kdv. I tried to use the scene puzzle. The problem still exists. The usdz cannot be loaded
nsxdjxParticipantThis parent-child connection outputs usdz, which is not available in Maya version? Is it a bug? I use verge3d4.4 for Maya preview version, attached below is blender3 used by 3.9.1 test. I don’t know if there is any problem with my operation of Maya version. Thank you
Attachments:
You must be logged in to view attached files. -
AuthorPosts