Forum Replies Created
-
AuthorPosts
-
2021-12-07 at 7:30 am in reply to: Repeat object dynamically for the width & height of an object. #47696mrmacParticipant
I ended up remixing the code from the Dynamic instancing example of the instancedMesh to run as an external JS function to copy the objects, they will all have the same material so this suits my case
Attachments:
You must be logged in to view attached files.2021-12-03 at 7:26 am in reply to: Repeat object dynamically for the width & height of an object. #47541mrmacParticipantWell… this is driving me crazy, seems so simple.
I can create an array and clone a set of objects on X and Y positions. This gives me a single column array and a single row array, but I cant seem to clone an array and have it repeat the object on a new position.
When I clone an array with JSON.stringify/parse, it only seems to show in the console.
I think I need create an empty 2d array / grid matrix that can take varying lengths for the rows and columns.
Then clone and append object to each cell.I think I also should move the object to centre in Blender and clone objects L&R / T&B so they clone centred.
I also need to be able to adjust the X&Y distance between each object.
I’m pretty much at the bottom of Mount Everest at this point.
updated source files:
https://jmp.sh/eNCdKul2021-11-30 at 11:58 am in reply to: Repeat object dynamically for the width & height of an object. #47396mrmacParticipantTry this link
https://jmp.sh/uvdkOyj2021-11-23 at 10:18 pm in reply to: Repeat object dynamically for the width & height of an object. #47180mrmacParticipantHeres the project file .zip
https://jmp.sh/yQc2SyrmrmacParticipantNice work, I found this helpful!
mrmacParticipantI figured it out…
I changed the src paths to “../fonts/[font file name]”
and added .ttf, .otf, .woff, .woff2 resourcesLooks like its using the .woff format type
mrmacParticipantHi Haris
I cant share the actual project so I’ve set up a dummy project thats set up the same way.
Here is a zip of the project
https://jmp.sh/GNt02M6Attachments:
You must be logged in to view attached files.mrmacParticipantCSS
@font-face {
font-family: “fakt-blond”;
src: url(“fonts/FaktPro-Blond.ttf”) format(“ttf”);
font-weight: normal;
font-style: normal;
}body {
font-family: “fakt-blond”, sans-serif;
}*Frustrated emoji
mrmacParticipantIn the “Network” tab of chrome under the font filter there are no font files, so the fonts are not being loaded with any of the methods of tried.
mrmacParticipantThanks Yuri!
mrmacParticipantHi Yuri
Thanks for your response, I’m glad it’s all possible with Verge.
The example looks like its integrated into Shopify, while it runs okay there are some minor delays I noticed.
If the end goal was to produce a quote only, and I integrated Verge3D into a single page Vue.js app, is this going to have greater optimization and load time benefits?
Thank you!
-
AuthorPosts