Forum Replies Created
-
AuthorPosts
-
omrtoParticipant
Thanks to Xeon I was able to put together a working app for my company’s needs. He showed me how shape keys work with morph targets driven by HTML inputs. I took his example and ran with it. I believe he is planning on creating a tutorial at some point, so keep an eye on his website if you’re interested. If I find time I might do the same.
omrtoParticipantDidn’t you notice that the tutorial is for Blender’s Cycles?
Instead of those planes (emissive and reflective) use rect area lights. And work in Eevee only.
I did notice, but as you can probably tell, I didn’t know that cycles cannot be used for gltf. I’m a complete noob to all of this. Since the lighting technique I asked about is not possible I’ll stick to more traditional ways.
To exclude plane from exporting, just put them in external collection and exclude it using this form in Verge3D settings.
All other tricks with light source will not work in the engine because all them made using cicles.
Thanks for the tips!
omrtoParticipantThat works well enough, although I had to really jump through hoops figuring out the scaling because it doesn’t match up with the model’s calculated units. After some effort I was able to get it to work with a little “guess”timated math.
omrtoParticipantCan you give more examples what you mean.
Take this video as an example:
He has set up 3 planes, one as a base for the model to sit on, one as an emission light source and another as a reflector. It would be nice if I could have these in the scene creating the lighting, but not be visible in the gltf when exported. It is possible to render in Blender without showing these objects, but I don’t know if there’s a way to do that in a gltf export. Also, I have not been able to get emission planes to work as light sources in my gltf, only actual lights. See the following example:
- This reply was modified 1 year ago by omrto.
omrtoParticipantHi omrto,
You can use this puzzle every time you change the size of your object.
Does this work with objects that have been modified by shape keys/morph factors? I tried the puzzle you posted above but it zooms to the base shape key only. It doesn’t zoom out when changing the length of my model.
omrtoParticipantUnless I’m missing something, this link doesn’t work. I get only the following:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
AccessDenied
<Message>Access Denied</Message>
<RequestId>MQPKGG9K73YQZEZB</RequestId>
<HostId>bJITkuHMsCDo0ZBifzCkCPEOzLKzoV6khwHI23o7mVb5HwZS8YsHFfjBPkjGbiXMz115giuO+QY=</HostId>
</Error>I’m trying to learn how to do advanced parametric apps with Verge3D but I’ve not found any examples that are in-depth enough to really help. Are you willing to share your app and code?
omrtoParticipantAwesome! Thank you! That worked a treat.
omrtoParticipantOK, I got it to partially work. It’s only working on page load, so I need to figure out how to get it to change when the checkbox changes. Basically, I think I need to add an event listener?
omrtoParticipantHere is a screenshot of one of my attempts to change the spinner model using a checkbox in WooCommerce. The page where the product is at is https://dev.omrto.com/product/spinner/
It’s not working for me, even if I check “in parent doc.” The puzzle to the right is what I added. I’ve tried it also by adding a X = X comparison under Logic to check the value of the field, be it property = “checked” or value = “20”, but that didn’t work either.
I was reading this part of the documentation to try and understand how to do this, but I think I need a more detailed example.
https://www.soft8soft.com/docs/manual/en/puzzles/HTML.html#get_property
and
https://www.soft8soft.com/docs/manual/en/puzzles/HTML.html#query_selectorAttachments:
You must be logged in to view attached files.omrtoParticipantOK great! Would it be possible for you to provide me an example of interacting with form elements like checkboxes and dropdowns to change elements of a 3D model? Or are there any good apps available I can download to study the puzzles? All the examples I have found only use simple buttons, but I need to be able to know if a checkbox is checked or what is selected in a dropdown in an external page to make changes to my 3D model. I’m a little familiar with JavaScript but not an expert. Thank you in advance for any help you can give.
omrtoParticipant—
-
AuthorPosts