Forum Replies Created
-
AuthorPosts
-
xeon
CustomerSo you are wanting the camera and environment HDR to not move and the object to move so the reflections move through the object you are rotating. What you may find more efficient is to create a reflection map and animate the UV map do it runs across the object.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.comxeon
CustomerWell…what you are requesting can be done…the question is it something that will really work for you.
You could use the HTML puzzles “get event property” and then use the touches.page and then write your logic around monitoring the x and y positions of your cursor and then rotating the object. However, it seems you are trying to create an HTML menu so would have to have a way of ignoring mouse up and down events when clicking the HTML buttons and other logic to support it.
The other problem you find is that rotating a 3D object can be less performant than moving the camera so depending on your scene, number of triangles, number of objects, redraws, textures sizes…etc. this may be more than some devices can handle but you will have to determine that.
Then there is the general user experience when navigating these sort of webgl demos, people are used to navigating and spinning a camera (they don’t think of it is a camera)….so doing other things (if not an FPS game or game function like) the users will feel a bit lost.
If your goal is to keep the lighting and the background consistent as the object is rotated, there are ways to solve that too.
I have seen another approach too…which is placing a transparent 3d plane in front of the object you want to rotate…making the plane the size of the view port and then assigning the drag rotate to that plane to rotate the object. There are issues with this approach to and I don’t recommend it either.
I do recommend finding a way to use the camera to your advantage.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.comxeon
CustomerThe problem MAY be, the fact that you over wrote the HTML file, thus erasing the following lines from the file:
<!– __V3D_PUZZLES__ – enable Puzzles button in the App Manager –>
<!– __V3D_TEMPLATE__ – template-based file; delete this line to prevent this file from being updated –>You MAY have also deleted a commented line in your project.css that will need to be there as well:
/* __V3D_TEMPLATE__ – template-based file; delete this line to prevent this file from being updated */
There are similar commented lines in other V3D files but I would start with these as they could be overwritten by using webflow and can cause what you are experiencing.
Do not delete this project…the puzzles you created are in the visual_logic.js file and if you have to start a new project to straighten things out you can copy the existing visual_logic.js file and not have to redo your puzzles. Good luck.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.comxeon
CustomerYou have a couple of options. The most direct is the DragRotate puzzle – https://www.soft8soft.com/docs/manual/en/puzzles/Events.html#drag_rotate
This will allow the user to click on the 3D object and rotate that object.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.comxeon
CustomerYou can use the IsPlaying puzzle to check if the audio is still playing back and if not then do some action. You can also attach an isPlaying to a DoWhile loop if needed.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.comxeon
CustomerCan you send a link to one of the projects thats having an issue so we can examine it?
Are you aware that the BSDF shader in 3.5 through 4.2 has changed and if using an older shader from 3.5 and then export it from 4.2 to V3D you will need to update your principle BSDF and other new nodes to make them look they way they used to?Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-11-21 at 4:08 pm in reply to: Identifying/setting coordinates in scene to prevent object entering a certain area? #79009xeon
CustomerBased on this you could use bounding boxes to manage interference.
Try this
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-11-21 at 8:01 am in reply to: Identifying/setting coordinates in scene to prevent object entering a certain area? #78998xeon
CustomerSo the character can move freely and even off the plat form. But just can’t fall through it? Does the character jump?
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-11-21 at 6:10 am in reply to: Identifying/setting coordinates in scene to prevent object entering a certain area? #78994xeon
CustomerOk… just want to clarify. Your character will be limited to a rectangular space it can move across in X and Y and you want to prevent it from basically falling off the platform. The Z-Axis is not an issue correct?
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.comxeon
CustomerGive this a look: https://www.youtube.com/watch?v=Ad8Lz5b1I6A
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-11-20 at 5:10 pm in reply to: Identifying/setting coordinates in scene to prevent object entering a certain area? #78985xeon
CustomerWell at the moment…I am thinking this becomes a math problem and it gets more complicated based on whether the boundary objects are compound curves vs straight edges, 2D or 3D.
An example of straight lines might be the perimeter of a house vs a figure 8 race track.
Is this a single plane that your objects are moving across.. or its it more for your character that may have to move over terrain?
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.comxeon
CustomerMulti screen output can be done using Verge3D but is dependent on how your hardware is configured. If you are configuring your screens in a mural . An example might be a 2×4 grid making a 8K display out of HD displays…in which case you are using a multiplexer to deliver the content across those displays. Or if you are wanting a large screen on one side of the exhibt controlled by a smaller touch panel in a other portion of the room then it too will depend on your hardware configuration. If you are using two independent computers or if its being controlled by one. In these cases it will also depend if your content and app are stored local or on a webserver and how you have delievered the application …. electron app or web app.
You can have multiple canvas in one app that can be adjusted so they are displayed on independent screens. This may be the easiest method since your hardware list is known and will not change in a museum installation. There are other methods and options as well but to limit the amount of programming this may be a fast option.
Before going down the road of creating a museum interactive be your content and app are not needing to be run through their CMS or their web server and get all that worked out prior to developing your app as that will impact the best way to approach the problem.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.comxeon
CustomerVideo games….can it be done…absolutely. I believe you will find users on the forum who have and who may be in then process of creating a video game. From simple sliders to first person shooters…its been done. There are a few on the V3D asset store: Car Racing Game, Farmers Journey, Physics demo (pinball game) and Snow Balls VR. You may want to open up the projects and review how they all work.
Picture in Picture Effect – there is a nice little plugin you might want to try:
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.comxeon
CustomerIn my experience with V3D physics has many use cases. The pinball game if played long enough will uncover some issues with the demo app. I have not dug into it deep enough to determine if its a game engine issue or a demo programming issue. This sort of thing will be up to you the developer to determine if the interaction the physics engine provides is sufficient for your needs. I believe V3D uses the Bullet engine called Ammo.JS. You can find many examples of it being used in Three.JS to get a better idea of what you can do with it in Verge3D.
I think if you go into it with a realistic understanding of how the physics engine works and see how its being used in other demos you might be very pleased.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-11-20 at 4:43 am in reply to: Identifying/setting coordinates in scene to prevent object entering a certain area? #78958xeon
CustomerAre the objects that you are trying to control….
a) dynamic / controlled by physics
b) animated via keyframes and played through the play animation puzzle
c) animated by the animate parameter puzzle
d) animated by JS
e) controlled by the user via drag/move puzzles or other event based movement?
d) and the object is not a camera .. correct?Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com -
AuthorPosts