Forum Replies Created
-
AuthorPosts
-
2024-11-21 at 12:36 am in reply to: HtmlMixer Example: Why Moving mixerPlane Affects HTML Element Interaction #78989muhuzhongxunParticipant
Yuanfang, what do you think about it?
2024-11-18 at 12:17 pm in reply to: HtmlMixer Example: Why Moving mixerPlane Affects HTML Element Interaction #78893muhuzhongxunParticipantActually, my scenario is in first-person perspective, and there is a computer at the position where z is 6, with the computer screen simulated using mixerPlane. The issue I’m facing prevents my camera from interacting with the HTML elements within the mixerPlane when the camera is positioned between z = 0 and z = 6. However, moving the camera to the negative z-axis or beyond z = 6 allows for interactions.
I have also encountered this issue in some Three.js demos
2024-11-18 at 12:08 am in reply to: HtmlMixer Example: Why Moving mixerPlane Affects HTML Element Interaction #78849muhuzhongxunParticipantThank you for the reminder! I didn’t realize that the link I shared was not public. I appreciate your help in pointing that out.
- This reply was modified 4 days, 10 hours ago by muhuzhongxun.
2024-11-17 at 11:26 am in reply to: HtmlMixer Example: Why Moving mixerPlane Affects HTML Element Interaction #78847muhuzhongxunParticipantI attempted to access the video link from another computer, and it worked.And I also encounter this problem when moving with puzzles
muhuzhongxunParticipant给iframe的父级div补充position:absolute, z-index:-1即可。
muhuzhongxunParticipantJS can change the outlinning color
let vEdgeColor = app.postprocessing.outlinePass.visibleEdgeColor; let hEdgeColor = app.postprocessing.outlinePass.hiddenEdgeColor; vEdgeColor.x = 1; vEdgeColor.y = 0.216; vEdgeColor.z = 0; vEdgeColor.w = 1; hEdgeColor.x = 0; hEdgeColor.y = 0; hEdgeColor.z = 0; hEdgeColor.w = 1;
muhuzhongxunParticipantFeature Request for Moving Defined Procedures
- This reply was modified 2 months, 1 week ago by muhuzhongxun.
2024-08-29 at 1:46 am in reply to: Feature Request : min / max distance / zoom in First-Person mode #77064muhuzhongxunParticipantWhy not use the Orbit camera
muhuzhongxunParticipantI believe I have identified the cause of the “animation stuttering.” It happened because I repeatedly activated animateParam without using stopParam promptly, mistakenly using stopAnimation instead. Now that I’ve utilized stopParam, the animation plays correctly.
I apologize for any inconvenience. Lastly, I’d like to inquire if the data stored in _pGlob.animTriggers is a bit redundant.
- This reply was modified 3 months ago by muhuzhongxun.
muhuzhongxunParticipantOf course, if I segment the animation and use multiple animationParamFrame with whenFinishDo to replace the DO section of onAnimationFrameDo, I can avoid the issues mentioned earlier. I’m considering doing this.
muhuzhongxunParticipantI will use onAnimationFrameDo to execute certain operations at specific keyframes during animation playback, such as moving the camera, showing or hiding objects, and highlighting items. While these actions can execute normally, I feel there’s some stuttering.
I suspect this might be due to the statement part of the onAnimationFrameDo puzzle being executed multiple times. Given the complexity of my animation, it can print up to 200,000 lines of information within just a few triggers.
Here are two tests I conducted: In the first test, the printed output doubled with each repeated trigger, leading to choppy animation playback. In the second test, I implemented a limit on the execution count, which helped to reduce the issue. However, the core DO portion of the code still triggers many times.
VCR:
https://drive.google.com/file/d/1M1r2OpqDuhRlxqg_Xan8PI60fIMNZAPA/view?usp=sharingYou can reproduce my recorded screen by simply disabling the automatic animation of the official model and using my puzzle instead.
- This reply was modified 3 months ago by muhuzhongxun. Reason: add png
Attachments:
You must be logged in to view attached files.muhuzhongxunParticipantUsing the callProcedure puzzle is much more complex than procedures_callnoreturn. I would prefer to simply cut procedures_defreturn directly in a text editor instead.
muhuzhongxunParticipantPerhaps we could add a context menu option to cut procedures_defreturn, ensuring that the corresponding procedures_callnoreturn remains intact. If there are other challenges involved, I understand and hope this feature can be considered in the future.
muhuzhongxunParticipantHow can I make the mouse pointer be considered at the position of viewhalfX, viewhalfY when initiating pointer lock from any click location? And when exiting pointer lock, how can I display the cursor at the position of viewhalfX, viewhalfY?
-
AuthorPosts