You are not logged in.

cuongdevjs

Beginner

Posts: 7

Location: Viet Nam

Occupation: JavaScript Engineer

  • Send private message

61

Saturday, May 28th 2022, 4:00am

onclick on model can't be detected

I using the newest verion of threejs and loading .gltf model, it's working normally but event on it can't fire, the do_object_hittest always return null. Does anyone have any idea to fix this? Thank you.

Eze

Beginner

Posts: 13

Location: china

Occupation: software development

  • Send private message

62

Monday, June 13th 2022, 5:29am

[.WebGL-000012B000398E00] GL_INVALID_OPERATION: Insufficient buffer size. Has anyone solved this problem

63

Thursday, June 16th 2022, 11:26am

Good morning we are facing similar issues with three.krpanoplugin and GLTFLoader .

We have the same issue about memory buffer, but also one related to the 3D object.

At first glance, the 3d models are correctly loaded, but if I move all around a scene the 3D objects disappear.
Have you ever experience this issue?
I already tried to change the threejs plugins (https://cdn.jsdelivr.net/npm/three@0.141.0/build/ ), but result does not change.

Any suggestion ?

cuongdevjs

Beginner

Posts: 7

Location: Viet Nam

Occupation: JavaScript Engineer

  • Send private message

64

Thursday, June 23rd 2022, 6:55am

Good morning we are facing similar issues with three.krpanoplugin and GLTFLoader .

We have the same issue about memory buffer, but also one related to the 3D object.

At first glance, the 3d models are correctly loaded, but if I move all around a scene the 3D objects disappear.
Have you ever experience this issue?
I already tried to change the threejs plugins (https://cdn.jsdelivr.net/npm/three@0.141.0/build/ ), but result does not change.

Any suggestion ?
I can't click on model, can you clicked on it?

65

Wednesday, June 29th 2022, 1:25am

Good morning we are facing similar issues with three.krpanoplugin and GLTFLoader .

We have the same issue about memory buffer, but also one related to the 3D object.

At first glance, the 3d models are correctly loaded, but if I move all around a scene the 3D objects disappear.
Have you ever experience this issue?
I already tried to change the threejs plugins (https://cdn.jsdelivr.net/npm/three@0.141.0/build/ ), but result does not change.

Any suggestion ?
I can't click on model, can you clicked on it?
not clickable in vr mode

Eze

Beginner

Posts: 13

Location: china

Occupation: software development

  • Send private message

66

Tuesday, July 5th 2022, 4:14am

I added the model to the normal panorama, but I haven't tried it in the depth scene. Next, I will try to load the model in the project with the depth map.

https://deyou360.com/krpobj/index.html

67

Monday, September 19th 2022, 12:28pm

Hi,



here as example an open source krpano plugin that shows how to use the three.js html5 3d rendering engine inside the krpano html5 viewer. The plugin handles everything about the rendering and interaction between krpano and three.js. This includes also stereo-rendering and WebVR support. For user interaction there is also a mouse and touch interface for the 3d objects. For all details please have a look into the plugin source.



krpano Three.JS integration example:





The krpano plugin source code:

http://krpano.com/plugins/threejs/opensource/threejs_example/three.krpanoplugin.js



Download the example:

krpano_three_js_example.zip (2.5 MB)





The current plugin here is mainly intended for developers with Javascript- and 3d-knowledge. All necessary basics for using three.js should be there and I think by using the krpano 'framework' the cross-platform usage of three.js becomes even easier.



Therefore this plugin is open source at the moment, but there are also plans to advance that plugin even more by adding a xml interface and more features. Then it will be possible to use that plugin to load and control 3d models via easily via the krpano xml/action interface.



Best regards,

Klaus
Thank you so much! I'm newbie. I'm learning how to insert model3d into 360 images. I have a question, hope you all can answer. How to insert a model3d into 360 images with different coordinates ath, atv?

68

Wednesday, September 21st 2022, 5:43am

I added the model to the normal panorama, but I haven't tried it in the depth scene. Next, I will try to load the model in the project with the depth map.

https://deyou360.com/krpobj/index.html
Is it gltf or js model insert into the panorama. How do you do if it's gltf format? It's great thing if you can share!!!!!1 Thank you so much

cuongdevjs

Beginner

Posts: 7

Location: Viet Nam

Occupation: JavaScript Engineer

  • Send private message

69

Saturday, October 1st 2022, 7:30am

I added the model to the normal panorama, but I haven't tried it in the depth scene. Next, I will try to load the model in the project with the depth map.

https://deyou360.com/krpobj/index.html
Is it gltf or js model insert into the panorama. How do you do if it's gltf format? It's great thing if you can share!!!!!1 Thank you so much
use GLTFLoader to load gltf model and same with other formats

Posts: 15

Location: Vienna, Austria

  • Send private message

70

Monday, October 10th 2022, 7:35pm

hi there,
is it possible to use gltf 3d model as depthmap for navigation?

If yes, does it makes any benefits compares to compressed .DEPTH format it term of browser performance and speed to load it?

71

Monday, October 10th 2022, 8:36pm

is it possible to use gltf 3d model as depthmap for navigation?
no, look at the possible input formats:
https://krpano.com/docu/xml/#depthmap.url

This post has been edited 1 times, last edit by "indexofrefraction" (Oct 10th 2022, 8:57pm)


72

Thursday, March 9th 2023, 3:52am

How to load glb model with threejs, anyone have example ?
*thumbup* Woody *thumbup* KEEP MOVING FORWARD *thumbup*

73

Friday, March 10th 2023, 7:36am

2023 and I still have error Screen get black at some spots when turning the pano :(
*thumbup* Woody *thumbup* KEEP MOVING FORWARD *thumbup*

Similar threads