Comments (6)
Hi @kalwalt, pleasure is mine.
Yes I added these 2 method in ARnft-threejs
and initialised the this.fontLoader = new FontLoader();
in the constructor.
and create a 3D text and try to add that text into the scene same as red cube in the example.
But it not load correct and if I change the position from center it lost from camera view.
@kalwalt can you please create a simple 3D text example using fontLoader?
from arnft-threejs.
Hey @kalwalt,
Thanks for the help.
I'm able to fix the issue which I was facing.
The problem was I didn't pass the correct font size as per the loaded font, which is the reason my text is not created smoothly.
I will create an addText function and raise PR
from arnft-threejs.
Hi @Mr-Bhardwa7 welcome to @webarkit, I think you modified the ARnft-threejs code or am i wrong? At the moment i haven't an idea on what could cause theses issues, I should try the code but i have no so much time lately...
from arnft-threejs.
@Mr-Bhardwa7 i can add that method getFontLoader inside ARnft-threejs and if i have time maybe add a simple example, but no eta for this.
from arnft-threejs.
I will try to make a simple example based on this my little project https://github.com/kalwalt/kalwaltart.com/blob/master/interactivity/art_is_a_joke/index.html If you take a look at i used with AR.js but the Three.js version was very old, maybe the code has changed but i will see what i can do.
from arnft-threejs.
Hey @kalwalt, Thanks for the help.
I'm able to fix the issue which I was facing. The problem was I didn't pass the correct font size as per the loaded font, which is the reason my text is not created smoothly.
I will create an addText function and raise PR
😌
Ok thank you, PR is welcome! In case send it to the dev
branch.
from arnft-threejs.
Related Issues (18)
- video position and size HOT 2
- GLTF Animation not working HOT 1
- No remove function for added models. HOT 3
- Video/Image always square. Any settings that could support width/height ratio tuning? HOT 2
- Animate a model
- GLTF Animation not working HOT 8
- Toggling multiple gltf models HOT 3
- ARnftThreejs sometimes not start HOT 1
- Implementing a better filtering matrix HOT 1
- WARNING: Multiple instances of Three.js being imported. HOT 4
- Expose planeGeometry for addVideo to support different video ratios HOT 2
- Can I get marker's 3d position data? HOT 1
- ratio gives NaN result
- OBJ + MTL file HOT 1
- addImage - multiple images and different configs doesn't appear to work HOT 2
- Video is black on Android Chrome, iOS Chrome and iOS Safari HOT 24
- Turn off visibility of added 3D model HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arnft-threejs.