Forum Replies Created
-
AuthorPosts
-
scalareCustomer
Thank you, Mikhail. We ended up making all the objects children of an empty and rotating the empty instead, to make sure that they all would rotate based on the same pivot.
scalareCustomerMy pleasure. Verge3D is such a wonderful tool, and you guys have been so incredibly supportive, that I’m glad I can help
The page is live already: https://es.wikipedia.org/wiki/Verge3D
scalareCustomerHello Alexander, I can help you with the Spanish version if no one has offered it before (I’ve been out of the forums for a few days)
Let me know.
Thanks.2019-10-11 at 4:10 pm in reply to: More than one 3D scene on the same HTML page without iframes #20089scalareCustomerThanks, I’ll try and see how that goes.
2019-10-10 at 1:49 pm in reply to: More than one 3D scene on the same HTML page without iframes #20045scalareCustomerNot really. I plan to have several small 3D scenes in the same page, say about 250×250 pixels each. And I want them to react to the mouse movement that won’t necessarily hover over the 3D scenes, so we’re not talking about default camera controls here. I want the objects to rotate SLIGHTLY, following the cursor movement, so I guess I need to create some puzzles that will get the mouse location in every frame, and make the objects rotate in a non-linear calculation. But I guess that is not possible because I cannot have more than one visual logic on the same page, and that is what I would need. Am I right?
2019-10-10 at 11:54 am in reply to: More than one 3D scene on the same HTML page without iframes #20036scalareCustomerHi Yuri,
I’m confused by your answer. Does that mean that we can display different gltf 3d objects on a page, but only one of them will react to the mouse movement, because only one of them can be controlled via puzzles?
The case is that we need about 4 or 5 different objects on the page, that will change their position responsively, something that we cannot do easily by adjusting the objects positions in a single scene, because we need them to match the positions of some HTML background elements (it is much easier to have each object as a separate GLTF and position them absolutely, matching the background automatic resize for the various responsive breakpoints)
Can you please clarify?
scalareCustomerExcellent, thank you!
scalareCustomerThat’s great, Yuri, thank you! How do we have to call them? Any examples? And how do we pass parameters?
scalareCustomerI’d like to second both ideas
scalareCustomerExcellent Yuri, thank you! And thank you, jem. Your suggestion gave us an idea that we will test and see if we can make it work with the rest of what we’ve developed.
scalareCustomerThank you, Yuri! :)
scalareCustomerParameters for the procedures could also be dynamic. So, for example, if a procedure accepts 3 parameters, but another one accepts 5 parameters, we could just pass a list that we setup before the dynamic call.
scalareCustomerYes, of course, but if you have aa long list of procedures that could be needed to call, you end up with a very ugly and long if-elseif block, and if you have to add procedures at some point, you also need to edit the if-elseif block. If you could call the desired procedure by just using a variable name, things would be much easier and clean.
Think of the procedure call puzzle, but where it accepts a text literal, or a variable.scalareCustomerVery interesting! Thank you!
scalareCustomerThanks a lot, Ryan! Unfortunately, I wouldn’t be able to use spray paint on these objects, or even baby powder I’ll take a look at Metashape!
-
AuthorPosts